From c926081a404c9c0b8041264e15a01e96e6b34a8c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 12 Jan 2025 21:12:36 +0000 Subject: [PATCH] [TypeScript] Update auto-generated bindings to LDK 0.1.0 --- ts/bindings.c | 9467 +++++++++++------ ts/bindings.c.body | 9467 +++++++++++------ ts/bindings.mts | 7631 ++++++++----- ts/index.mts | 130 +- ts/structs/APIError.mts | 128 +- ts/structs/AcceptChannel.mts | 130 +- ts/structs/AcceptChannelV2.mts | 134 +- ts/structs/Amount.mts | 130 +- ts/structs/AnchorDescriptor.mts | 130 +- ts/structs/AnnouncementSignatures.mts | 130 +- ts/structs/AsyncPaymentsContext.mts | 841 ++ ts/structs/AsyncPaymentsMessage.mts | 130 +- ts/structs/AsyncPaymentsMessageHandler.mts | 152 +- ts/structs/Balance.mts | 130 +- ts/structs/Bech32Error.mts | 130 +- ts/structs/BestBlock.mts | 130 +- ts/structs/BigEndianScalar.mts | 130 +- ts/structs/BigSize.mts | 130 +- ts/structs/BlindedForward.mts | 130 +- ts/structs/BlindedHop.mts | 130 +- ts/structs/BlindedHopFeatures.mts | 128 +- ts/structs/BlindedMessagePath.mts | 130 +- ts/structs/BlindedPathCandidate.mts | 130 +- ts/structs/BlindedPayInfo.mts | 130 +- ts/structs/BlindedPaymentPath.mts | 128 +- ts/structs/BlindedTail.mts | 130 +- ts/structs/Bolt11Invoice.mts | 128 +- ts/structs/Bolt11InvoiceDescription.mts | 836 ++ ts/structs/Bolt11InvoiceFeatures.mts | 128 +- ...ailure.mts => Bolt11InvoiceParameters.mts} | 371 +- ts/structs/Bolt11InvoiceSignature.mts | 130 +- ts/structs/Bolt11ParseError.mts | 505 +- ts/structs/Bolt12Invoice.mts | 186 +- ts/structs/Bolt12InvoiceFeatures.mts | 158 +- ts/structs/Bolt12OfferContext.mts | 130 +- ts/structs/Bolt12ParseError.mts | 130 +- ts/structs/Bolt12PaymentError.mts | 128 +- ts/structs/Bolt12RefundContext.mts | 130 +- ts/structs/BroadcasterInterface.mts | 130 +- ts/structs/BuiltCommitmentTransaction.mts | 130 +- ts/structs/BumpTransactionEvent.mts | 130 +- ts/structs/BumpTransactionEventHandler.mts | 130 +- ts/structs/CandidateRouteHop.mts | 130 +- ts/structs/ChainMonitor.mts | 130 +- ts/structs/ChainParameters.mts | 130 +- ts/structs/ChangeDestinationSource.mts | 130 +- ts/structs/ChannelAnnouncement.mts | 130 +- ts/structs/ChannelConfig.mts | 130 +- ts/structs/ChannelConfigUpdate.mts | 130 +- ts/structs/ChannelCounterparty.mts | 130 +- ts/structs/ChannelDerivationParameters.mts | 130 +- ts/structs/ChannelDetails.mts | 179 +- ts/structs/ChannelFeatures.mts | 128 +- ts/structs/ChannelHandshakeConfig.mts | 130 +- ts/structs/ChannelHandshakeLimits.mts | 130 +- ts/structs/ChannelId.mts | 139 +- ts/structs/ChannelInfo.mts | 130 +- ts/structs/ChannelManager.mts | 402 +- ts/structs/ChannelManagerReadArgs.mts | 164 +- ts/structs/ChannelMessageHandler.mts | 153 +- ts/structs/ChannelMonitor.mts | 157 +- ts/structs/ChannelMonitorUpdate.mts | 146 +- ts/structs/ChannelParameters.mts | 130 +- ts/structs/ChannelPublicKeys.mts | 130 +- ts/structs/ChannelReady.mts | 130 +- ts/structs/ChannelReestablish.mts | 130 +- ts/structs/ChannelSigner.mts | 183 +- ts/structs/ChannelTransactionParameters.mts | 130 +- ts/structs/ChannelTypeFeatures.mts | 128 +- ts/structs/ChannelUpdate.mts | 130 +- ts/structs/ChannelUpdateInfo.mts | 130 +- ts/structs/ChannelUsage.mts | 130 +- ts/structs/ClaimedHTLC.mts | 130 +- ts/structs/ClosingSigned.mts | 130 +- ts/structs/ClosingSignedFeeRange.mts | 130 +- ts/structs/ClosingTransaction.mts | 130 +- ts/structs/ClosureReason.mts | 130 +- ts/structs/CoinSelection.mts | 130 +- ts/structs/CoinSelectionSource.mts | 130 +- ts/structs/CommitmentSigned.mts | 130 +- ts/structs/CommitmentSignedBatch.mts | 130 +- ts/structs/CommitmentTransaction.mts | 130 +- ts/structs/CommitmentUpdate.mts | 130 +- ts/structs/CommonAcceptChannelFields.mts | 133 +- ts/structs/CommonBase.mts | 130 +- ts/structs/CommonOpenChannelFields.mts | 133 +- ts/structs/Confirm.mts | 130 +- ...unterpartyChannelTransactionParameters.mts | 130 +- ts/structs/CounterpartyCommitmentSecrets.mts | 130 +- ts/structs/CounterpartyForwardingInfo.mts | 130 +- ts/structs/CustomMessageHandler.mts | 130 +- ts/structs/CustomMessageReader.mts | 130 +- ts/structs/CustomOnionMessageHandler.mts | 130 +- ts/structs/DNSResolverContext.mts | 840 ++ ts/structs/DNSResolverMessage.mts | 864 ++ ts/structs/DNSResolverMessageHandler.mts | 884 ++ ts/structs/DNSSECProof.mts | 808 ++ ...nownPaymentContext.mts => DNSSECQuery.mts} | 174 +- ts/structs/DecodeError.mts | 130 +- ts/structs/DefaultMessageRouter.mts | 130 +- ts/structs/DefaultRouter.mts | 147 +- ts/structs/DelayedPaymentBasepoint.mts | 130 +- ts/structs/DelayedPaymentKey.mts | 130 +- ts/structs/DelayedPaymentOutputDescriptor.mts | 130 +- ts/structs/Description.mts | 140 +- ts/structs/Destination.mts | 128 +- ts/structs/DirectedChannelInfo.mts | 130 +- .../DirectedChannelTransactionParameters.mts | 130 +- ts/structs/EcdsaChannelSigner.mts | 255 +- ts/structs/EffectiveCapacity.mts | 130 +- ts/structs/EmptyNodeIdLookUp.mts | 130 +- ts/structs/EntropySource.mts | 130 +- ts/structs/ErroneousField.mts | 130 +- ts/structs/ErrorAction.mts | 130 +- ts/structs/ErrorMessage.mts | 130 +- ts/structs/ErroringMessageHandler.mts | 130 +- ts/structs/Event.mts | 230 +- ts/structs/EventHandler.mts | 130 +- ts/structs/EventsProvider.mts | 130 +- ts/structs/ExpandedKey.mts | 167 +- ts/structs/ExpiryTime.mts | 130 +- ts/structs/FailureCode.mts | 130 +- ts/structs/Fallback.mts | 130 +- ts/structs/FeeEstimator.mts | 130 +- ts/structs/Filter.mts | 130 +- ts/structs/FinalOnionHopData.mts | 141 +- ts/structs/FirstHopCandidate.mts | 130 +- ts/structs/FixedPenaltyScorer.mts | 130 +- ts/structs/ForwardTlvs.mts | 130 +- ...tChannelIdCVec_MonitorEventZPublicKeyZ.mts | 130 +- ts/structs/FundingCreated.mts | 130 +- ts/structs/FundingInfo.mts | 130 +- ts/structs/FundingSigned.mts | 130 +- ts/structs/Future.mts | 130 +- ts/structs/FutureCallback.mts | 136 +- ts/structs/GossipSync.mts | 130 +- ts/structs/GossipTimestampFilter.mts | 130 +- ts/structs/GraphSyncError.mts | 130 +- ts/structs/HTLCDescriptor.mts | 130 +- ts/structs/HTLCDestination.mts | 130 +- ts/structs/HTLCOutputInCommitment.mts | 130 +- ts/structs/HTLCUpdate.mts | 130 +- ts/structs/HeldHtlcAvailable.mts | 150 +- ts/structs/HolderCommitmentTransaction.mts | 130 +- ts/structs/Hostname.mts | 130 +- ts/structs/HtlcBasepoint.mts | 130 +- ts/structs/HtlcKey.mts | 130 +- ts/structs/HumanReadableName.mts | 852 ++ ts/structs/IgnoringMessageHandler.mts | 141 +- ts/structs/InFlightHtlcs.mts | 130 +- ts/structs/InMemorySigner.mts | 130 +- ts/structs/InboundChannelFunds.mts | 820 ++ ts/structs/InboundHTLCDetails.mts | 130 +- ts/structs/InboundHTLCErr.mts | 130 +- ts/structs/Init.mts | 130 +- ts/structs/InitFeatures.mts | 158 +- ts/structs/Input.mts | 130 +- ts/structs/IntroductionNode.mts | 130 +- ts/structs/InvalidShutdownScript.mts | 130 +- ts/structs/InvoiceError.mts | 130 +- ts/structs/InvoiceRequest.mts | 197 +- ts/structs/InvoiceRequestFeatures.mts | 130 +- ts/structs/InvoiceRequestFields.mts | 164 +- ...tWithDerivedPayerSigningPubkeyBuilder.mts} | 151 +- ...InvoiceWithDerivedSigningPubkeyBuilder.mts | 131 +- ...nvoiceWithExplicitSigningPubkeyBuilder.mts | 134 +- ts/structs/KVStore.mts | 130 +- ts/structs/KeysManager.mts | 130 +- ts/structs/LightningError.mts | 130 +- ts/structs/Listen.mts | 130 +- ts/structs/LockableScore.mts | 130 +- ts/structs/LockedChannelMonitor.mts | 130 +- ts/structs/Logger.mts | 130 +- ts/structs/MaxDustHTLCExposure.mts | 130 +- ts/structs/MessageContext.mts | 176 +- ts/structs/MessageForwardNode.mts | 128 +- ts/structs/MessageHandler.mts | 130 +- ts/structs/MessageRouter.mts | 128 +- ts/structs/MessageSendEvent.mts | 130 +- ts/structs/MessageSendEventsProvider.mts | 130 +- ts/structs/MessageSendInstructions.mts | 128 +- ts/structs/MigratableKVStore.mts | 814 ++ ts/structs/MinFinalCltvExpiryDelta.mts | 130 +- ts/structs/MonitorEvent.mts | 130 +- ...icitPayerIdBuilder.mts => MonitorName.mts} | 228 +- ts/structs/MonitorUpdatingPersister.mts | 130 +- ts/structs/MultiThreadedLockableScore.mts | 130 +- ts/structs/MultiThreadedScoreLockRead.mts | 130 +- ts/structs/MultiThreadedScoreLockWrite.mts | 130 +- ts/structs/NetworkGraph.mts | 139 +- ts/structs/NetworkUpdate.mts | 130 +- ts/structs/NextMessageHop.mts | 130 +- ts/structs/NodeAlias.mts | 130 +- ts/structs/NodeAnnouncement.mts | 130 +- ts/structs/NodeAnnouncementDetails.mts | 130 +- ts/structs/NodeAnnouncementInfo.mts | 130 +- ts/structs/NodeFeatures.mts | 188 +- ts/structs/NodeId.mts | 130 +- ts/structs/NodeIdLookUp.mts | 130 +- ts/structs/NodeInfo.mts | 130 +- ts/structs/NodeSigner.mts | 196 +- ts/structs/Nonce.mts | 132 +- ts/structs/OMNameResolver.mts | 832 ++ ts/structs/Offer.mts | 204 +- ts/structs/OfferFeatures.mts | 130 +- ts/structs/OfferId.mts | 130 +- .../OfferWithDerivedMetadataBuilder.mts | 137 +- .../OfferWithExplicitMetadataBuilder.mts | 139 +- ts/structs/OffersContext.mts | 154 +- ts/structs/OffersMessage.mts | 130 +- ts/structs/OffersMessageHandler.mts | 130 +- ts/structs/OneHopBlindedPathCandidate.mts | 130 +- ts/structs/OnionMessage.mts | 130 +- ts/structs/OnionMessageContents.mts | 130 +- ts/structs/OnionMessageHandler.mts | 130 +- ts/structs/OnionMessagePath.mts | 128 +- ts/structs/OnionMessenger.mts | 146 +- ts/structs/OnionPacket.mts | 130 +- ts/structs/OpenChannel.mts | 130 +- ts/structs/OpenChannelV2.mts | 134 +- ts/structs/Option_APIErrorZ.mts | 130 +- ts/structs/Option_AmountZ.mts | 130 +- ts/structs/Option_BigEndianScalarZ.mts | 130 +- ...manReadableNameThirtyTwoBytesZZOfferZZ.mts | 813 ++ ...HumanReadableNameThirtyTwoBytesZZStrZZ.mts | 813 ++ ...NSResolverMessageResponseInstructionZZ.mts | 813 ++ ...ple_OffersMessageResponseInstructionZZ.mts | 130 +- ...onMessageContentsResponseInstructionZZ.mts | 130 +- .../Option_C2Tuple_PublicKeyChannelIdZZ.mts | 813 ++ ...e_ReleaseHeldHtlcResponseInstructionZZ.mts | 130 +- ...n_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mts | 130 +- ts/structs/Option_C2Tuple_u64u16ZZ.mts | 130 +- ts/structs/Option_C2Tuple_u64u64ZZ.mts | 130 +- ...nouncementChannelUpdateChannelUpdateZZ.mts | 130 +- ts/structs/Option_CVec_SocketAddressZZ.mts | 130 +- ts/structs/Option_CVec_ThirtyTwoBytesZZ.mts | 130 +- ts/structs/Option_CVec_u8ZZ.mts | 130 +- ts/structs/Option_ChannelShutdownStateZ.mts | 130 +- ts/structs/Option_ClosureReasonZ.mts | 130 +- ts/structs/Option_ECDSASignatureZ.mts | 130 +- ts/structs/Option_EventZ.mts | 130 +- ts/structs/Option_FilterZ.mts | 130 +- ts/structs/Option_HTLCClaimZ.mts | 130 +- ts/structs/Option_HTLCDestinationZ.mts | 130 +- .../Option_InboundHTLCStateDetailsZ.mts | 130 +- ts/structs/Option_MaxDustHTLCExposureZ.mts | 130 +- ts/structs/Option_MessageContextZ.mts | 130 +- ts/structs/Option_MonitorEventZ.mts | 130 +- ts/structs/Option_NetworkUpdateZ.mts | 130 +- ts/structs/Option_NodeAnnouncementInfoZ.mts | 130 +- ts/structs/Option_OffersContextZ.mts | 128 +- ts/structs/Option_OnionMessageContentsZ.mts | 130 +- .../Option_OutboundHTLCStateDetailsZ.mts | 130 +- ts/structs/Option_PathFailureZ.mts | 130 +- ts/structs/Option_PaymentContextZ.mts | 130 +- ts/structs/Option_PaymentFailureReasonZ.mts | 130 +- ts/structs/Option_QuantityZ.mts | 130 +- ts/structs/Option_SocketAddressZ.mts | 130 +- ts/structs/Option_StrZ.mts | 130 +- ts/structs/Option_ThirtyTwoBytesZ.mts | 130 +- ts/structs/Option_TxOutZ.mts | 130 +- ts/structs/Option_TypeZ.mts | 130 +- ts/structs/Option_U128Z.mts | 130 +- ts/structs/Option_UtxoLookupZ.mts | 130 +- ts/structs/Option_boolZ.mts | 130 +- ts/structs/Option_f64Z.mts | 130 +- ts/structs/Option_i64Z.mts | 130 +- ts/structs/Option_u16Z.mts | 130 +- ts/structs/Option_u32Z.mts | 130 +- ts/structs/Option_u64Z.mts | 130 +- ts/structs/Option_usizeZ.mts | 130 +- ts/structs/OutPoint.mts | 130 +- ts/structs/OutboundHTLCDetails.mts | 130 +- ts/structs/OutputSpendStatus.mts | 130 +- ts/structs/OutputSpender.mts | 130 +- ts/structs/OutputSweeper.mts | 130 +- ts/structs/P2PGossipSync.mts | 130 +- ts/structs/Packet.mts | 130 +- ts/structs/ParseOrSemanticError.mts | 132 +- ts/structs/ParsedOnionMessageContents.mts | 155 +- ts/structs/Path.mts | 130 +- ts/structs/PathFailure.mts | 130 +- ts/structs/Payee.mts | 130 +- ts/structs/PayeePubKey.mts | 130 +- ts/structs/PaymentConstraints.mts | 130 +- ts/structs/PaymentContext.mts | 157 +- ts/structs/PaymentForwardNode.mts | 130 +- ts/structs/PaymentParameters.mts | 130 +- ts/structs/PaymentPurpose.mts | 134 +- ts/structs/PaymentRelay.mts | 130 +- ts/structs/PeeledOnion.mts | 130 +- ts/structs/PeerDetails.mts | 130 +- ts/structs/PeerHandleError.mts | 130 +- ts/structs/PeerManager.mts | 137 +- ts/structs/PendingHTLCInfo.mts | 130 +- ts/structs/PendingHTLCRouting.mts | 141 +- ts/structs/Persist.mts | 144 +- ts/structs/Persister.mts | 130 +- ts/structs/PhantomKeysManager.mts | 130 +- ts/structs/PhantomRouteHints.mts | 130 +- ts/structs/Ping.mts | 130 +- ts/structs/Pong.mts | 130 +- ts/structs/PositiveTimestamp.mts | 130 +- ts/structs/PrintableString.mts | 130 +- ts/structs/PrivateHopCandidate.mts | 130 +- ts/structs/PrivateRoute.mts | 130 +- ts/structs/ProbabilisticScorer.mts | 156 +- .../ProbabilisticScoringDecayParameters.mts | 138 +- .../ProbabilisticScoringFeeParameters.mts | 260 +- ts/structs/ProbeSendFailure.mts | 170 +- ts/structs/PublicHopCandidate.mts | 130 +- ts/structs/Quantity.mts | 130 +- ts/structs/QueryChannelRange.mts | 130 +- ts/structs/QueryShortChannelIds.mts | 130 +- ts/structs/RandomBytes.mts | 130 +- ts/structs/RapidGossipSync.mts | 130 +- ts/structs/RawBolt11Invoice.mts | 130 +- ts/structs/RawDataPart.mts | 130 +- ts/structs/ReadOnlyNetworkGraph.mts | 130 +- ts/structs/ReceiveTlvs.mts | 202 +- ts/structs/RecentPaymentDetails.mts | 155 +- ts/structs/RecipientOnionFields.mts | 130 +- ts/structs/Record.mts | 130 +- ts/structs/Refund.mts | 138 +- .../RefundMaybeWithDerivedMetadataBuilder.mts | 147 +- ts/structs/ReleaseHeldHtlc.mts | 152 +- ts/structs/ReplayEvent.mts | 130 +- ts/structs/ReplyChannelRange.mts | 130 +- ts/structs/ReplyShortChannelIdsEnd.mts | 130 +- ts/structs/Responder.mts | 130 +- ts/structs/ResponseInstruction.mts | 139 +- .../Result_AcceptChannelDecodeErrorZ.mts | 130 +- .../Result_AcceptChannelV2DecodeErrorZ.mts | 130 +- ...ult_AnnouncementSignaturesDecodeErrorZ.mts | 130 +- ...esult_AsyncPaymentsContextDecodeErrorZ.mts | 821 ++ ...esult_AsyncPaymentsMessageDecodeErrorZ.mts | 130 +- ts/structs/Result_BestBlockDecodeErrorZ.mts | 130 +- ts/structs/Result_BigSizeDecodeErrorZ.mts | 130 +- .../Result_BlindedFailureDecodeErrorZ.mts | 130 +- .../Result_BlindedForwardDecodeErrorZ.mts | 130 +- ts/structs/Result_BlindedHopDecodeErrorZ.mts | 130 +- .../Result_BlindedHopFeaturesDecodeErrorZ.mts | 128 +- .../Result_BlindedMessagePathDecodeErrorZ.mts | 130 +- ts/structs/Result_BlindedMessagePathNoneZ.mts | 130 +- .../Result_BlindedPayInfoDecodeErrorZ.mts | 130 +- ts/structs/Result_BlindedPaymentPathNoneZ.mts | 130 +- ts/structs/Result_BlindedTailDecodeErrorZ.mts | 130 +- ...sult_Bolt11InvoiceBolt11SemanticErrorZ.mts | 130 +- ...sult_Bolt11InvoiceFeaturesDecodeErrorZ.mts | 128 +- ...ult_Bolt11InvoiceParseOrSemanticErrorZ.mts | 130 +- ...sult_Bolt11InvoiceSignOrCreationErrorZ.mts | 128 +- ...sult_Bolt12InvoiceBolt12SemanticErrorZ.mts | 130 +- .../Result_Bolt12InvoiceDecodeErrorZ.mts | 130 +- ...sult_Bolt12InvoiceFeaturesDecodeErrorZ.mts | 128 +- .../Result_Bolt12OfferContextDecodeErrorZ.mts | 130 +- ...Result_Bolt12RefundContextDecodeErrorZ.mts | 130 +- ...BuiltCommitmentTransactionDecodeErrorZ.mts | 130 +- ...le_BestBlockOutputSweeperZDecodeErrorZ.mts | 130 +- .../Result_C2Tuple_CVec_u8Zu64ZNoneZ.mts | 130 +- ...le_DNSSECQueryDNSResolverContextZNoneZ.mts | 816 ++ ...DSASignatureCVec_ECDSASignatureZZNoneZ.mts | 130 +- ...rtyTwoBytesChannelManagerZDecodeErrorZ.mts | 130 +- ...rtyTwoBytesChannelMonitorZDecodeErrorZ.mts | 130 +- ..._ThirtyTwoBytesChannelMonitorZIOErrorZ.mts | 130 +- ...ple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mts | 130 +- ...oBytesThirtyTwoBytesZProbeSendFailureZ.mts | 821 ++ ...Option_CVec_SocketAddressZZZSendErrorZ.mts | 130 +- ...ipientOnionFieldsRouteParametersZNoneZ.mts | 130 +- .../Result_COption_APIErrorZDecodeErrorZ.mts | 130 +- ...ult_COption_ClosureReasonZDecodeErrorZ.mts | 130 +- .../Result_COption_EventZDecodeErrorZ.mts | 130 +- ...t_COption_HTLCDestinationZDecodeErrorZ.mts | 130 +- ...n_InboundHTLCStateDetailsZDecodeErrorZ.mts | 130 +- ...sult_COption_MonitorEventZDecodeErrorZ.mts | 130 +- ...ult_COption_NetworkUpdateZDecodeErrorZ.mts | 130 +- ...tion_OnionMessageContentsZDecodeErrorZ.mts | 130 +- ..._OutboundHTLCStateDetailsZDecodeErrorZ.mts | 130 +- ...esult_COption_PathFailureZDecodeErrorZ.mts | 130 +- ...tion_PaymentFailureReasonZDecodeErrorZ.mts | 130 +- .../Result_COption_TypeZDecodeErrorZ.mts | 130 +- .../Result_CVec_BlindedMessagePathZNoneZ.mts | 128 +- .../Result_CVec_BlindedPaymentPathZNoneZ.mts | 130 +- ...ThirtyTwoBytesChannelMonitorZZIOErrorZ.mts | 130 +- ...BytesThirtyTwoBytesZZProbeSendFailureZ.mts | 130 +- ...esult_CVec_C3Tuple_StrStrStrZZIOErrorZ.mts | 825 ++ .../Result_CVec_ECDSASignatureZNoneZ.mts | 130 +- ts/structs/Result_CVec_StrZIOErrorZ.mts | 130 +- ts/structs/Result_CVec_UtxoZNoneZ.mts | 130 +- ts/structs/Result_CVec_u8ZIOErrorZ.mts | 130 +- ts/structs/Result_CVec_u8ZNoneZ.mts | 130 +- .../Result_CVec_u8ZPeerHandleErrorZ.mts | 130 +- ...Result_ChannelAnnouncementDecodeErrorZ.mts | 130 +- .../Result_ChannelConfigDecodeErrorZ.mts | 130 +- ...Result_ChannelCounterpartyDecodeErrorZ.mts | 130 +- ...hannelDerivationParametersDecodeErrorZ.mts | 130 +- .../Result_ChannelDetailsDecodeErrorZ.mts | 130 +- .../Result_ChannelFeaturesDecodeErrorZ.mts | 128 +- ts/structs/Result_ChannelIdAPIErrorZ.mts | 130 +- ts/structs/Result_ChannelIdDecodeErrorZ.mts | 130 +- ts/structs/Result_ChannelInfoDecodeErrorZ.mts | 130 +- ...esult_ChannelMonitorUpdateDecodeErrorZ.mts | 130 +- ...Result_ChannelMonitorUpdateStatusNoneZ.mts | 130 +- .../Result_ChannelPublicKeysDecodeErrorZ.mts | 130 +- .../Result_ChannelReadyDecodeErrorZ.mts | 130 +- .../Result_ChannelReestablishDecodeErrorZ.mts | 130 +- ...esult_ChannelShutdownStateDecodeErrorZ.mts | 130 +- ...annelTransactionParametersDecodeErrorZ.mts | 130 +- ...Result_ChannelTypeFeaturesDecodeErrorZ.mts | 128 +- .../Result_ChannelUpdateDecodeErrorZ.mts | 130 +- .../Result_ChannelUpdateInfoDecodeErrorZ.mts | 130 +- ts/structs/Result_ClaimedHTLCDecodeErrorZ.mts | 130 +- .../Result_ClosingSignedDecodeErrorZ.mts | 130 +- ...sult_ClosingSignedFeeRangeDecodeErrorZ.mts | 130 +- ts/structs/Result_CoinSelectionNoneZ.mts | 130 +- ...sult_CommitmentSignedBatchDecodeErrorZ.mts | 130 +- .../Result_CommitmentSignedDecodeErrorZ.mts | 130 +- ...sult_CommitmentTransactionDecodeErrorZ.mts | 130 +- ...annelTransactionParametersDecodeErrorZ.mts | 130 +- ...nterpartyCommitmentSecretsDecodeErrorZ.mts | 130 +- ...CounterpartyForwardingInfoDecodeErrorZ.mts | 130 +- .../Result_DNSResolverContextDecodeErrorZ.mts | 821 ++ .../Result_DNSResolverMessageDecodeErrorZ.mts | 821 ++ ...lt_DelayedPaymentBasepointDecodeErrorZ.mts | 130 +- .../Result_DelayedPaymentKeyDecodeErrorZ.mts | 130 +- ...yedPaymentOutputDescriptorDecodeErrorZ.mts | 130 +- .../Result_DescriptionCreationErrorZ.mts | 130 +- ts/structs/Result_ECDSASignatureNoneZ.mts | 130 +- .../Result_EcdsaChannelSignerDecodeErrorZ.mts | 130 +- .../Result_ErrorMessageDecodeErrorZ.mts | 130 +- .../Result_FinalOnionHopDataDecodeErrorZ.mts | 130 +- .../Result_FixedPenaltyScorerDecodeErrorZ.mts | 130 +- .../Result_FundingCreatedDecodeErrorZ.mts | 130 +- ts/structs/Result_FundingInfoDecodeErrorZ.mts | 130 +- .../Result_FundingSignedDecodeErrorZ.mts | 130 +- ...sult_GossipTimestampFilterDecodeErrorZ.mts | 130 +- .../Result_HTLCDescriptorDecodeErrorZ.mts | 130 +- ...ult_HTLCOutputInCommitmentDecodeErrorZ.mts | 130 +- ts/structs/Result_HTLCUpdateDecodeErrorZ.mts | 130 +- .../Result_HeldHtlcAvailableDecodeErrorZ.mts | 130 +- ...olderCommitmentTransactionDecodeErrorZ.mts | 130 +- ts/structs/Result_HostnameDecodeErrorZ.mts | 130 +- .../Result_HtlcBasepointDecodeErrorZ.mts | 130 +- ts/structs/Result_HtlcKeyDecodeErrorZ.mts | 130 +- .../Result_HumanReadableNameDecodeErrorZ.mts | 821 ++ ....mts => Result_HumanReadableNameNoneZ.mts} | 180 +- .../Result_InFlightHtlcsDecodeErrorZ.mts | 130 +- .../Result_InMemorySignerDecodeErrorZ.mts | 130 +- .../Result_InboundHTLCDetailsDecodeErrorZ.mts | 130 +- ts/structs/Result_InitDecodeErrorZ.mts | 130 +- .../Result_InitFeaturesDecodeErrorZ.mts | 128 +- .../Result_InvoiceErrorDecodeErrorZ.mts | 130 +- ...ult_InvoiceRequestBolt12SemanticErrorZ.mts | 130 +- .../Result_InvoiceRequestDecodeErrorZ.mts | 821 ++ ...esult_InvoiceRequestFieldsDecodeErrorZ.mts | 130 +- ...gningPubkeyBuilderBolt12SemanticErrorZ.mts | 812 ++ ...gningPubkeyBuilderBolt12SemanticErrorZ.mts | 130 +- ...gningPubkeyBuilderBolt12SemanticErrorZ.mts | 130 +- .../Result_LockedChannelMonitorNoneZ.mts | 130 +- ...Result_MaxDustHTLCExposureDecodeErrorZ.mts | 130 +- .../Result_MessageContextDecodeErrorZ.mts | 130 +- ...orZ.mts => Result_MonitorNameIOErrorZ.mts} | 172 +- .../Result_NetworkGraphDecodeErrorZ.mts | 130 +- ts/structs/Result_NodeAliasDecodeErrorZ.mts | 130 +- .../Result_NodeAnnouncementDecodeErrorZ.mts | 130 +- ...esult_NodeAnnouncementInfoDecodeErrorZ.mts | 130 +- .../Result_NodeFeaturesDecodeErrorZ.mts | 128 +- ts/structs/Result_NodeIdDecodeErrorZ.mts | 130 +- ts/structs/Result_NodeInfoDecodeErrorZ.mts | 130 +- ts/structs/Result_NonceDecodeErrorZ.mts | 130 +- ts/structs/Result_NoneAPIErrorZ.mts | 128 +- .../Result_NoneBolt11SemanticErrorZ.mts | 130 +- ...mts => Result_NoneBolt12PaymentErrorZ.mts} | 182 +- .../Result_NoneBolt12SemanticErrorZ.mts | 130 +- ts/structs/Result_NoneIOErrorZ.mts | 130 +- ts/structs/Result_NoneLightningErrorZ.mts | 130 +- ts/structs/Result_NoneNoneZ.mts | 130 +- ts/structs/Result_NonePeerHandleErrorZ.mts | 130 +- ts/structs/Result_NoneReplayEventZ.mts | 130 +- .../Result_NoneRetryableSendFailureZ.mts | 130 +- ts/structs/Result_NoneSendErrorZ.mts | 130 +- ts/structs/Result_OfferBolt12ParseErrorZ.mts | 130 +- .../Result_OfferBolt12SemanticErrorZ.mts | 130 +- ts/structs/Result_OfferDecodeErrorZ.mts | 130 +- ts/structs/Result_OfferIdDecodeErrorZ.mts | 130 +- ...vedMetadataBuilderBolt12SemanticErrorZ.mts | 130 +- .../Result_OffersContextDecodeErrorZ.mts | 130 +- .../Result_OffersMessageDecodeErrorZ.mts | 130 +- .../Result_OnionMessageDecodeErrorZ.mts | 130 +- ts/structs/Result_OnionMessagePathNoneZ.mts | 128 +- ts/structs/Result_OnionPacketDecodeErrorZ.mts | 130 +- ts/structs/Result_OpenChannelDecodeErrorZ.mts | 130 +- .../Result_OpenChannelV2DecodeErrorZ.mts | 130 +- ts/structs/Result_OutPointDecodeErrorZ.mts | 130 +- ...Result_OutboundHTLCDetailsDecodeErrorZ.mts | 130 +- .../Result_OutputSpendStatusDecodeErrorZ.mts | 130 +- .../Result_OutputSweeperDecodeErrorZ.mts | 130 +- .../Result_PayeePubKeySecp256k1ErrorZ.mts | 130 +- .../Result_PaymentConstraintsDecodeErrorZ.mts | 130 +- .../Result_PaymentContextDecodeErrorZ.mts | 130 +- .../Result_PaymentParametersDecodeErrorZ.mts | 130 +- .../Result_PaymentPurposeDecodeErrorZ.mts | 130 +- .../Result_PaymentRelayDecodeErrorZ.mts | 130 +- ts/structs/Result_PeeledOnionNoneZ.mts | 130 +- .../Result_PendingHTLCInfoDecodeErrorZ.mts | 130 +- .../Result_PendingHTLCInfoInboundHTLCErrZ.mts | 130 +- .../Result_PendingHTLCRoutingDecodeErrorZ.mts | 130 +- .../Result_PhantomRouteHintsDecodeErrorZ.mts | 130 +- ts/structs/Result_PingDecodeErrorZ.mts | 130 +- ts/structs/Result_PongDecodeErrorZ.mts | 130 +- ...Result_PositiveTimestampCreationErrorZ.mts | 130 +- .../Result_PrivateRouteCreationErrorZ.mts | 130 +- ...Result_ProbabilisticScorerDecodeErrorZ.mts | 130 +- ts/structs/Result_PublicKeyNoneZ.mts | 130 +- .../Result_PublicKeySecp256k1ErrorZ.mts | 130 +- .../Result_QueryChannelRangeDecodeErrorZ.mts | 130 +- ...esult_QueryShortChannelIdsDecodeErrorZ.mts | 130 +- ...esult_RecipientOnionFieldsDecodeErrorZ.mts | 130 +- .../Result_RecipientOnionFieldsNoneZ.mts | 130 +- .../Result_RecoverableSignatureNoneZ.mts | 130 +- ts/structs/Result_RefundBolt12ParseErrorZ.mts | 130 +- .../Result_RefundBolt12SemanticErrorZ.mts | 130 +- ts/structs/Result_RefundDecodeErrorZ.mts | 130 +- ...vedMetadataBuilderBolt12SemanticErrorZ.mts | 130 +- .../Result_ReleaseHeldHtlcDecodeErrorZ.mts | 130 +- .../Result_ReplyChannelRangeDecodeErrorZ.mts | 130 +- ...lt_ReplyShortChannelIdsEndDecodeErrorZ.mts | 130 +- ts/structs/Result_ResponderDecodeErrorZ.mts | 130 +- ts/structs/Result_RetryDecodeErrorZ.mts | 130 +- ...Result_RevocationBasepointDecodeErrorZ.mts | 130 +- .../Result_RevocationKeyDecodeErrorZ.mts | 130 +- .../Result_RevokeAndACKDecodeErrorZ.mts | 130 +- ts/structs/Result_RouteDecodeErrorZ.mts | 130 +- ts/structs/Result_RouteHintDecodeErrorZ.mts | 130 +- .../Result_RouteHintHopDecodeErrorZ.mts | 130 +- ts/structs/Result_RouteHopDecodeErrorZ.mts | 130 +- ts/structs/Result_RouteLightningErrorZ.mts | 130 +- .../Result_RouteParametersDecodeErrorZ.mts | 130 +- ts/structs/Result_RoutingFeesDecodeErrorZ.mts | 130 +- ts/structs/Result_SchnorrSignatureNoneZ.mts | 130 +- ts/structs/Result_SendSuccessSendErrorZ.mts | 130 +- ts/structs/Result_ShutdownDecodeErrorZ.mts | 130 +- .../Result_ShutdownScriptDecodeErrorZ.mts | 130 +- ...t_ShutdownScriptInvalidShutdownScriptZ.mts | 130 +- ts/structs/Result_ShutdownScriptNoneZ.mts | 130 +- .../Result_SiPrefixBolt11ParseErrorZ.mts | 132 +- ...ignedRawBolt11InvoiceBolt11ParseErrorZ.mts | 132 +- .../Result_SocketAddressDecodeErrorZ.mts | 130 +- ..._SocketAddressSocketAddressParseErrorZ.mts | 130 +- ..._SpendableOutputDescriptorDecodeErrorZ.mts | 130 +- ts/structs/Result_SpliceAckDecodeErrorZ.mts | 130 +- ts/structs/Result_SpliceInitDecodeErrorZ.mts | 130 +- .../Result_SpliceLockedDecodeErrorZ.mts | 130 +- ...ticPaymentOutputDescriptorDecodeErrorZ.mts | 130 +- ts/structs/Result_StfuDecodeErrorZ.mts | 130 +- ts/structs/Result_ThirtyTwoBytesAPIErrorZ.mts | 130 +- ts/structs/Result_ThirtyTwoBytesNoneZ.mts | 130 +- ...lt_ThirtyTwoBytesRetryableSendFailureZ.mts | 130 +- ...ult_TrackedSpendableOutputDecodeErrorZ.mts | 130 +- ts/structs/Result_TransactionNoneZ.mts | 130 +- ...t_TransactionU16LenLimitedDecodeErrorZ.mts | 130 +- .../Result_TransactionU16LenLimitedNoneZ.mts | 130 +- .../Result_TrustedClosingTransactionNoneZ.mts | 130 +- ...sult_TrustedCommitmentTransactionNoneZ.mts | 130 +- ts/structs/Result_TxAbortDecodeErrorZ.mts | 130 +- ts/structs/Result_TxAckRbfDecodeErrorZ.mts | 130 +- ts/structs/Result_TxAddInputDecodeErrorZ.mts | 130 +- ts/structs/Result_TxAddOutputDecodeErrorZ.mts | 130 +- ts/structs/Result_TxCompleteDecodeErrorZ.mts | 130 +- .../Result_TxCreationKeysDecodeErrorZ.mts | 130 +- ts/structs/Result_TxInitRbfDecodeErrorZ.mts | 130 +- ts/structs/Result_TxOutUtxoLookupErrorZ.mts | 130 +- .../Result_TxRemoveInputDecodeErrorZ.mts | 130 +- .../Result_TxRemoveOutputDecodeErrorZ.mts | 130 +- .../Result_TxSignaturesDecodeErrorZ.mts | 130 +- ...ignedBolt12InvoiceBolt12SemanticErrorZ.mts | 130 +- ...nsignedChannelAnnouncementDecodeErrorZ.mts | 130 +- ...sult_UnsignedChannelUpdateDecodeErrorZ.mts | 130 +- ...t_UnsignedNodeAnnouncementDecodeErrorZ.mts | 130 +- .../Result_UntrustedStringDecodeErrorZ.mts | 130 +- .../Result_UpdateAddHTLCDecodeErrorZ.mts | 130 +- .../Result_UpdateFailHTLCDecodeErrorZ.mts | 130 +- ...lt_UpdateFailMalformedHTLCDecodeErrorZ.mts | 130 +- ts/structs/Result_UpdateFeeDecodeErrorZ.mts | 130 +- .../Result_UpdateFulfillHTLCDecodeErrorZ.mts | 130 +- ...rorZ.mts => Result_UpdateNameIOErrorZ.mts} | 172 +- .../Result_VerifiedInvoiceRequestNoneZ.mts | 130 +- .../Result_WarningMessageDecodeErrorZ.mts | 130 +- ts/structs/Result_WitnessNoneZ.mts | 130 +- ts/structs/Result__u832NoneZ.mts | 130 +- ts/structs/Result_boolLightningErrorZ.mts | 130 +- ts/structs/Result_boolPeerHandleErrorZ.mts | 130 +- ts/structs/Result_u32GraphSyncErrorZ.mts | 130 +- ts/structs/Result_u64ShortChannelIdErrorZ.mts | 130 +- ts/structs/Retry.mts | 130 +- ts/structs/RevocationBasepoint.mts | 130 +- ts/structs/RevocationKey.mts | 130 +- ts/structs/RevokeAndACK.mts | 130 +- ts/structs/Route.mts | 130 +- ts/structs/RouteHint.mts | 130 +- ts/structs/RouteHintHop.mts | 130 +- ts/structs/RouteHop.mts | 130 +- ts/structs/RouteParameters.mts | 130 +- ts/structs/Router.mts | 138 +- ts/structs/RoutingFees.mts | 130 +- ts/structs/RoutingMessageHandler.mts | 187 +- ts/structs/Score.mts | 130 +- ts/structs/ScoreLookUp.mts | 130 +- ts/structs/ScoreUpdate.mts | 130 +- .../ScorerAccountingForInFlightHtlcs.mts | 130 +- ts/structs/SendError.mts | 130 +- ts/structs/SendSuccess.mts | 130 +- ts/structs/Sha256.mts | 128 +- ts/structs/Shutdown.mts | 130 +- ts/structs/ShutdownScript.mts | 128 +- ts/structs/SignBolt12InvoiceFn.mts | 130 +- ts/structs/SignError.mts | 130 +- ts/structs/SignInvoiceRequestFn.mts | 130 +- ts/structs/SignOrCreationError.mts | 128 +- ts/structs/SignedRawBolt11Invoice.mts | 130 +- ts/structs/SignerProvider.mts | 130 +- ts/structs/SocketAddress.mts | 130 +- ts/structs/SocketDescriptor.mts | 130 +- ts/structs/SpendableOutputDescriptor.mts | 130 +- ts/structs/SpendingDelay.mts | 130 +- ts/structs/SpliceAck.mts | 130 +- ts/structs/SpliceInit.mts | 130 +- ts/structs/SpliceLocked.mts | 130 +- ts/structs/StaticPaymentOutputDescriptor.mts | 130 +- ts/structs/Stfu.mts | 130 +- ts/structs/TaggedHash.mts | 130 +- ...nnouncementChannelUpdateChannelUpdateZ.mts | 130 +- ...onMessageCOption_CVec_SocketAddressZZZ.mts | 130 +- ...t11Invoice_u832Bolt11InvoiceSignatureZ.mts | 130 +- ...FailureZ.mts => ThreeTuple_StrStrStrZ.mts} | 218 +- ...esRecipientOnionFieldsRouteParametersZ.mts | 130 +- ...rtyTwoBytesu32COption_ThirtyTwoBytesZZ.mts | 130 +- ts/structs/TrackedSpendableOutput.mts | 130 +- ts/structs/TrampolineOnionPacket.mts | 130 +- ts/structs/TransactionU16LenLimited.mts | 130 +- ts/structs/TrustedClosingTransaction.mts | 130 +- ts/structs/TrustedCommitmentTransaction.mts | 130 +- ...aymentsMessageMessageSendInstructionsZ.mts | 130 +- .../TwoTuple_BestBlockOutputSweeperZ.mts | 130 +- ...umanReadableNameThirtyTwoBytesZZOfferZ.mts | 805 ++ ..._HumanReadableNameThirtyTwoBytesZZStrZ.mts | 804 ++ ts/structs/TwoTuple_CVec_u8Zu64Z.mts | 130 +- ts/structs/TwoTuple_ChannelIdPublicKeyZ.mts | 130 +- ...esolverMessageMessageSendInstructionsZ.mts | 798 ++ ...DNSResolverMessageResponseInstructionZ.mts | 798 ++ ...woTuple_DNSSECQueryDNSResolverContextZ.mts | 798 ++ ...le_ECDSASignatureCVec_ECDSASignatureZZ.mts | 130 +- ...Tuple_HumanReadableNameThirtyTwoBytesZ.mts | 797 ++ ..._OffersMessageMessageSendInstructionsZ.mts | 130 +- ...uple_OffersMessageResponseInstructionZ.mts | 130 +- ...essageContentsMessageSendInstructionsZ.mts | 130 +- ...ionMessageContentsResponseInstructionZ.mts | 130 +- ts/structs/TwoTuple_OutPointCVec_u64ZZ.mts | 130 +- ts/structs/TwoTuple_OutPointCVec_u8ZZ.mts | 130 +- ts/structs/TwoTuple_OutPointChannelIdZ.mts | 130 +- ...Z.mts => TwoTuple_PublicKeyChannelIdZ.mts} | 211 +- ts/structs/TwoTuple_PublicKeyTypeZ.mts | 130 +- ...le_ReleaseHeldHtlcResponseInstructionZ.mts | 130 +- ...rtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mts | 130 +- ...ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mts | 130 +- ...TwoTuple_ThirtyTwoBytesChannelManagerZ.mts | 135 +- ...TwoTuple_ThirtyTwoBytesChannelMonitorZ.mts | 130 +- ...TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mts | 130 +- ts/structs/TwoTuple_Z.mts | 130 +- ts/structs/TwoTuple__u1632_u1632Z.mts | 130 +- ts/structs/TwoTuple__u832u16Z.mts | 130 +- ...ecodeErrorZ.mts => TwoTuple_boolboolZ.mts} | 211 +- ts/structs/TwoTuple_u32CVec_u8ZZ.mts | 130 +- ts/structs/TwoTuple_u32TxOutZ.mts | 130 +- ts/structs/TwoTuple_u64CVec_u8ZZ.mts | 130 +- ts/structs/TwoTuple_u64u16Z.mts | 130 +- ts/structs/TwoTuple_u64u64Z.mts | 130 +- ts/structs/TwoTuple_usizeTransactionZ.mts | 130 +- ts/structs/TxAbort.mts | 134 +- ts/structs/TxAckRbf.mts | 134 +- ts/structs/TxAddInput.mts | 134 +- ts/structs/TxAddOutput.mts | 134 +- ts/structs/TxComplete.mts | 134 +- ts/structs/TxCreationKeys.mts | 130 +- ts/structs/TxIn.mts | 130 +- ts/structs/TxInitRbf.mts | 134 +- ts/structs/TxOut.mts | 130 +- ts/structs/TxRemoveInput.mts | 134 +- ts/structs/TxRemoveOutput.mts | 134 +- ts/structs/TxSignatures.mts | 134 +- ts/structs/Type.mts | 130 +- ts/structs/UnauthenticatedReceiveTlvs.mts | 859 ++ ts/structs/UnsignedBolt12Invoice.mts | 188 +- ts/structs/UnsignedChannelAnnouncement.mts | 130 +- ts/structs/UnsignedChannelUpdate.mts | 130 +- ts/structs/UnsignedGossipMessage.mts | 130 +- ts/structs/UnsignedInvoiceRequest.mts | 177 +- ts/structs/UnsignedNodeAnnouncement.mts | 130 +- ts/structs/UntrustedString.mts | 130 +- ts/structs/UpdateAddHTLC.mts | 130 +- ts/structs/UpdateFailHTLC.mts | 130 +- ts/structs/UpdateFailMalformedHTLC.mts | 130 +- ts/structs/UpdateFee.mts | 130 +- ts/structs/UpdateFulfillHTLC.mts | 130 +- ts/structs/UpdateName.mts | 824 ++ ts/structs/UserConfig.mts | 167 +- ts/structs/UtilMethods.mts | 264 +- ts/structs/Utxo.mts | 130 +- ts/structs/UtxoFuture.mts | 130 +- ts/structs/UtxoLookup.mts | 130 +- ts/structs/UtxoResult.mts | 130 +- ts/structs/Verification.mts | 827 ++ ts/structs/VerifiedInvoiceRequest.mts | 184 +- ts/structs/Wallet.mts | 130 +- ts/structs/WalletSource.mts | 130 +- ts/structs/WarningMessage.mts | 130 +- ts/structs/Watch.mts | 130 +- ts/structs/WatchedOutput.mts | 130 +- ts/structs/WitnessProgram.mts | 130 +- ts/structs/WriteableScore.mts | 130 +- 719 files changed, 101085 insertions(+), 44163 deletions(-) create mode 100644 ts/structs/AsyncPaymentsContext.mts create mode 100644 ts/structs/Bolt11InvoiceDescription.mts rename ts/structs/{PaymentSendFailure.mts => Bolt11InvoiceParameters.mts} (85%) create mode 100644 ts/structs/DNSResolverContext.mts create mode 100644 ts/structs/DNSResolverMessage.mts create mode 100644 ts/structs/DNSResolverMessageHandler.mts create mode 100644 ts/structs/DNSSECProof.mts rename ts/structs/{UnknownPaymentContext.mts => DNSSECQuery.mts} (92%) create mode 100644 ts/structs/HumanReadableName.mts create mode 100644 ts/structs/InboundChannelFunds.mts rename ts/structs/{InvoiceRequestWithDerivedPayerIdBuilder.mts => InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mts} (91%) create mode 100644 ts/structs/MigratableKVStore.mts rename ts/structs/{InvoiceRequestWithExplicitPayerIdBuilder.mts => MonitorName.mts} (90%) create mode 100644 ts/structs/OMNameResolver.mts create mode 100644 ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mts create mode 100644 ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mts create mode 100644 ts/structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mts create mode 100644 ts/structs/Option_C2Tuple_PublicKeyChannelIdZZ.mts create mode 100644 ts/structs/Result_AsyncPaymentsContextDecodeErrorZ.mts create mode 100644 ts/structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mts create mode 100644 ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mts create mode 100644 ts/structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mts create mode 100644 ts/structs/Result_DNSResolverContextDecodeErrorZ.mts create mode 100644 ts/structs/Result_DNSResolverMessageDecodeErrorZ.mts create mode 100644 ts/structs/Result_HumanReadableNameDecodeErrorZ.mts rename ts/structs/{Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mts => Result_HumanReadableNameNoneZ.mts} (90%) create mode 100644 ts/structs/Result_InvoiceRequestDecodeErrorZ.mts create mode 100644 ts/structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mts rename ts/structs/{Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mts => Result_MonitorNameIOErrorZ.mts} (91%) rename ts/structs/{Result_ThirtyTwoBytesPaymentSendFailureZ.mts => Result_NoneBolt12PaymentErrorZ.mts} (90%) rename ts/structs/{Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mts => Result_UpdateNameIOErrorZ.mts} (91%) rename ts/structs/{Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mts => ThreeTuple_StrStrStrZ.mts} (91%) create mode 100644 ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mts create mode 100644 ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mts create mode 100644 ts/structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mts create mode 100644 ts/structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mts create mode 100644 ts/structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mts create mode 100644 ts/structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mts rename ts/structs/{Result_NonePaymentSendFailureZ.mts => TwoTuple_PublicKeyChannelIdZ.mts} (91%) rename ts/structs/{Result_UnknownPaymentContextDecodeErrorZ.mts => TwoTuple_boolboolZ.mts} (91%) create mode 100644 ts/structs/UnauthenticatedReceiveTlvs.mts create mode 100644 ts/structs/UpdateName.mts create mode 100644 ts/structs/Verification.mts diff --git a/ts/bindings.c b/ts/bindings.c index d7346458..54d05d45 100644 --- a/ts/bindings.c +++ b/ts/bindings.c @@ -227,24 +227,26 @@ static inline LDKBolt12SemanticError LDKBolt12SemanticError_from_js(int32_t ord) case 8: return LDKBolt12SemanticError_UnknownRequiredFeatures; case 9: return LDKBolt12SemanticError_UnexpectedFeatures; case 10: return LDKBolt12SemanticError_MissingDescription; - case 11: return LDKBolt12SemanticError_MissingSigningPubkey; - case 12: return LDKBolt12SemanticError_InvalidSigningPubkey; - case 13: return LDKBolt12SemanticError_UnexpectedSigningPubkey; - case 14: return LDKBolt12SemanticError_MissingQuantity; - case 15: return LDKBolt12SemanticError_InvalidQuantity; - case 16: return LDKBolt12SemanticError_UnexpectedQuantity; - case 17: return LDKBolt12SemanticError_InvalidMetadata; - case 18: return LDKBolt12SemanticError_UnexpectedMetadata; - case 19: return LDKBolt12SemanticError_MissingPayerMetadata; - case 20: return LDKBolt12SemanticError_MissingPayerId; - case 21: return LDKBolt12SemanticError_DuplicatePaymentId; - case 22: return LDKBolt12SemanticError_MissingPaths; - case 23: return LDKBolt12SemanticError_UnexpectedPaths; - case 24: return LDKBolt12SemanticError_InvalidPayInfo; - case 25: return LDKBolt12SemanticError_MissingCreationTime; - case 26: return LDKBolt12SemanticError_MissingPaymentHash; - case 27: return LDKBolt12SemanticError_UnexpectedPaymentHash; - case 28: return LDKBolt12SemanticError_MissingSignature; + case 11: return LDKBolt12SemanticError_MissingIssuerSigningPubkey; + case 12: return LDKBolt12SemanticError_UnexpectedIssuerSigningPubkey; + case 13: return LDKBolt12SemanticError_MissingQuantity; + case 14: return LDKBolt12SemanticError_InvalidQuantity; + case 15: return LDKBolt12SemanticError_UnexpectedQuantity; + case 16: return LDKBolt12SemanticError_InvalidMetadata; + case 17: return LDKBolt12SemanticError_UnexpectedMetadata; + case 18: return LDKBolt12SemanticError_MissingPayerMetadata; + case 19: return LDKBolt12SemanticError_MissingPayerSigningPubkey; + case 20: return LDKBolt12SemanticError_DuplicatePaymentId; + case 21: return LDKBolt12SemanticError_MissingPaths; + case 22: return LDKBolt12SemanticError_UnexpectedPaths; + case 23: return LDKBolt12SemanticError_InvalidPayInfo; + case 24: return LDKBolt12SemanticError_MissingCreationTime; + case 25: return LDKBolt12SemanticError_MissingPaymentHash; + case 26: return LDKBolt12SemanticError_UnexpectedPaymentHash; + case 27: return LDKBolt12SemanticError_MissingSigningPubkey; + case 28: return LDKBolt12SemanticError_InvalidSigningPubkey; + case 29: return LDKBolt12SemanticError_MissingSignature; + case 30: return LDKBolt12SemanticError_UnexpectedHumanReadableName; } abort(); } @@ -261,24 +263,26 @@ static inline int32_t LDKBolt12SemanticError_to_js(LDKBolt12SemanticError val) { case LDKBolt12SemanticError_UnknownRequiredFeatures: return 8; case LDKBolt12SemanticError_UnexpectedFeatures: return 9; case LDKBolt12SemanticError_MissingDescription: return 10; - case LDKBolt12SemanticError_MissingSigningPubkey: return 11; - case LDKBolt12SemanticError_InvalidSigningPubkey: return 12; - case LDKBolt12SemanticError_UnexpectedSigningPubkey: return 13; - case LDKBolt12SemanticError_MissingQuantity: return 14; - case LDKBolt12SemanticError_InvalidQuantity: return 15; - case LDKBolt12SemanticError_UnexpectedQuantity: return 16; - case LDKBolt12SemanticError_InvalidMetadata: return 17; - case LDKBolt12SemanticError_UnexpectedMetadata: return 18; - case LDKBolt12SemanticError_MissingPayerMetadata: return 19; - case LDKBolt12SemanticError_MissingPayerId: return 20; - case LDKBolt12SemanticError_DuplicatePaymentId: return 21; - case LDKBolt12SemanticError_MissingPaths: return 22; - case LDKBolt12SemanticError_UnexpectedPaths: return 23; - case LDKBolt12SemanticError_InvalidPayInfo: return 24; - case LDKBolt12SemanticError_MissingCreationTime: return 25; - case LDKBolt12SemanticError_MissingPaymentHash: return 26; - case LDKBolt12SemanticError_UnexpectedPaymentHash: return 27; - case LDKBolt12SemanticError_MissingSignature: return 28; + case LDKBolt12SemanticError_MissingIssuerSigningPubkey: return 11; + case LDKBolt12SemanticError_UnexpectedIssuerSigningPubkey: return 12; + case LDKBolt12SemanticError_MissingQuantity: return 13; + case LDKBolt12SemanticError_InvalidQuantity: return 14; + case LDKBolt12SemanticError_UnexpectedQuantity: return 15; + case LDKBolt12SemanticError_InvalidMetadata: return 16; + case LDKBolt12SemanticError_UnexpectedMetadata: return 17; + case LDKBolt12SemanticError_MissingPayerMetadata: return 18; + case LDKBolt12SemanticError_MissingPayerSigningPubkey: return 19; + case LDKBolt12SemanticError_DuplicatePaymentId: return 20; + case LDKBolt12SemanticError_MissingPaths: return 21; + case LDKBolt12SemanticError_UnexpectedPaths: return 22; + case LDKBolt12SemanticError_InvalidPayInfo: return 23; + case LDKBolt12SemanticError_MissingCreationTime: return 24; + case LDKBolt12SemanticError_MissingPaymentHash: return 25; + case LDKBolt12SemanticError_UnexpectedPaymentHash: return 26; + case LDKBolt12SemanticError_MissingSigningPubkey: return 27; + case LDKBolt12SemanticError_InvalidSigningPubkey: return 28; + case LDKBolt12SemanticError_MissingSignature: return 29; + case LDKBolt12SemanticError_UnexpectedHumanReadableName: return 30; default: abort(); } } @@ -567,6 +571,7 @@ static inline LDKPaymentFailureReason LDKPaymentFailureReason_from_js(int32_t or case 6: return LDKPaymentFailureReason_UnknownRequiredFeatures; case 7: return LDKPaymentFailureReason_InvoiceRequestExpired; case 8: return LDKPaymentFailureReason_InvoiceRequestRejected; + case 9: return LDKPaymentFailureReason_BlindedPathCreationFailed; } abort(); } @@ -581,6 +586,7 @@ static inline int32_t LDKPaymentFailureReason_to_js(LDKPaymentFailureReason val) case LDKPaymentFailureReason_UnknownRequiredFeatures: return 6; case LDKPaymentFailureReason_InvoiceRequestExpired: return 7; case LDKPaymentFailureReason_InvoiceRequestRejected: return 8; + case LDKPaymentFailureReason_BlindedPathCreationFailed: return 9; default: abort(); } } @@ -947,96 +953,6 @@ uint64_t __attribute__((export_name("TS_CResult_RetryDecodeErrorZ_get_err"))) T return ret_ref; } -uint32_t __attribute__((export_name("TS_LDKAPIError_ty_from_ptr"))) TS_LDKAPIError_ty_from_ptr(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKAPIError_APIMisuseError: return 0; - case LDKAPIError_FeeRateTooHigh: return 1; - case LDKAPIError_InvalidRoute: return 2; - case LDKAPIError_ChannelUnavailable: return 3; - case LDKAPIError_MonitorUpdateInProgress: return 4; - case LDKAPIError_IncompatibleShutdownScript: return 5; - default: abort(); - } -} -jstring __attribute__((export_name("TS_LDKAPIError_APIMisuseError_get_err"))) TS_LDKAPIError_APIMisuseError_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_APIMisuseError); - LDKStr err_str = obj->api_misuse_error.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_err"))) TS_LDKAPIError_FeeRateTooHigh_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_FeeRateTooHigh); - LDKStr err_str = obj->fee_rate_too_high.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -int32_t __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_feerate"))) TS_LDKAPIError_FeeRateTooHigh_get_feerate(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_FeeRateTooHigh); - int32_t feerate_conv = obj->fee_rate_too_high.feerate; - return feerate_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_InvalidRoute_get_err"))) TS_LDKAPIError_InvalidRoute_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_InvalidRoute); - LDKStr err_str = obj->invalid_route.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_ChannelUnavailable_get_err"))) TS_LDKAPIError_ChannelUnavailable_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_ChannelUnavailable); - LDKStr err_str = obj->channel_unavailable.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -uint64_t __attribute__((export_name("TS_LDKAPIError_IncompatibleShutdownScript_get_script"))) TS_LDKAPIError_IncompatibleShutdownScript_get_script(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_IncompatibleShutdownScript); - LDKShutdownScript script_var = obj->incompatible_shutdown_script.script; - uint64_t script_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(script_var); - script_ref = tag_ptr(script_var.inner, false); - return script_ref; -} -static inline void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ -CHECK(owner->result_ok); - return *owner->contents.result; -} -void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_ok"))) TS_CResult_NoneAPIErrorZ_get_ok(uint64_t owner) { - LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); - CResult_NoneAPIErrorZ_get_ok(owner_conv); -} - -static inline struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return APIError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_err"))) TS_CResult_NoneAPIErrorZ_get_err(uint64_t owner) { - LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); - LDKAPIError *ret_copy = MALLOC(sizeof(LDKAPIError), "LDKAPIError"); - *ret_copy = CResult_NoneAPIErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline LDKCVec_CResult_NoneAPIErrorZZ CVec_CResult_NoneAPIErrorZZ_clone(const LDKCVec_CResult_NoneAPIErrorZZ *orig) { - LDKCVec_CResult_NoneAPIErrorZZ ret = { .data = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ) * orig->datalen, "LDKCVec_CResult_NoneAPIErrorZZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = CResult_NoneAPIErrorZ_clone(&orig->data[i]); - } - return ret; -} -static inline LDKCVec_APIErrorZ CVec_APIErrorZ_clone(const LDKCVec_APIErrorZ *orig) { - LDKCVec_APIErrorZ ret = { .data = MALLOC(sizeof(LDKAPIError) * orig->datalen, "LDKCVec_APIErrorZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = APIError_clone(&orig->data[i]); - } - return ret; -} uint32_t __attribute__((export_name("TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr"))) TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(uint64_t ptr) { LDKCOption_ThirtyTwoBytesZ *obj = (LDKCOption_ThirtyTwoBytesZ*)untag_ptr(ptr); switch(obj->tag) { @@ -1145,6 +1061,557 @@ void __attribute__((export_name("TS_CResult_RecipientOnionFieldsNoneZ_get_err") CResult_RecipientOnionFieldsNoneZ_get_err(owner_conv); } +uint32_t __attribute__((export_name("TS_LDKDNSResolverMessage_ty_from_ptr"))) TS_LDKDNSResolverMessage_ty_from_ptr(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + switch(obj->tag) { + case LDKDNSResolverMessage_DNSSECQuery: return 0; + case LDKDNSResolverMessage_DNSSECProof: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query"))) TS_LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + assert(obj->tag == LDKDNSResolverMessage_DNSSECQuery); + LDKDNSSECQuery dnssec_query_var = obj->dnssec_query; + uint64_t dnssec_query_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dnssec_query_var); + dnssec_query_ref = tag_ptr(dnssec_query_var.inner, false); + return dnssec_query_ref; +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof"))) TS_LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + assert(obj->tag == LDKDNSResolverMessage_DNSSECProof); + LDKDNSSECProof dnssec_proof_var = obj->dnssec_proof; + uint64_t dnssec_proof_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dnssec_proof_var); + dnssec_proof_ref = tag_ptr(dnssec_proof_var.inner, false); + return dnssec_proof_ref; +} +static inline struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner){ + return DNSResolverMessage_clone(&owner->a); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_a"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* owner_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKResponseInstruction C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner){ + LDKResponseInstruction ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_b"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* owner_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(owner); + LDKResponseInstruction ret_var = C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *obj = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some: return 0; + case LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *obj = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* some_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +uint32_t __attribute__((export_name("TS_LDKDestination_ty_from_ptr"))) TS_LDKDestination_ty_from_ptr(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + switch(obj->tag) { + case LDKDestination_Node: return 0; + case LDKDestination_BlindedPath: return 1; + default: abort(); + } +} +int8_tArray __attribute__((export_name("TS_LDKDestination_Node_get_node"))) TS_LDKDestination_Node_get_node(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + assert(obj->tag == LDKDestination_Node); + int8_tArray node_arr = init_int8_tArray(33, __LINE__); + memcpy(node_arr->elems, obj->node.compressed_form, 33); + return node_arr; +} +uint64_t __attribute__((export_name("TS_LDKDestination_BlindedPath_get_blinded_path"))) TS_LDKDestination_BlindedPath_get_blinded_path(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + assert(obj->tag == LDKDestination_BlindedPath); + LDKBlindedMessagePath blinded_path_var = obj->blinded_path; + uint64_t blinded_path_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(blinded_path_var); + blinded_path_ref = tag_ptr(blinded_path_var.inner, false); + return blinded_path_ref; +} +uint32_t __attribute__((export_name("TS_LDKOffersContext_ty_from_ptr"))) TS_LDKOffersContext_ty_from_ptr(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKOffersContext_InvoiceRequest: return 0; + case LDKOffersContext_OutboundPayment: return 1; + case LDKOffersContext_InboundPayment: return 2; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_InvoiceRequest_get_nonce"))) TS_LDKOffersContext_InvoiceRequest_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InvoiceRequest); + LDKNonce nonce_var = obj->invoice_request.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_payment_id"))) TS_LDKOffersContext_OutboundPayment_get_payment_id(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); + return payment_id_arr; +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_nonce"))) TS_LDKOffersContext_OutboundPayment_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + LDKNonce nonce_var = obj->outbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_hmac"))) TS_LDKOffersContext_OutboundPayment_get_hmac(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); + return hmac_arr; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_payment_hash"))) TS_LDKOffersContext_InboundPayment_get_payment_hash(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + int8_tArray payment_hash_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_hash_arr->elems, obj->inbound_payment.payment_hash.data, 32); + return payment_hash_arr; +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_nonce"))) TS_LDKOffersContext_InboundPayment_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + LDKNonce nonce_var = obj->inbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_hmac"))) TS_LDKOffersContext_InboundPayment_get_hmac(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->inbound_payment.hmac.data, 32); + return hmac_arr; +} +uint32_t __attribute__((export_name("TS_LDKAsyncPaymentsContext_ty_from_ptr"))) TS_LDKAsyncPaymentsContext_ty_from_ptr(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKAsyncPaymentsContext_OutboundPayment: return 0; + default: abort(); + } +} +int8_tArray __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_payment_id"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_payment_id(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); + return payment_id_arr; +} +uint64_t __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_nonce"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_nonce(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + LDKNonce nonce_var = obj->outbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_hmac"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_hmac(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); + return hmac_arr; +} +uint32_t __attribute__((export_name("TS_LDKMessageContext_ty_from_ptr"))) TS_LDKMessageContext_ty_from_ptr(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKMessageContext_Offers: return 0; + case LDKMessageContext_AsyncPayments: return 1; + case LDKMessageContext_DNSResolver: return 2; + case LDKMessageContext_Custom: return 3; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_Offers_get_offers"))) TS_LDKMessageContext_Offers_get_offers(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_Offers); + uint64_t offers_ref = tag_ptr(&obj->offers, false); + return offers_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_AsyncPayments_get_async_payments"))) TS_LDKMessageContext_AsyncPayments_get_async_payments(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_AsyncPayments); + uint64_t async_payments_ref = tag_ptr(&obj->async_payments, false); + return async_payments_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_DNSResolver_get_dns_resolver"))) TS_LDKMessageContext_DNSResolver_get_dns_resolver(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_DNSResolver); + LDKDNSResolverContext dns_resolver_var = obj->dns_resolver; + uint64_t dns_resolver_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dns_resolver_var); + dns_resolver_ref = tag_ptr(dns_resolver_var.inner, false); + return dns_resolver_ref; +} +int8_tArray __attribute__((export_name("TS_LDKMessageContext_Custom_get_custom"))) TS_LDKMessageContext_Custom_get_custom(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_Custom); + LDKCVec_u8Z custom_var = obj->custom; + int8_tArray custom_arr = init_int8_tArray(custom_var.datalen, __LINE__); + memcpy(custom_arr->elems, custom_var.data, custom_var.datalen); + return custom_arr; +} +uint32_t __attribute__((export_name("TS_LDKMessageSendInstructions_ty_from_ptr"))) TS_LDKMessageSendInstructions_ty_from_ptr(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + switch(obj->tag) { + case LDKMessageSendInstructions_WithSpecifiedReplyPath: return 0; + case LDKMessageSendInstructions_WithReplyPath: return 1; + case LDKMessageSendInstructions_WithoutReplyPath: return 2; + case LDKMessageSendInstructions_ForReply: return 3; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); + uint64_t destination_ref = tag_ptr(&obj->with_specified_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); + LDKBlindedMessagePath reply_path_var = obj->with_specified_reply_path.reply_path; + uint64_t reply_path_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(reply_path_var); + reply_path_ref = tag_ptr(reply_path_var.inner, false); + return reply_path_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); + uint64_t destination_ref = tag_ptr(&obj->with_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_context"))) TS_LDKMessageSendInstructions_WithReplyPath_get_context(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); + uint64_t context_ref = tag_ptr(&obj->with_reply_path.context, false); + return context_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithoutReplyPath); + uint64_t destination_ref = tag_ptr(&obj->without_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_ForReply_get_instructions"))) TS_LDKMessageSendInstructions_ForReply_get_instructions(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_ForReply); + LDKResponseInstruction instructions_var = obj->for_reply.instructions; + uint64_t instructions_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(instructions_var); + instructions_ref = tag_ptr(instructions_var.inner, false); + return instructions_ref; +} +static inline struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner){ + return DNSResolverMessage_clone(&owner->a); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* owner_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKMessageSendInstructions C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner){ + return MessageSendInstructions_clone(&owner->b); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* owner_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(owner); + LDKMessageSendInstructions *ret_copy = MALLOC(sizeof(LDKMessageSendInstructions), "LDKMessageSendInstructions"); + *ret_copy = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_clone(const LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ *orig) { + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ) * orig->datalen, "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKDNSResolverMessage CResult_DNSResolverMessageDecodeErrorZ_get_ok(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return DNSResolverMessage_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_get_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_DNSResolverMessageDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = CResult_DNSResolverMessageDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_DNSResolverMessageDecodeErrorZ_get_err(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_get_err"))) TS_CResult_DNSResolverMessageDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_DNSResolverMessageDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_DNSResolverMessageDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKHumanReadableName CResult_HumanReadableNameNoneZ_get_ok(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_get_ok"))) TS_CResult_HumanReadableNameNoneZ_get_ok(uint64_t owner) { + LDKCResult_HumanReadableNameNoneZ* owner_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = CResult_HumanReadableNameNoneZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline void CResult_HumanReadableNameNoneZ_get_err(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_get_err"))) TS_CResult_HumanReadableNameNoneZ_get_err(uint64_t owner) { + LDKCResult_HumanReadableNameNoneZ* owner_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(owner); + CResult_HumanReadableNameNoneZ_get_err(owner_conv); +} + +static inline struct LDKHumanReadableName CResult_HumanReadableNameDecodeErrorZ_get_ok(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_get_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_HumanReadableNameDecodeErrorZ* owner_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = CResult_HumanReadableNameDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_HumanReadableNameDecodeErrorZ_get_err(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_get_err"))) TS_CResult_HumanReadableNameDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_HumanReadableNameDecodeErrorZ* owner_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_HumanReadableNameDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDNSSECQuery C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner){ + LDKDNSSECQuery ret = owner->a; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_a"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* owner_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(owner); + LDKDNSSECQuery ret_var = C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDNSResolverContext C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner){ + LDKDNSResolverContext ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_b"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* owner_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(owner); + LDKDNSResolverContext ret_var = C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return C2Tuple_DNSSECQueryDNSResolverContextZ_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(uint64_t owner) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* owner_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(owner); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(owner_conv); + return tag_ptr(ret_conv, true); +} + +static inline void CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(uint64_t owner) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* owner_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(owner); + CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(owner_conv); +} + +static inline struct LDKHumanReadableName C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = owner->a; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(uint64_t owner) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* owner_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKThirtyTwoBytes C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner){ + return ThirtyTwoBytes_clone(&owner->b); +} +int8_tArray __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(uint64_t owner) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* owner_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(owner); + int8_tArray ret_arr = init_int8_tArray(32, __LINE__); + memcpy(ret_arr->elems, C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(owner_conv).data, 32); + return ret_arr; +} + +static inline LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(const LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ *orig) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ) * orig->datalen, "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner){ + return CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(&owner->a); +} +uint64_tArray __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(owner); + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t r = 0; r < ret_var.datalen; r++) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv_43_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv_43_conv = ret_var.data[r]; + ret_arr_ptr[r] = tag_ptr(ret_conv_43_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline struct LDKOffer C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner){ + LDKOffer ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(owner); + LDKOffer ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some: return 0; + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* some_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +static inline struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner){ + return CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(&owner->a); +} +uint64_tArray __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(owner); + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t r = 0; r < ret_var.datalen; r++) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv_43_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv_43_conv = ret_var.data[r]; + ret_arr_ptr[r] = tag_ptr(ret_conv_43_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline struct LDKStr C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner){ + return owner->b; +} +jstring __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(owner); + LDKStr ret_str = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some: return 0; + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* some_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(some_conv); + return tag_ptr(some_conv, true); +} static inline struct LDKUnsignedBolt12Invoice CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ *NONNULL_PTR owner){ LDKUnsignedBolt12Invoice ret = *owner->contents.result; ret.is_owned = false; @@ -1213,6 +1680,13 @@ void __attribute__((export_name("TS_CResult_SchnorrSignatureNoneZ_get_err"))) T CResult_SchnorrSignatureNoneZ_get_err(owner_conv); } +static inline LDKCVec_BlindedPaymentPathZ CVec_BlindedPaymentPathZ_clone(const LDKCVec_BlindedPaymentPathZ *orig) { + LDKCVec_BlindedPaymentPathZ ret = { .data = MALLOC(sizeof(LDKBlindedPaymentPath) * orig->datalen, "LDKCVec_BlindedPaymentPathZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = BlindedPaymentPath_clone(&orig->data[i]); + } + return ret; +} static inline LDKCVec_ThirtyTwoBytesZ CVec_ThirtyTwoBytesZ_clone(const LDKCVec_ThirtyTwoBytesZ *orig) { LDKCVec_ThirtyTwoBytesZ ret = { .data = MALLOC(sizeof(LDKThirtyTwoBytes) * orig->datalen, "LDKCVec_ThirtyTwoBytesZ clone bytes"), .datalen = orig->datalen }; for (size_t i = 0; i < ret.datalen; i++) { @@ -2183,6 +2657,21 @@ LDKCResult_ECDSASignatureNoneZ sign_channel_announcement_with_funding_key_LDKEcd FREE(untag_ptr(ret)); return ret_conv; } +LDKCResult_ECDSASignatureNoneZ sign_splicing_funding_input_LDKEcdsaChannelSigner_jcall(const void* this_arg, LDKTransaction tx, uintptr_t input_index, uint64_t input_value) { + LDKEcdsaChannelSigner_JCalls *j_calls = (LDKEcdsaChannelSigner_JCalls*) this_arg; + LDKTransaction tx_var = tx; + int8_tArray tx_arr = init_int8_tArray(tx_var.datalen, __LINE__); + memcpy(tx_arr->elems, tx_var.data, tx_var.datalen); + Transaction_free(tx_var); + uint32_t input_index_conv = input_index; + int64_t input_value_conv = input_value; + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 15, (uint32_t)tx_arr, input_index_conv, input_value_conv, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_ECDSASignatureNoneZ ret_conv = *(LDKCResult_ECDSASignatureNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} static void LDKEcdsaChannelSigner_JCalls_cloned(LDKEcdsaChannelSigner* new_obj) { LDKEcdsaChannelSigner_JCalls *j_calls = (LDKEcdsaChannelSigner_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); @@ -2209,6 +2698,7 @@ static inline LDKEcdsaChannelSigner LDKEcdsaChannelSigner_init (JSValue o, JSVal .sign_closing_transaction = sign_closing_transaction_LDKEcdsaChannelSigner_jcall, .sign_holder_anchor_input = sign_holder_anchor_input_LDKEcdsaChannelSigner_jcall, .sign_channel_announcement_with_funding_key = sign_channel_announcement_with_funding_key_LDKEcdsaChannelSigner_jcall, + .sign_splicing_funding_input = sign_splicing_funding_input_LDKEcdsaChannelSigner_jcall, .cloned = LDKEcdsaChannelSigner_JCalls_cloned, .free = LDKEcdsaChannelSigner_JCalls_free, .ChannelSigner = LDKChannelSigner_init(ChannelSigner, pubkeys), @@ -2403,6 +2893,20 @@ uint64_t __attribute__((export_name("TS_EcdsaChannelSigner_sign_channel_announc return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_EcdsaChannelSigner_sign_splicing_funding_input"))) TS_EcdsaChannelSigner_sign_splicing_funding_input(uint64_t this_arg, int8_tArray tx, uint32_t input_index, int64_t input_value) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKEcdsaChannelSigner* this_arg_conv = (LDKEcdsaChannelSigner*)this_arg_ptr; + LDKTransaction tx_ref; + tx_ref.datalen = tx->arr_len; + tx_ref.data = MALLOC(tx_ref.datalen, "LDKTransaction Bytes"); + memcpy(tx_ref.data, tx->elems, tx_ref.datalen); FREE(tx); + tx_ref.data_is_owned = true; + LDKCResult_ECDSASignatureNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_ECDSASignatureNoneZ), "LDKCResult_ECDSASignatureNoneZ"); + *ret_conv = (this_arg_conv->sign_splicing_funding_input)(this_arg_conv->this_arg, tx_ref, input_index, input_value); + return tag_ptr(ret_conv, true); +} + static inline struct LDKEcdsaChannelSigner CResult_EcdsaChannelSignerDecodeErrorZ_get_ok(LDKCResult_EcdsaChannelSignerDecodeErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return EcdsaChannelSigner_clone(&*owner->contents.result); @@ -2640,13 +3144,6 @@ uint64_t __attribute__((export_name("TS_CResult_RouteLightningErrorZ_get_err")) return ret_ref; } -static inline LDKCVec_BlindedPaymentPathZ CVec_BlindedPaymentPathZ_clone(const LDKCVec_BlindedPaymentPathZ *orig) { - LDKCVec_BlindedPaymentPathZ ret = { .data = MALLOC(sizeof(LDKBlindedPaymentPath) * orig->datalen, "LDKCVec_BlindedPaymentPathZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = BlindedPaymentPath_clone(&orig->data[i]); - } - return ret; -} static inline struct LDKCVec_BlindedPaymentPathZ CResult_CVec_BlindedPaymentPathZNoneZ_get_ok(LDKCResult_CVec_BlindedPaymentPathZNoneZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return CVec_BlindedPaymentPathZ_clone(&*owner->contents.result); @@ -2678,67 +3175,6 @@ void __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_get_e CResult_CVec_BlindedPaymentPathZNoneZ_get_err(owner_conv); } -static inline struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ - LDKOnionMessagePath ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_ok"))) TS_CResult_OnionMessagePathNoneZ_get_ok(uint64_t owner) { - LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); - LDKOnionMessagePath ret_var = CResult_OnionMessagePathNoneZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return *owner->contents.err; -} -void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_err"))) TS_CResult_OnionMessagePathNoneZ_get_err(uint64_t owner) { - LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); - CResult_OnionMessagePathNoneZ_get_err(owner_conv); -} - -static inline struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ -CHECK(owner->result_ok); - return CVec_BlindedMessagePathZ_clone(&*owner->contents.result); -} -uint64_tArray __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(uint64_t owner) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); - LDKCVec_BlindedMessagePathZ ret_var = CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner_conv); - uint64_tArray ret_arr = NULL; - ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); - uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); - for (size_t u = 0; u < ret_var.datalen; u++) { - LDKBlindedMessagePath ret_conv_20_var = ret_var.data[u]; - uint64_t ret_conv_20_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); - ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); - ret_arr_ptr[u] = ret_conv_20_ref; - } - - FREE(ret_var.data); - return ret_arr; -} - -static inline void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return *owner->contents.err; -} -void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(uint64_t owner) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); - CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner_conv); -} - -static inline LDKCVec_MessageForwardNodeZ CVec_MessageForwardNodeZ_clone(const LDKCVec_MessageForwardNodeZ *orig) { - LDKCVec_MessageForwardNodeZ ret = { .data = MALLOC(sizeof(LDKMessageForwardNode) * orig->datalen, "LDKCVec_MessageForwardNodeZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = MessageForwardNode_clone(&orig->data[i]); - } - return ret; -} static inline struct LDKInFlightHtlcs CResult_InFlightHtlcsDecodeErrorZ_get_ok(LDKCResult_InFlightHtlcsDecodeErrorZ *NONNULL_PTR owner){ LDKInFlightHtlcs ret = *owner->contents.result; ret.is_owned = false; @@ -3132,7 +3568,7 @@ void log_LDKLogger_jcall(const void* this_arg, LDKRecord record) { uint64_t record_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(record_var); record_ref = tag_ptr(record_var.inner, record_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 15, record_ref, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 16, record_ref, 0, 0, 0, 0, 0); } static void LDKLogger_JCalls_cloned(LDKLogger* new_obj) { LDKLogger_JCalls *j_calls = (LDKLogger_JCalls*) new_obj->this_arg; @@ -3492,188 +3928,6 @@ static inline LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ CVe } return ret; } -static inline struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKInitFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKInitFeatures ret_var = CResult_InitFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_err"))) TS_CResult_InitFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_InitFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKChannelFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKChannelFeatures ret_var = CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_ChannelFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKNodeFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKNodeFeatures ret_var = CResult_NodeFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_NodeFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBolt11InvoiceFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBolt11InvoiceFeatures ret_var = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBolt12InvoiceFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBolt12InvoiceFeatures ret_var = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBlindedHopFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBlindedHopFeatures ret_var = CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKChannelTypeFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKChannelTypeFeatures ret_var = CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKOfferId CResult_OfferIdDecodeErrorZ_get_ok(LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR owner){ LDKOfferId ret = *owner->contents.result; ret.is_owned = false; @@ -3743,51 +3997,27 @@ uint32_t __attribute__((export_name("TS_CResult_OfferBolt12SemanticErrorZ_get_e return ret_conv; } -static inline struct LDKInvoiceRequestWithDerivedPayerIdBuilder CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKInvoiceRequestWithDerivedPayerIdBuilder ret = *owner->contents.result; +static inline struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder ret = *owner->contents.result; ret.is_owned = false; return ret; } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - LDKInvoiceRequestWithDerivedPayerIdBuilder ret_var = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(owner); + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder ret_var = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(owner_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ +static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); return Bolt12SemanticError_clone(&*owner->contents.err); } -uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(owner_conv)); - return ret_conv; -} - -static inline struct LDKInvoiceRequestWithExplicitPayerIdBuilder CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKInvoiceRequestWithExplicitPayerIdBuilder ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - LDKInvoiceRequestWithExplicitPayerIdBuilder ret_var = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt12SemanticError_clone(&*owner->contents.err); -} -uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(owner_conv)); +uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(owner_conv)); return ret_conv; } @@ -4024,7 +4254,7 @@ LDKUtxoResult get_utxo_LDKUtxoLookup_jcall(const void* this_arg, const uint8_t ( int8_tArray chain_hash_arr = init_int8_tArray(32, __LINE__); memcpy(chain_hash_arr->elems, *chain_hash, 32); int64_t short_channel_id_conv = short_channel_id; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 16, (uint32_t)chain_hash_arr, short_channel_id_conv, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 17, (uint32_t)chain_hash_arr, short_channel_id_conv, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKUtxoResult ret_conv = *(LDKUtxoResult*)(ret_ptr); @@ -5351,21 +5581,11 @@ void __attribute__((export_name("TS_CResult_CVec_UtxoZNoneZ_get_err"))) TS_CRes uint32_t __attribute__((export_name("TS_LDKPaymentContext_ty_from_ptr"))) TS_LDKPaymentContext_ty_from_ptr(uint64_t ptr) { LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); switch(obj->tag) { - case LDKPaymentContext_Unknown: return 0; - case LDKPaymentContext_Bolt12Offer: return 1; - case LDKPaymentContext_Bolt12Refund: return 2; + case LDKPaymentContext_Bolt12Offer: return 0; + case LDKPaymentContext_Bolt12Refund: return 1; default: abort(); } } -uint64_t __attribute__((export_name("TS_LDKPaymentContext_Unknown_get_unknown"))) TS_LDKPaymentContext_Unknown_get_unknown(uint64_t ptr) { - LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentContext_Unknown); - LDKUnknownPaymentContext unknown_var = obj->unknown; - uint64_t unknown_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(unknown_var); - unknown_ref = tag_ptr(unknown_var.inner, false); - return unknown_ref; -} uint64_t __attribute__((export_name("TS_LDKPaymentContext_Bolt12Offer_get_bolt12_offer"))) TS_LDKPaymentContext_Bolt12Offer_get_bolt12_offer(uint64_t ptr) { LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); assert(obj->tag == LDKPaymentContext_Bolt12Offer); @@ -5432,6 +5652,61 @@ uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_u64u16ZZ_Some_get_som *some_conv = C2Tuple_u64u16Z_clone(some_conv); return tag_ptr(some_conv, true); } +uint32_t __attribute__((export_name("TS_LDKAPIError_ty_from_ptr"))) TS_LDKAPIError_ty_from_ptr(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKAPIError_APIMisuseError: return 0; + case LDKAPIError_FeeRateTooHigh: return 1; + case LDKAPIError_InvalidRoute: return 2; + case LDKAPIError_ChannelUnavailable: return 3; + case LDKAPIError_MonitorUpdateInProgress: return 4; + case LDKAPIError_IncompatibleShutdownScript: return 5; + default: abort(); + } +} +jstring __attribute__((export_name("TS_LDKAPIError_APIMisuseError_get_err"))) TS_LDKAPIError_APIMisuseError_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_APIMisuseError); + LDKStr err_str = obj->api_misuse_error.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_err"))) TS_LDKAPIError_FeeRateTooHigh_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_FeeRateTooHigh); + LDKStr err_str = obj->fee_rate_too_high.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +int32_t __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_feerate"))) TS_LDKAPIError_FeeRateTooHigh_get_feerate(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_FeeRateTooHigh); + int32_t feerate_conv = obj->fee_rate_too_high.feerate; + return feerate_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_InvalidRoute_get_err"))) TS_LDKAPIError_InvalidRoute_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_InvalidRoute); + LDKStr err_str = obj->invalid_route.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_ChannelUnavailable_get_err"))) TS_LDKAPIError_ChannelUnavailable_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_ChannelUnavailable); + LDKStr err_str = obj->channel_unavailable.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +uint64_t __attribute__((export_name("TS_LDKAPIError_IncompatibleShutdownScript_get_script"))) TS_LDKAPIError_IncompatibleShutdownScript_get_script(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_IncompatibleShutdownScript); + LDKShutdownScript script_var = obj->incompatible_shutdown_script.script; + uint64_t script_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(script_var); + script_ref = tag_ptr(script_var.inner, false); + return script_ref; +} static inline struct LDKChannelId CResult_ChannelIdAPIErrorZ_get_ok(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner){ LDKChannelId ret = *owner->contents.result; ret.is_owned = false; @@ -5529,102 +5804,23 @@ static inline LDKCVec_RecentPaymentDetailsZ CVec_RecentPaymentDetailsZ_clone(con } return ret; } -uint32_t __attribute__((export_name("TS_LDKPaymentSendFailure_ty_from_ptr"))) TS_LDKPaymentSendFailure_ty_from_ptr(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - switch(obj->tag) { - case LDKPaymentSendFailure_ParameterError: return 0; - case LDKPaymentSendFailure_PathParameterError: return 1; - case LDKPaymentSendFailure_AllFailedResendSafe: return 2; - case LDKPaymentSendFailure_DuplicatePayment: return 3; - case LDKPaymentSendFailure_PartialFailure: return 4; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKPaymentSendFailure_ParameterError_get_parameter_error"))) TS_LDKPaymentSendFailure_ParameterError_get_parameter_error(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_ParameterError); - uint64_t parameter_error_ref = tag_ptr(&obj->parameter_error, false); - return parameter_error_ref; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PathParameterError_get_path_parameter_error"))) TS_LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PathParameterError); - LDKCVec_CResult_NoneAPIErrorZZ path_parameter_error_var = obj->path_parameter_error; - uint64_tArray path_parameter_error_arr = NULL; - path_parameter_error_arr = init_uint64_tArray(path_parameter_error_var.datalen, __LINE__); - uint64_t *path_parameter_error_arr_ptr = (uint64_t*)(((uint8_t*)path_parameter_error_arr) + 8); - for (size_t w = 0; w < path_parameter_error_var.datalen; w++) { - LDKCResult_NoneAPIErrorZ* path_parameter_error_conv_22_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *path_parameter_error_conv_22_conv = path_parameter_error_var.data[w]; - *path_parameter_error_conv_22_conv = CResult_NoneAPIErrorZ_clone(path_parameter_error_conv_22_conv); - path_parameter_error_arr_ptr[w] = tag_ptr(path_parameter_error_conv_22_conv, true); - } - - return path_parameter_error_arr; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe"))) TS_LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_AllFailedResendSafe); - LDKCVec_APIErrorZ all_failed_resend_safe_var = obj->all_failed_resend_safe; - uint64_tArray all_failed_resend_safe_arr = NULL; - all_failed_resend_safe_arr = init_uint64_tArray(all_failed_resend_safe_var.datalen, __LINE__); - uint64_t *all_failed_resend_safe_arr_ptr = (uint64_t*)(((uint8_t*)all_failed_resend_safe_arr) + 8); - for (size_t k = 0; k < all_failed_resend_safe_var.datalen; k++) { - uint64_t all_failed_resend_safe_conv_10_ref = tag_ptr(&all_failed_resend_safe_var.data[k], false); - all_failed_resend_safe_arr_ptr[k] = all_failed_resend_safe_conv_10_ref; - } - - return all_failed_resend_safe_arr; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_results"))) TS_LDKPaymentSendFailure_PartialFailure_get_results(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - LDKCVec_CResult_NoneAPIErrorZZ results_var = obj->partial_failure.results; - uint64_tArray results_arr = NULL; - results_arr = init_uint64_tArray(results_var.datalen, __LINE__); - uint64_t *results_arr_ptr = (uint64_t*)(((uint8_t*)results_arr) + 8); - for (size_t w = 0; w < results_var.datalen; w++) { - LDKCResult_NoneAPIErrorZ* results_conv_22_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *results_conv_22_conv = results_var.data[w]; - *results_conv_22_conv = CResult_NoneAPIErrorZ_clone(results_conv_22_conv); - results_arr_ptr[w] = tag_ptr(results_conv_22_conv, true); - } - - return results_arr; -} -uint64_t __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry"))) TS_LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - LDKRouteParameters failed_paths_retry_var = obj->partial_failure.failed_paths_retry; - uint64_t failed_paths_retry_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(failed_paths_retry_var); - failed_paths_retry_ref = tag_ptr(failed_paths_retry_var.inner, false); - return failed_paths_retry_ref; -} -int8_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_payment_id"))) TS_LDKPaymentSendFailure_PartialFailure_get_payment_id(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_id_arr->elems, obj->partial_failure.payment_id.data, 32); - return payment_id_arr; -} -static inline void CResult_NonePaymentSendFailureZ_get_ok(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner){ +static inline void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return *owner->contents.result; } -void __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_get_ok"))) TS_CResult_NonePaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_NonePaymentSendFailureZ* owner_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(owner); - CResult_NonePaymentSendFailureZ_get_ok(owner_conv); +void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_ok"))) TS_CResult_NoneAPIErrorZ_get_ok(uint64_t owner) { + LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); + CResult_NoneAPIErrorZ_get_ok(owner_conv); } -static inline struct LDKPaymentSendFailure CResult_NonePaymentSendFailureZ_get_err(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return APIError_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_get_err"))) TS_CResult_NonePaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_NonePaymentSendFailureZ* owner_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_NonePaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_err"))) TS_CResult_NoneAPIErrorZ_get_err(uint64_t owner) { + LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); + LDKAPIError *ret_copy = MALLOC(sizeof(LDKAPIError), "LDKAPIError"); + *ret_copy = CResult_NoneAPIErrorZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5648,25 +5844,53 @@ uint32_t __attribute__((export_name("TS_CResult_NoneRetryableSendFailureZ_get_e return ret_conv; } -static inline struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner){ +uint32_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_ty_from_ptr"))) TS_LDKCOption_OffersContextZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_OffersContextZ_Some: return 0; + case LDKCOption_OffersContextZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_Some_get_some"))) TS_LDKCOption_OffersContextZ_Some_get_some(uint64_t ptr) { + LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_OffersContextZ_Some); + uint64_t some_ref = tag_ptr(&obj->some, false); + return some_ref; +} +uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_ty_from_ptr"))) TS_LDKBolt12PaymentError_ty_from_ptr(uint64_t ptr) { + LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKBolt12PaymentError_UnexpectedInvoice: return 0; + case LDKBolt12PaymentError_DuplicateInvoice: return 1; + case LDKBolt12PaymentError_UnknownRequiredFeatures: return 2; + case LDKBolt12PaymentError_SendingFailed: return 3; + default: abort(); + } +} +uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed"))) TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(uint64_t ptr) { + LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); + assert(obj->tag == LDKBolt12PaymentError_SendingFailed); + uint32_t sending_failed_conv = LDKRetryableSendFailure_to_js(obj->sending_failed); + return sending_failed_conv; +} +static inline void CResult_NoneBolt12PaymentErrorZ_get_ok(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); - return ThirtyTwoBytes_clone(&*owner->contents.result); + return *owner->contents.result; } -int8_tArray __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* owner_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(owner); - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(owner_conv).data, 32); - return ret_arr; +void __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_get_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_get_ok(uint64_t owner) { + LDKCResult_NoneBolt12PaymentErrorZ* owner_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(owner); + CResult_NoneBolt12PaymentErrorZ_get_ok(owner_conv); } -static inline struct LDKPaymentSendFailure CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKBolt12PaymentError CResult_NoneBolt12PaymentErrorZ_get_err(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return Bolt12PaymentError_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* owner_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_get_err"))) TS_CResult_NoneBolt12PaymentErrorZ_get_err(uint64_t owner) { + LDKCResult_NoneBolt12PaymentErrorZ* owner_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(owner); + LDKBolt12PaymentError *ret_copy = MALLOC(sizeof(LDKBolt12PaymentError), "LDKBolt12PaymentError"); + *ret_copy = CResult_NoneBolt12PaymentErrorZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5712,25 +5936,40 @@ int8_tArray __attribute__((export_name("TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytes return ret_arr; } -static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner){ +uint32_t __attribute__((export_name("TS_LDKProbeSendFailure_ty_from_ptr"))) TS_LDKProbeSendFailure_ty_from_ptr(uint64_t ptr) { + LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); + switch(obj->tag) { + case LDKProbeSendFailure_RouteNotFound: return 0; + case LDKProbeSendFailure_ParameterError: return 1; + case LDKProbeSendFailure_DuplicateProbe: return 2; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKProbeSendFailure_ParameterError_get_parameter_error"))) TS_LDKProbeSendFailure_ParameterError_get_parameter_error(uint64_t ptr) { + LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); + assert(obj->tag == LDKProbeSendFailure_ParameterError); + uint64_t parameter_error_ref = tag_ptr(&obj->parameter_error, false); + return parameter_error_ref; +} +static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone(&*owner->contents.result); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(owner); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(uint64_t owner) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(owner); LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ), "LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(owner_conv); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(owner_conv); return tag_ptr(ret_conv, true); } -static inline struct LDKPaymentSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKProbeSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return ProbeSendFailure_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(uint64_t owner) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(owner); + LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); + *ret_copy = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5742,20 +5981,6 @@ static inline LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ CVec_C2Tuple_Thirty } return ret; } -uint32_t __attribute__((export_name("TS_LDKProbeSendFailure_ty_from_ptr"))) TS_LDKProbeSendFailure_ty_from_ptr(uint64_t ptr) { - LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); - switch(obj->tag) { - case LDKProbeSendFailure_RouteNotFound: return 0; - case LDKProbeSendFailure_SendingFailed: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKProbeSendFailure_SendingFailed_get_sending_failed"))) TS_LDKProbeSendFailure_SendingFailed_get_sending_failed(uint64_t ptr) { - LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKProbeSendFailure_SendingFailed); - uint64_t sending_failed_ref = tag_ptr(&obj->sending_failed, false); - return sending_failed_ref; -} static inline struct LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ CResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ_get_ok(LDKCResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ_clone(&*owner->contents.result); @@ -5826,6 +6051,86 @@ static inline LDKCVec_ChannelIdZ CVec_ChannelIdZ_clone(const LDKCVec_ChannelIdZ } return ret; } +static inline struct LDKPublicKey C2Tuple_PublicKeyChannelIdZ_get_a(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner){ + return owner->a; +} +int8_tArray __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_get_a"))) TS_C2Tuple_PublicKeyChannelIdZ_get_a(uint64_t owner) { + LDKC2Tuple_PublicKeyChannelIdZ* owner_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(owner); + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, C2Tuple_PublicKeyChannelIdZ_get_a(owner_conv).compressed_form, 33); + return ret_arr; +} + +static inline struct LDKChannelId C2Tuple_PublicKeyChannelIdZ_get_b(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner){ + LDKChannelId ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_get_b"))) TS_C2Tuple_PublicKeyChannelIdZ_get_b(uint64_t owner) { + LDKC2Tuple_PublicKeyChannelIdZ* owner_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(owner); + LDKChannelId ret_var = C2Tuple_PublicKeyChannelIdZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *obj = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some: return 0; + case LDKCOption_C2Tuple_PublicKeyChannelIdZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *obj = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some); + LDKC2Tuple_PublicKeyChannelIdZ* some_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_PublicKeyChannelIdZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_ty_from_ptr"))) TS_LDKSignOrCreationError_ty_from_ptr(uint64_t ptr) { + LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKSignOrCreationError_SignError: return 0; + case LDKSignOrCreationError_CreationError: return 1; + default: abort(); + } +} +uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_CreationError_get_creation_error"))) TS_LDKSignOrCreationError_CreationError_get_creation_error(uint64_t ptr) { + LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); + assert(obj->tag == LDKSignOrCreationError_CreationError); + uint32_t creation_error_conv = LDKCreationError_to_js(obj->creation_error); + return creation_error_conv; +} +static inline struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ + LDKBolt11Invoice ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); + LDKBolt11Invoice ret_var = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return SignOrCreationError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); + LDKSignOrCreationError *ret_copy = MALLOC(sizeof(LDKSignOrCreationError), "LDKSignOrCreationError"); + *ret_copy = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKOfferWithDerivedMetadataBuilder CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ LDKOfferWithDerivedMetadataBuilder ret = *owner->contents.result; ret.is_owned = false; @@ -5865,6 +6170,13 @@ jstring __attribute__((export_name("TS_LDKCOption_StrZ_Some_get_some"))) TS_LDKC jstring some_conv = str_ref_to_ts(some_str.chars, some_str.len); return some_conv; } +static inline LDKCVec_DestinationZ CVec_DestinationZ_clone(const LDKCVec_DestinationZ *orig) { + LDKCVec_DestinationZ ret = { .data = MALLOC(sizeof(LDKDestination) * orig->datalen, "LDKCVec_DestinationZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = Destination_clone(&orig->data[i]); + } + return ret; +} static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone(&*owner->contents.result); @@ -5908,68 +6220,6 @@ uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesAPIErrorZ_get_err return ret_ref; } -uint32_t __attribute__((export_name("TS_LDKOffersContext_ty_from_ptr"))) TS_LDKOffersContext_ty_from_ptr(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - switch(obj->tag) { - case LDKOffersContext_InvoiceRequest: return 0; - case LDKOffersContext_OutboundPayment: return 1; - case LDKOffersContext_InboundPayment: return 2; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKOffersContext_InvoiceRequest_get_nonce"))) TS_LDKOffersContext_InvoiceRequest_get_nonce(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_InvoiceRequest); - LDKNonce nonce_var = obj->invoice_request.nonce; - uint64_t nonce_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); - nonce_ref = tag_ptr(nonce_var.inner, false); - return nonce_ref; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_payment_id"))) TS_LDKOffersContext_OutboundPayment_get_payment_id(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); - return payment_id_arr; -} -uint64_t __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_nonce"))) TS_LDKOffersContext_OutboundPayment_get_nonce(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - LDKNonce nonce_var = obj->outbound_payment.nonce; - uint64_t nonce_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); - nonce_ref = tag_ptr(nonce_var.inner, false); - return nonce_ref; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_hmac"))) TS_LDKOffersContext_OutboundPayment_get_hmac(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); - memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); - return hmac_arr; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_payment_hash"))) TS_LDKOffersContext_InboundPayment_get_payment_hash(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_InboundPayment); - int8_tArray payment_hash_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_hash_arr->elems, obj->inbound_payment.payment_hash.data, 32); - return payment_hash_arr; -} -uint32_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_ty_from_ptr"))) TS_LDKCOption_OffersContextZ_ty_from_ptr(uint64_t ptr) { - LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); - switch(obj->tag) { - case LDKCOption_OffersContextZ_Some: return 0; - case LDKCOption_OffersContextZ_None: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_Some_get_some"))) TS_LDKCOption_OffersContextZ_Some_get_some(uint64_t ptr) { - LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); - assert(obj->tag == LDKCOption_OffersContextZ_Some); - uint64_t some_ref = tag_ptr(&obj->some, false); - return some_ref; -} uint32_t __attribute__((export_name("TS_LDKOffersMessage_ty_from_ptr"))) TS_LDKOffersMessage_ty_from_ptr(uint64_t ptr) { LDKOffersMessage *obj = (LDKOffersMessage*)untag_ptr(ptr); switch(obj->tag) { @@ -6047,104 +6297,6 @@ uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_OffersMessageResponse *some_conv = C2Tuple_OffersMessageResponseInstructionZ_clone(some_conv); return tag_ptr(some_conv, true); } -uint32_t __attribute__((export_name("TS_LDKDestination_ty_from_ptr"))) TS_LDKDestination_ty_from_ptr(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - switch(obj->tag) { - case LDKDestination_Node: return 0; - case LDKDestination_BlindedPath: return 1; - default: abort(); - } -} -int8_tArray __attribute__((export_name("TS_LDKDestination_Node_get_node"))) TS_LDKDestination_Node_get_node(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - assert(obj->tag == LDKDestination_Node); - int8_tArray node_arr = init_int8_tArray(33, __LINE__); - memcpy(node_arr->elems, obj->node.compressed_form, 33); - return node_arr; -} -uint64_t __attribute__((export_name("TS_LDKDestination_BlindedPath_get_blinded_path"))) TS_LDKDestination_BlindedPath_get_blinded_path(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - assert(obj->tag == LDKDestination_BlindedPath); - LDKBlindedMessagePath blinded_path_var = obj->blinded_path; - uint64_t blinded_path_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(blinded_path_var); - blinded_path_ref = tag_ptr(blinded_path_var.inner, false); - return blinded_path_ref; -} -uint32_t __attribute__((export_name("TS_LDKMessageContext_ty_from_ptr"))) TS_LDKMessageContext_ty_from_ptr(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - switch(obj->tag) { - case LDKMessageContext_Offers: return 0; - case LDKMessageContext_Custom: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKMessageContext_Offers_get_offers"))) TS_LDKMessageContext_Offers_get_offers(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - assert(obj->tag == LDKMessageContext_Offers); - uint64_t offers_ref = tag_ptr(&obj->offers, false); - return offers_ref; -} -int8_tArray __attribute__((export_name("TS_LDKMessageContext_Custom_get_custom"))) TS_LDKMessageContext_Custom_get_custom(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - assert(obj->tag == LDKMessageContext_Custom); - LDKCVec_u8Z custom_var = obj->custom; - int8_tArray custom_arr = init_int8_tArray(custom_var.datalen, __LINE__); - memcpy(custom_arr->elems, custom_var.data, custom_var.datalen); - return custom_arr; -} -uint32_t __attribute__((export_name("TS_LDKMessageSendInstructions_ty_from_ptr"))) TS_LDKMessageSendInstructions_ty_from_ptr(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - switch(obj->tag) { - case LDKMessageSendInstructions_WithSpecifiedReplyPath: return 0; - case LDKMessageSendInstructions_WithReplyPath: return 1; - case LDKMessageSendInstructions_WithoutReplyPath: return 2; - case LDKMessageSendInstructions_ForReply: return 3; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); - uint64_t destination_ref = tag_ptr(&obj->with_specified_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); - LDKBlindedMessagePath reply_path_var = obj->with_specified_reply_path.reply_path; - uint64_t reply_path_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(reply_path_var); - reply_path_ref = tag_ptr(reply_path_var.inner, false); - return reply_path_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); - uint64_t destination_ref = tag_ptr(&obj->with_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_context"))) TS_LDKMessageSendInstructions_WithReplyPath_get_context(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); - uint64_t context_ref = tag_ptr(&obj->with_reply_path.context, false); - return context_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithoutReplyPath); - uint64_t destination_ref = tag_ptr(&obj->without_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_ForReply_get_instructions"))) TS_LDKMessageSendInstructions_ForReply_get_instructions(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_ForReply); - LDKResponseInstruction instructions_var = obj->for_reply.instructions; - uint64_t instructions_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(instructions_var); - instructions_ref = tag_ptr(instructions_var.inner, false); - return instructions_ref; -} static inline struct LDKOffersMessage C2Tuple_OffersMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_OffersMessageMessageSendInstructionsZ *NONNULL_PTR owner){ return OffersMessage_clone(&owner->a); } @@ -6464,6 +6616,12 @@ jboolean __attribute__((export_name("TS_LDKPendingHTLCRouting_ReceiveKeysend_get jboolean requires_blinded_error_conv = obj->receive_keysend.requires_blinded_error; return requires_blinded_error_conv; } +jboolean __attribute__((export_name("TS_LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret"))) TS_LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret(uint64_t ptr) { + LDKPendingHTLCRouting *obj = (LDKPendingHTLCRouting*)untag_ptr(ptr); + assert(obj->tag == LDKPendingHTLCRouting_ReceiveKeysend); + jboolean has_recipient_created_payment_secret_conv = obj->receive_keysend.has_recipient_created_payment_secret; + return has_recipient_created_payment_secret_conv; +} static inline struct LDKPendingHTLCRouting CResult_PendingHTLCRoutingDecodeErrorZ_get_ok(LDKCResult_PendingHTLCRoutingDecodeErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return PendingHTLCRouting_clone(&*owner->contents.result); @@ -6563,7 +6721,7 @@ LDKCResult_ChannelMonitorUpdateStatusNoneZ watch_channel_LDKWatch_jcall(const vo uint64_t monitor_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 17, funding_txo_ref, monitor_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 18, funding_txo_ref, monitor_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_ChannelMonitorUpdateStatusNoneZ ret_conv = *(LDKCResult_ChannelMonitorUpdateStatusNoneZ*)(ret_ptr); @@ -6581,13 +6739,13 @@ LDKChannelMonitorUpdateStatus update_channel_LDKWatch_jcall(const void* this_arg update_var = ChannelMonitorUpdate_clone(&update_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(update_var); update_ref = tag_ptr(update_var.inner, update_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 18, funding_txo_ref, update_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 19, funding_txo_ref, update_ref, 0, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ release_pending_monitor_events_LDKWatch_jcall(const void* this_arg) { LDKWatch_JCalls *j_calls = (LDKWatch_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 19, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 20, 0, 0, 0, 0, 0, 0); LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -6709,7 +6867,7 @@ void broadcast_transactions_LDKBroadcasterInterface_jcall(const void* this_arg, } FREE(txs_var.data); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 20, (uint32_t)txs_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 21, (uint32_t)txs_arr, 0, 0, 0, 0, 0); } static void LDKBroadcasterInterface_JCalls_cloned(LDKBroadcasterInterface* new_obj) { LDKBroadcasterInterface_JCalls *j_calls = (LDKBroadcasterInterface_JCalls*) new_obj->this_arg; @@ -6768,7 +6926,7 @@ static void LDKEntropySource_JCalls_free(void* this_arg) { } LDKThirtyTwoBytes get_secure_random_bytes_LDKEntropySource_jcall(const void* this_arg) { LDKEntropySource_JCalls *j_calls = (LDKEntropySource_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 21, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 22, 0, 0, 0, 0, 0, 0); LDKThirtyTwoBytes ret_ref; CHECK(ret->arr_len == 32); memcpy(ret_ref.data, ret->elems, 32); FREE(ret); @@ -6850,18 +7008,19 @@ static void LDKNodeSigner_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKThirtyTwoBytes get_inbound_payment_key_material_LDKNodeSigner_jcall(const void* this_arg) { +LDKExpandedKey get_inbound_payment_key_LDKNodeSigner_jcall(const void* this_arg) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 22, 0, 0, 0, 0, 0, 0); - LDKThirtyTwoBytes ret_ref; - CHECK(ret->arr_len == 32); - memcpy(ret_ref.data, ret->elems, 32); FREE(ret); - return ret_ref; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 23, 0, 0, 0, 0, 0, 0); + LDKExpandedKey ret_conv; + ret_conv.inner = untag_ptr(ret); + ret_conv.is_owned = ptr_is_owned(ret); + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv); + return ret_conv; } LDKCResult_PublicKeyNoneZ get_node_id_LDKNodeSigner_jcall(const void* this_arg, LDKRecipient recipient) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; uint32_t recipient_conv = LDKRecipient_to_js(recipient); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 23, recipient_conv, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 24, recipient_conv, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_PublicKeyNoneZ ret_conv = *(LDKCResult_PublicKeyNoneZ*)(ret_ptr); @@ -6876,7 +7035,7 @@ LDKCResult_ThirtyTwoBytesNoneZ ecdh_LDKNodeSigner_jcall(const void* this_arg, LD LDKCOption_BigEndianScalarZ *tweak_copy = MALLOC(sizeof(LDKCOption_BigEndianScalarZ), "LDKCOption_BigEndianScalarZ"); *tweak_copy = tweak; uint64_t tweak_ref = tag_ptr(tweak_copy, true); - uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 24, recipient_conv, (uint32_t)other_key_arr, tweak_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 25, recipient_conv, (uint32_t)other_key_arr, tweak_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_ThirtyTwoBytesNoneZ ret_conv = *(LDKCResult_ThirtyTwoBytesNoneZ*)(ret_ptr); @@ -6891,27 +7050,13 @@ LDKCResult_RecoverableSignatureNoneZ sign_invoice_LDKNodeSigner_jcall(const void CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_var); invoice_ref = tag_ptr(invoice_var.inner, invoice_var.is_owned); uint32_t recipient_conv = LDKRecipient_to_js(recipient); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 25, invoice_ref, recipient_conv, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 26, invoice_ref, recipient_conv, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RecoverableSignatureNoneZ ret_conv = *(LDKCResult_RecoverableSignatureNoneZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_SchnorrSignatureNoneZ sign_bolt12_invoice_request_LDKNodeSigner_jcall(const void* this_arg, const LDKUnsignedInvoiceRequest * invoice_request) { - LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; - LDKUnsignedInvoiceRequest invoice_request_var = *invoice_request; - uint64_t invoice_request_ref = 0; - invoice_request_var = UnsignedInvoiceRequest_clone(&invoice_request_var); - CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_request_var); - invoice_request_ref = tag_ptr(invoice_request_var.inner, invoice_request_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 26, invoice_request_ref, 0, 0, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} LDKCResult_SchnorrSignatureNoneZ sign_bolt12_invoice_LDKNodeSigner_jcall(const void* this_arg, const LDKUnsignedBolt12Invoice * invoice) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; LDKUnsignedBolt12Invoice invoice_var = *invoice; @@ -6949,11 +7094,10 @@ static inline LDKNodeSigner LDKNodeSigner_init (JSValue o) { LDKNodeSigner ret = { .this_arg = (void*) calls, - .get_inbound_payment_key_material = get_inbound_payment_key_material_LDKNodeSigner_jcall, + .get_inbound_payment_key = get_inbound_payment_key_LDKNodeSigner_jcall, .get_node_id = get_node_id_LDKNodeSigner_jcall, .ecdh = ecdh_LDKNodeSigner_jcall, .sign_invoice = sign_invoice_LDKNodeSigner_jcall, - .sign_bolt12_invoice_request = sign_bolt12_invoice_request_LDKNodeSigner_jcall, .sign_bolt12_invoice = sign_bolt12_invoice_LDKNodeSigner_jcall, .sign_gossip_message = sign_gossip_message_LDKNodeSigner_jcall, .free = LDKNodeSigner_JCalls_free, @@ -6965,13 +7109,15 @@ uint64_t __attribute__((export_name("TS_LDKNodeSigner_new"))) TS_LDKNodeSigner_ *res_ptr = LDKNodeSigner_init(o); return tag_ptr(res_ptr, true); } -int8_tArray __attribute__((export_name("TS_NodeSigner_get_inbound_payment_key_material"))) TS_NodeSigner_get_inbound_payment_key_material(uint64_t this_arg) { +uint64_t __attribute__((export_name("TS_NodeSigner_get_inbound_payment_key"))) TS_NodeSigner_get_inbound_payment_key(uint64_t this_arg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKNodeSigner* this_arg_conv = (LDKNodeSigner*)this_arg_ptr; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, (this_arg_conv->get_inbound_payment_key_material)(this_arg_conv->this_arg).data, 32); - return ret_arr; + LDKExpandedKey ret_var = (this_arg_conv->get_inbound_payment_key)(this_arg_conv->this_arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; } uint64_t __attribute__((export_name("TS_NodeSigner_get_node_id"))) TS_NodeSigner_get_node_id(uint64_t this_arg, uint32_t recipient) { @@ -7016,20 +7162,6 @@ uint64_t __attribute__((export_name("TS_NodeSigner_sign_invoice"))) TS_NodeSign return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_NodeSigner_sign_bolt12_invoice_request"))) TS_NodeSigner_sign_bolt12_invoice_request(uint64_t this_arg, uint64_t invoice_request) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKNodeSigner* this_arg_conv = (LDKNodeSigner*)this_arg_ptr; - LDKUnsignedInvoiceRequest invoice_request_conv; - invoice_request_conv.inner = untag_ptr(invoice_request); - invoice_request_conv.is_owned = ptr_is_owned(invoice_request); - CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_request_conv); - invoice_request_conv.is_owned = false; - LDKCResult_SchnorrSignatureNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_SchnorrSignatureNoneZ), "LDKCResult_SchnorrSignatureNoneZ"); - *ret_conv = (this_arg_conv->sign_bolt12_invoice_request)(this_arg_conv->this_arg, &invoice_request_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_NodeSigner_sign_bolt12_invoice"))) TS_NodeSigner_sign_bolt12_invoice(uint64_t this_arg, uint64_t invoice) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } @@ -7251,215 +7383,9 @@ int32_t __attribute__((export_name("TS_FeeEstimator_get_est_sat_per_1000_weight return ret_conv; } -typedef struct LDKMessageRouter_JCalls { - atomic_size_t refcnt; - uint32_t instance_ptr; -} LDKMessageRouter_JCalls; -static void LDKMessageRouter_JCalls_free(void* this_arg) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { - FREE(j_calls); - } -} -LDKCResult_OnionMessagePathNoneZ find_path_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey sender, LDKCVec_PublicKeyZ peers, LDKDestination destination) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray sender_arr = init_int8_tArray(33, __LINE__); - memcpy(sender_arr->elems, sender.compressed_form, 33); - LDKCVec_PublicKeyZ peers_var = peers; - ptrArray peers_arr = NULL; - peers_arr = init_ptrArray(peers_var.datalen, __LINE__); - int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); - for (size_t m = 0; m < peers_var.datalen; m++) { - int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); - memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); - peers_arr_ptr[m] = peers_conv_12_arr; - } - - FREE(peers_var.data); - LDKDestination *destination_copy = MALLOC(sizeof(LDKDestination), "LDKDestination"); - *destination_copy = destination; - uint64_t destination_ref = tag_ptr(destination_copy, true); - uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 35, (uint32_t)sender_arr, (uint32_t)peers_arr, destination_ref, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_OnionMessagePathNoneZ ret_conv = *(LDKCResult_OnionMessagePathNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -LDKCResult_CVec_BlindedMessagePathZNoneZ create_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_PublicKeyZ peers) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); - memcpy(recipient_arr->elems, recipient.compressed_form, 33); - LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); - *context_copy = context; - uint64_t context_ref = tag_ptr(context_copy, true); - LDKCVec_PublicKeyZ peers_var = peers; - ptrArray peers_arr = NULL; - peers_arr = init_ptrArray(peers_var.datalen, __LINE__); - int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); - for (size_t m = 0; m < peers_var.datalen; m++) { - int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); - memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); - peers_arr_ptr[m] = peers_conv_12_arr; - } - - FREE(peers_var.data); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 36, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -LDKCResult_CVec_BlindedMessagePathZNoneZ create_compact_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_MessageForwardNodeZ peers) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); - memcpy(recipient_arr->elems, recipient.compressed_form, 33); - LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); - *context_copy = context; - uint64_t context_ref = tag_ptr(context_copy, true); - LDKCVec_MessageForwardNodeZ peers_var = peers; - uint64_tArray peers_arr = NULL; - peers_arr = init_uint64_tArray(peers_var.datalen, __LINE__); - uint64_t *peers_arr_ptr = (uint64_t*)(((uint8_t*)peers_arr) + 8); - for (size_t u = 0; u < peers_var.datalen; u++) { - LDKMessageForwardNode peers_conv_20_var = peers_var.data[u]; - uint64_t peers_conv_20_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_var); - peers_conv_20_ref = tag_ptr(peers_conv_20_var.inner, peers_conv_20_var.is_owned); - peers_arr_ptr[u] = peers_conv_20_ref; - } - - FREE(peers_var.data); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 37, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -static void LDKMessageRouter_JCalls_cloned(LDKMessageRouter* new_obj) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) new_obj->this_arg; - atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); -} -static inline LDKMessageRouter LDKMessageRouter_init (JSValue o) { - LDKMessageRouter_JCalls *calls = MALLOC(sizeof(LDKMessageRouter_JCalls), "LDKMessageRouter_JCalls"); - atomic_init(&calls->refcnt, 1); - calls->instance_ptr = o; - - LDKMessageRouter ret = { - .this_arg = (void*) calls, - .find_path = find_path_LDKMessageRouter_jcall, - .create_blinded_paths = create_blinded_paths_LDKMessageRouter_jcall, - .create_compact_blinded_paths = create_compact_blinded_paths_LDKMessageRouter_jcall, - .free = LDKMessageRouter_JCalls_free, - }; - return ret; -} -uint64_t __attribute__((export_name("TS_LDKMessageRouter_new"))) TS_LDKMessageRouter_new(JSValue o) { - LDKMessageRouter *res_ptr = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); - *res_ptr = LDKMessageRouter_init(o); - return tag_ptr(res_ptr, true); -} -uint64_t __attribute__((export_name("TS_MessageRouter_find_path"))) TS_MessageRouter_find_path(uint64_t this_arg, int8_tArray sender, ptrArray peers, uint64_t destination) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey sender_ref; - CHECK(sender->arr_len == 33); - memcpy(sender_ref.compressed_form, sender->elems, 33); FREE(sender); - LDKCVec_PublicKeyZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - peers_constr.data = NULL; - int8_tArray* peers_vals = (void*) peers->elems; - for (size_t m = 0; m < peers_constr.datalen; m++) { - int8_tArray peers_conv_12 = peers_vals[m]; - LDKPublicKey peers_conv_12_ref; - CHECK(peers_conv_12->arr_len == 33); - memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); - peers_constr.data[m] = peers_conv_12_ref; - } - FREE(peers); - void* destination_ptr = untag_ptr(destination); - CHECK_ACCESS(destination_ptr); - LDKDestination destination_conv = *(LDKDestination*)(destination_ptr); - destination_conv = Destination_clone((LDKDestination*)untag_ptr(destination)); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = (this_arg_conv->find_path)(this_arg_conv->this_arg, sender_ref, peers_constr, destination_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_MessageRouter_create_blinded_paths"))) TS_MessageRouter_create_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, ptrArray peers) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey recipient_ref; - CHECK(recipient->arr_len == 33); - memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); - void* context_ptr = untag_ptr(context); - CHECK_ACCESS(context_ptr); - LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); - context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); - LDKCVec_PublicKeyZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - peers_constr.data = NULL; - int8_tArray* peers_vals = (void*) peers->elems; - for (size_t m = 0; m < peers_constr.datalen; m++) { - int8_tArray peers_conv_12 = peers_vals[m]; - LDKPublicKey peers_conv_12_ref; - CHECK(peers_conv_12->arr_len == 33); - memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); - peers_constr.data[m] = peers_conv_12_ref; - } - FREE(peers); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = (this_arg_conv->create_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_MessageRouter_create_compact_blinded_paths"))) TS_MessageRouter_create_compact_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, uint64_tArray peers) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey recipient_ref; - CHECK(recipient->arr_len == 33); - memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); - void* context_ptr = untag_ptr(context); - CHECK_ACCESS(context_ptr); - LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); - context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); - LDKCVec_MessageForwardNodeZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); - else - peers_constr.data = NULL; - uint64_t* peers_vals = peers->elems; - for (size_t u = 0; u < peers_constr.datalen; u++) { - uint64_t peers_conv_20 = peers_vals[u]; - LDKMessageForwardNode peers_conv_20_conv; - peers_conv_20_conv.inner = untag_ptr(peers_conv_20); - peers_conv_20_conv.is_owned = ptr_is_owned(peers_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_conv); - peers_conv_20_conv = MessageForwardNode_clone(&peers_conv_20_conv); - peers_constr.data[u] = peers_conv_20_conv; - } - FREE(peers); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = (this_arg_conv->create_compact_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); - return tag_ptr(ret_conv, true); -} - typedef struct LDKRouter_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; - LDKMessageRouter_JCalls* MessageRouter; } LDKRouter_JCalls; static void LDKRouter_JCalls_free(void* this_arg) { LDKRouter_JCalls *j_calls = (LDKRouter_JCalls*) this_arg; @@ -7495,7 +7421,7 @@ LDKCResult_RouteLightningErrorZ find_route_LDKRouter_jcall(const void* this_arg, uint64_t inflight_htlcs_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(inflight_htlcs_var); inflight_htlcs_ref = tag_ptr(inflight_htlcs_var.inner, inflight_htlcs_var.is_owned); - uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 38, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, 0, 0); + uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 35, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RouteLightningErrorZ ret_conv = *(LDKCResult_RouteLightningErrorZ*)(ret_ptr); @@ -7534,7 +7460,7 @@ LDKCResult_RouteLightningErrorZ find_route_with_id_LDKRouter_jcall(const void* t memcpy(_payment_hash_arr->elems, _payment_hash.data, 32); int8_tArray _payment_id_arr = init_int8_tArray(32, __LINE__); memcpy(_payment_id_arr->elems, _payment_id.data, 32); - uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 39, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, (uint32_t)_payment_hash_arr, (uint32_t)_payment_id_arr); + uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 36, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, (uint32_t)_payment_hash_arr, (uint32_t)_payment_id_arr); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RouteLightningErrorZ ret_conv = *(LDKCResult_RouteLightningErrorZ*)(ret_ptr); @@ -7563,7 +7489,7 @@ LDKCResult_CVec_BlindedPaymentPathZNoneZ create_blinded_payment_paths_LDKRouter_ CHECK_INNER_FIELD_ACCESS_OR_NULL(tlvs_var); tlvs_ref = tag_ptr(tlvs_var.inner, tlvs_var.is_owned); int64_t amount_msats_conv = amount_msats; - uint64_t ret = js_invoke_function_uubbuu(j_calls->instance_ptr, 40, (uint32_t)recipient_arr, (uint32_t)first_hops_arr, tlvs_ref, amount_msats_conv, 0, 0); + uint64_t ret = js_invoke_function_uubbuu(j_calls->instance_ptr, 37, (uint32_t)recipient_arr, (uint32_t)first_hops_arr, tlvs_ref, amount_msats_conv, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_BlindedPaymentPathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedPaymentPathZNoneZ*)(ret_ptr); @@ -7573,9 +7499,8 @@ LDKCResult_CVec_BlindedPaymentPathZNoneZ create_blinded_payment_paths_LDKRouter_ static void LDKRouter_JCalls_cloned(LDKRouter* new_obj) { LDKRouter_JCalls *j_calls = (LDKRouter_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); - atomic_fetch_add_explicit(&j_calls->MessageRouter->refcnt, 1, memory_order_release); } -static inline LDKRouter LDKRouter_init (JSValue o, JSValue MessageRouter) { +static inline LDKRouter LDKRouter_init (JSValue o) { LDKRouter_JCalls *calls = MALLOC(sizeof(LDKRouter_JCalls), "LDKRouter_JCalls"); atomic_init(&calls->refcnt, 1); calls->instance_ptr = o; @@ -7586,14 +7511,12 @@ static inline LDKRouter LDKRouter_init (JSValue o, JSValue MessageRouter) { .find_route_with_id = find_route_with_id_LDKRouter_jcall, .create_blinded_payment_paths = create_blinded_payment_paths_LDKRouter_jcall, .free = LDKRouter_JCalls_free, - .MessageRouter = LDKMessageRouter_init(MessageRouter), }; - calls->MessageRouter = ret.MessageRouter.this_arg; return ret; } -uint64_t __attribute__((export_name("TS_LDKRouter_new"))) TS_LDKRouter_new(JSValue o, JSValue MessageRouter) { +uint64_t __attribute__((export_name("TS_LDKRouter_new"))) TS_LDKRouter_new(JSValue o) { LDKRouter *res_ptr = MALLOC(sizeof(LDKRouter), "LDKRouter"); - *res_ptr = LDKRouter_init(o, MessageRouter); + *res_ptr = LDKRouter_init(o); return tag_ptr(res_ptr, true); } uint64_t __attribute__((export_name("TS_Router_find_route"))) TS_Router_find_route(uint64_t this_arg, int8_tArray payer, uint64_t route_params, uint64_tArray first_hops, uint64_t inflight_htlcs) { @@ -7724,6 +7647,272 @@ uint64_t __attribute__((export_name("TS_Router_create_blinded_payment_paths"))) return tag_ptr(ret_conv, true); } +static inline struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ + LDKOnionMessagePath ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_ok"))) TS_CResult_OnionMessagePathNoneZ_get_ok(uint64_t owner) { + LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); + LDKOnionMessagePath ret_var = CResult_OnionMessagePathNoneZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_err"))) TS_CResult_OnionMessagePathNoneZ_get_err(uint64_t owner) { + LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); + CResult_OnionMessagePathNoneZ_get_err(owner_conv); +} + +static inline struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return CVec_BlindedMessagePathZ_clone(&*owner->contents.result); +} +uint64_tArray __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(uint64_t owner) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); + LDKCVec_BlindedMessagePathZ ret_var = CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedMessagePath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(uint64_t owner) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); + CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner_conv); +} + +static inline LDKCVec_MessageForwardNodeZ CVec_MessageForwardNodeZ_clone(const LDKCVec_MessageForwardNodeZ *orig) { + LDKCVec_MessageForwardNodeZ ret = { .data = MALLOC(sizeof(LDKMessageForwardNode) * orig->datalen, "LDKCVec_MessageForwardNodeZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = MessageForwardNode_clone(&orig->data[i]); + } + return ret; +} +typedef struct LDKMessageRouter_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKMessageRouter_JCalls; +static void LDKMessageRouter_JCalls_free(void* this_arg) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCResult_OnionMessagePathNoneZ find_path_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey sender, LDKCVec_PublicKeyZ peers, LDKDestination destination) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray sender_arr = init_int8_tArray(33, __LINE__); + memcpy(sender_arr->elems, sender.compressed_form, 33); + LDKCVec_PublicKeyZ peers_var = peers; + ptrArray peers_arr = NULL; + peers_arr = init_ptrArray(peers_var.datalen, __LINE__); + int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); + for (size_t m = 0; m < peers_var.datalen; m++) { + int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); + memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); + peers_arr_ptr[m] = peers_conv_12_arr; + } + + FREE(peers_var.data); + LDKDestination *destination_copy = MALLOC(sizeof(LDKDestination), "LDKDestination"); + *destination_copy = destination; + uint64_t destination_ref = tag_ptr(destination_copy, true); + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 38, (uint32_t)sender_arr, (uint32_t)peers_arr, destination_ref, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_OnionMessagePathNoneZ ret_conv = *(LDKCResult_OnionMessagePathNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +LDKCResult_CVec_BlindedMessagePathZNoneZ create_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_PublicKeyZ peers) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); + memcpy(recipient_arr->elems, recipient.compressed_form, 33); + LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + LDKCVec_PublicKeyZ peers_var = peers; + ptrArray peers_arr = NULL; + peers_arr = init_ptrArray(peers_var.datalen, __LINE__); + int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); + for (size_t m = 0; m < peers_var.datalen; m++) { + int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); + memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); + peers_arr_ptr[m] = peers_conv_12_arr; + } + + FREE(peers_var.data); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 39, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +LDKCResult_CVec_BlindedMessagePathZNoneZ create_compact_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_MessageForwardNodeZ peers) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); + memcpy(recipient_arr->elems, recipient.compressed_form, 33); + LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + LDKCVec_MessageForwardNodeZ peers_var = peers; + uint64_tArray peers_arr = NULL; + peers_arr = init_uint64_tArray(peers_var.datalen, __LINE__); + uint64_t *peers_arr_ptr = (uint64_t*)(((uint8_t*)peers_arr) + 8); + for (size_t u = 0; u < peers_var.datalen; u++) { + LDKMessageForwardNode peers_conv_20_var = peers_var.data[u]; + uint64_t peers_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_var); + peers_conv_20_ref = tag_ptr(peers_conv_20_var.inner, peers_conv_20_var.is_owned); + peers_arr_ptr[u] = peers_conv_20_ref; + } + + FREE(peers_var.data); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 40, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKMessageRouter_JCalls_cloned(LDKMessageRouter* new_obj) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKMessageRouter LDKMessageRouter_init (JSValue o) { + LDKMessageRouter_JCalls *calls = MALLOC(sizeof(LDKMessageRouter_JCalls), "LDKMessageRouter_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKMessageRouter ret = { + .this_arg = (void*) calls, + .find_path = find_path_LDKMessageRouter_jcall, + .create_blinded_paths = create_blinded_paths_LDKMessageRouter_jcall, + .create_compact_blinded_paths = create_compact_blinded_paths_LDKMessageRouter_jcall, + .free = LDKMessageRouter_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKMessageRouter_new"))) TS_LDKMessageRouter_new(JSValue o) { + LDKMessageRouter *res_ptr = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); + *res_ptr = LDKMessageRouter_init(o); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_MessageRouter_find_path"))) TS_MessageRouter_find_path(uint64_t this_arg, int8_tArray sender, ptrArray peers, uint64_t destination) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey sender_ref; + CHECK(sender->arr_len == 33); + memcpy(sender_ref.compressed_form, sender->elems, 33); FREE(sender); + LDKCVec_PublicKeyZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + peers_constr.data = NULL; + int8_tArray* peers_vals = (void*) peers->elems; + for (size_t m = 0; m < peers_constr.datalen; m++) { + int8_tArray peers_conv_12 = peers_vals[m]; + LDKPublicKey peers_conv_12_ref; + CHECK(peers_conv_12->arr_len == 33); + memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); + peers_constr.data[m] = peers_conv_12_ref; + } + FREE(peers); + void* destination_ptr = untag_ptr(destination); + CHECK_ACCESS(destination_ptr); + LDKDestination destination_conv = *(LDKDestination*)(destination_ptr); + destination_conv = Destination_clone((LDKDestination*)untag_ptr(destination)); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = (this_arg_conv->find_path)(this_arg_conv->this_arg, sender_ref, peers_constr, destination_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_MessageRouter_create_blinded_paths"))) TS_MessageRouter_create_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, ptrArray peers) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey recipient_ref; + CHECK(recipient->arr_len == 33); + memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); + context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); + LDKCVec_PublicKeyZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + peers_constr.data = NULL; + int8_tArray* peers_vals = (void*) peers->elems; + for (size_t m = 0; m < peers_constr.datalen; m++) { + int8_tArray peers_conv_12 = peers_vals[m]; + LDKPublicKey peers_conv_12_ref; + CHECK(peers_conv_12->arr_len == 33); + memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); + peers_constr.data[m] = peers_conv_12_ref; + } + FREE(peers); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = (this_arg_conv->create_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_MessageRouter_create_compact_blinded_paths"))) TS_MessageRouter_create_compact_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, uint64_tArray peers) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey recipient_ref; + CHECK(recipient->arr_len == 33); + memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); + context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); + LDKCVec_MessageForwardNodeZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); + else + peers_constr.data = NULL; + uint64_t* peers_vals = peers->elems; + for (size_t u = 0; u < peers_constr.datalen; u++) { + uint64_t peers_conv_20 = peers_vals[u]; + LDKMessageForwardNode peers_conv_20_conv; + peers_conv_20_conv.inner = untag_ptr(peers_conv_20); + peers_conv_20_conv.is_owned = ptr_is_owned(peers_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_conv); + peers_conv_20_conv = MessageForwardNode_clone(&peers_conv_20_conv); + peers_constr.data[u] = peers_conv_20_conv; + } + FREE(peers); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = (this_arg_conv->create_compact_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); + return tag_ptr(ret_conv, true); +} + static inline struct LDKThirtyTwoBytes C2Tuple_ThirtyTwoBytesChannelManagerZ_get_a(LDKC2Tuple_ThirtyTwoBytesChannelManagerZ *NONNULL_PTR owner){ return ThirtyTwoBytes_clone(&owner->a); } @@ -8164,6 +8353,24 @@ static inline LDKCVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ CVec_C2Tup } return ret; } +static inline bool C2Tuple_boolboolZ_get_a(LDKC2Tuple_boolboolZ *NONNULL_PTR owner){ + return owner->a; +} +jboolean __attribute__((export_name("TS_C2Tuple_boolboolZ_get_a"))) TS_C2Tuple_boolboolZ_get_a(uint64_t owner) { + LDKC2Tuple_boolboolZ* owner_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(owner); + jboolean ret_conv = C2Tuple_boolboolZ_get_a(owner_conv); + return ret_conv; +} + +static inline bool C2Tuple_boolboolZ_get_b(LDKC2Tuple_boolboolZ *NONNULL_PTR owner){ + return owner->b; +} +jboolean __attribute__((export_name("TS_C2Tuple_boolboolZ_get_b"))) TS_C2Tuple_boolboolZ_get_b(uint64_t owner) { + LDKC2Tuple_boolboolZ* owner_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(owner); + jboolean ret_conv = C2Tuple_boolboolZ_get_b(owner_conv); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_LDKBalance_ty_from_ptr"))) TS_LDKBalance_ty_from_ptr(uint64_t ptr) { LDKBalance *obj = (LDKBalance*)untag_ptr(ptr); switch(obj->tag) { @@ -8918,6 +9125,73 @@ uint32_t __attribute__((export_name("TS_CResult_CVec_StrZIOErrorZ_get_err"))) T return ret_conv; } +static inline struct LDKStr C3Tuple_StrStrStrZ_get_a(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->a; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_a"))) TS_C3Tuple_StrStrStrZ_get_a(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_a(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline struct LDKStr C3Tuple_StrStrStrZ_get_b(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->b; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_b"))) TS_C3Tuple_StrStrStrZ_get_b(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_b(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline struct LDKStr C3Tuple_StrStrStrZ_get_c(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->c; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_c"))) TS_C3Tuple_StrStrStrZ_get_c(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_c(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline LDKCVec_C3Tuple_StrStrStrZZ CVec_C3Tuple_StrStrStrZZ_clone(const LDKCVec_C3Tuple_StrStrStrZZ *orig) { + LDKCVec_C3Tuple_StrStrStrZZ ret = { .data = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ) * orig->datalen, "LDKCVec_C3Tuple_StrStrStrZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C3Tuple_StrStrStrZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKCVec_C3Tuple_StrStrStrZZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return CVec_C3Tuple_StrStrStrZZ_clone(&*owner->contents.result); +} +uint64_tArray __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* owner_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(owner); + LDKCVec_C3Tuple_StrStrStrZZ ret_var = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t x = 0; x < ret_var.datalen; x++) { + LDKC3Tuple_StrStrStrZ* ret_conv_23_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv_23_conv = ret_var.data[x]; + ret_arr_ptr[x] = tag_ptr(ret_conv_23_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline enum LDKIOError CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +uint32_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(uint64_t owner) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* owner_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(owner_conv)); + return ret_conv; +} + static inline LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_clone(const LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ *orig) { LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_ThirtyTwoBytesChannelMonitorZ) * orig->datalen, "LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ clone bytes"), .datalen = orig->datalen }; for (size_t i = 0; i < ret.datalen; i++) { @@ -8976,27 +9250,51 @@ uint32_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesChannelMo return ret_conv; } -static inline struct LDKUnsignedInvoiceRequest CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKUnsignedInvoiceRequest ret = *owner->contents.result; +static inline struct LDKMonitorName CResult_MonitorNameIOErrorZ_get_ok(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner){ + LDKMonitorName ret = *owner->contents.result; ret.is_owned = false; return ret; } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* owner_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(owner); - LDKUnsignedInvoiceRequest ret_var = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_get_ok"))) TS_CResult_MonitorNameIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_MonitorNameIOErrorZ* owner_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(owner); + LDKMonitorName ret_var = CResult_MonitorNameIOErrorZ_get_ok(owner_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline enum LDKBolt12SemanticError CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner){ +static inline enum LDKIOError CResult_MonitorNameIOErrorZ_get_err(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return Bolt12SemanticError_clone(&*owner->contents.err); + return *owner->contents.err; +} +uint32_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_get_err"))) TS_CResult_MonitorNameIOErrorZ_get_err(uint64_t owner) { + LDKCResult_MonitorNameIOErrorZ* owner_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_MonitorNameIOErrorZ_get_err(owner_conv)); + return ret_conv; +} + +static inline struct LDKUpdateName CResult_UpdateNameIOErrorZ_get_ok(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner){ + LDKUpdateName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_get_ok"))) TS_CResult_UpdateNameIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_UpdateNameIOErrorZ* owner_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(owner); + LDKUpdateName ret_var = CResult_UpdateNameIOErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline enum LDKIOError CResult_UpdateNameIOErrorZ_get_err(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; } -uint32_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* owner_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(owner_conv)); +uint32_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_get_err"))) TS_CResult_UpdateNameIOErrorZ_get_err(uint64_t owner) { + LDKCResult_UpdateNameIOErrorZ* owner_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_UpdateNameIOErrorZ_get_err(owner_conv)); return ret_conv; } @@ -9095,6 +9393,32 @@ uint32_t __attribute__((export_name("TS_CResult_InvoiceWithDerivedSigningPubkey return ret_conv; } +static inline struct LDKInvoiceRequest CResult_InvoiceRequestDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner){ + LDKInvoiceRequest ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_get_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_InvoiceRequestDecodeErrorZ* owner_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(owner); + LDKInvoiceRequest ret_var = CResult_InvoiceRequestDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_InvoiceRequestDecodeErrorZ_get_err(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_get_err"))) TS_CResult_InvoiceRequestDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_InvoiceRequestDecodeErrorZ* owner_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_InvoiceRequestDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKInvoiceRequestFields CResult_InvoiceRequestFieldsDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestFieldsDecodeErrorZ *NONNULL_PTR owner){ LDKInvoiceRequestFields ret = *owner->contents.result; ret.is_owned = false; @@ -11742,6 +12066,20 @@ static inline LDKCVec_ClaimedHTLCZ CVec_ClaimedHTLCZ_clone(const LDKCVec_Claimed } return ret; } +uint32_t __attribute__((export_name("TS_LDKInboundChannelFunds_ty_from_ptr"))) TS_LDKInboundChannelFunds_ty_from_ptr(uint64_t ptr) { + LDKInboundChannelFunds *obj = (LDKInboundChannelFunds*)untag_ptr(ptr); + switch(obj->tag) { + case LDKInboundChannelFunds_PushMsat: return 0; + case LDKInboundChannelFunds_DualFunded: return 1; + default: abort(); + } +} +int64_t __attribute__((export_name("TS_LDKInboundChannelFunds_PushMsat_get_push_msat"))) TS_LDKInboundChannelFunds_PushMsat_get_push_msat(uint64_t ptr) { + LDKInboundChannelFunds *obj = (LDKInboundChannelFunds*)untag_ptr(ptr); + assert(obj->tag == LDKInboundChannelFunds_PushMsat); + int64_t push_msat_conv = obj->push_msat; + return push_msat_conv; +} uint32_t __attribute__((export_name("TS_LDKBumpTransactionEvent_ty_from_ptr"))) TS_LDKBumpTransactionEvent_ty_from_ptr(uint64_t ptr) { LDKBumpTransactionEvent *obj = (LDKBumpTransactionEvent*)untag_ptr(ptr); switch(obj->tag) { @@ -12042,6 +12380,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimable_get_claim_dead uint64_t claim_deadline_ref = tag_ptr(&obj->payment_claimable.claim_deadline, false); return claim_deadline_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimable_get_payment_id"))) TS_LDKEvent_PaymentClaimable_get_payment_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentClaimable); + uint64_t payment_id_ref = tag_ptr(&obj->payment_claimable.payment_id, false); + return payment_id_ref; +} int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_receiver_node_id"))) TS_LDKEvent_PaymentClaimed_get_receiver_node_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_PaymentClaimed); @@ -12100,6 +12444,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_onion_fields onion_fields_ref = tag_ptr(onion_fields_var.inner, false); return onion_fields_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_payment_id"))) TS_LDKEvent_PaymentClaimed_get_payment_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentClaimed); + uint64_t payment_id_ref = tag_ptr(&obj->payment_claimed.payment_id, false); + return payment_id_ref; +} int8_tArray __attribute__((export_name("TS_LDKEvent_ConnectionNeeded_get_node_id"))) TS_LDKEvent_ConnectionNeeded_get_node_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_ConnectionNeeded); @@ -12402,6 +12752,20 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_next_user_ uint64_t next_user_channel_id_ref = tag_ptr(&obj->payment_forwarded.next_user_channel_id, false); return next_user_channel_id_ref; } +int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_prev_node_id"))) TS_LDKEvent_PaymentForwarded_get_prev_node_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentForwarded); + int8_tArray prev_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(prev_node_id_arr->elems, obj->payment_forwarded.prev_node_id.compressed_form, 33); + return prev_node_id_arr; +} +int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_next_node_id"))) TS_LDKEvent_PaymentForwarded_get_next_node_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentForwarded); + int8_tArray next_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(next_node_id_arr->elems, obj->payment_forwarded.next_node_id.compressed_form, 33); + return next_node_id_arr; +} uint64_t __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_total_fee_earned_msat"))) TS_LDKEvent_PaymentForwarded_get_total_fee_earned_msat(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_PaymentForwarded); @@ -12552,6 +12916,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_ChannelClosed_get_channel_fundi channel_funding_txo_ref = tag_ptr(channel_funding_txo_var.inner, false); return channel_funding_txo_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_ChannelClosed_get_last_local_balance_msat"))) TS_LDKEvent_ChannelClosed_get_last_local_balance_msat(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_ChannelClosed); + uint64_t last_local_balance_msat_ref = tag_ptr(&obj->channel_closed.last_local_balance_msat, false); + return last_local_balance_msat_ref; +} uint64_t __attribute__((export_name("TS_LDKEvent_DiscardFunding_get_channel_id"))) TS_LDKEvent_DiscardFunding_get_channel_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_DiscardFunding); @@ -12589,11 +12959,11 @@ int64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_funding_s int64_t funding_satoshis_conv = obj->open_channel_request.funding_satoshis; return funding_satoshis_conv; } -int64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_push_msat"))) TS_LDKEvent_OpenChannelRequest_get_push_msat(uint64_t ptr) { +uint64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_channel_negotiation_type"))) TS_LDKEvent_OpenChannelRequest_get_channel_negotiation_type(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_OpenChannelRequest); - int64_t push_msat_conv = obj->open_channel_request.push_msat; - return push_msat_conv; + uint64_t channel_negotiation_type_ref = tag_ptr(&obj->open_channel_request.channel_negotiation_type, false); + return channel_negotiation_type_ref; } uint64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_channel_type"))) TS_LDKEvent_OpenChannelRequest_get_channel_type(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); @@ -12734,61 +13104,6 @@ static inline LDKCVec_RouteHintHopZ CVec_RouteHintHopZ_clone(const LDKCVec_Route } return ret; } -uint32_t __attribute__((export_name("TS_LDKBolt11ParseError_ty_from_ptr"))) TS_LDKBolt11ParseError_ty_from_ptr(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKBolt11ParseError_Bech32Error: return 0; - case LDKBolt11ParseError_ParseAmountError: return 1; - case LDKBolt11ParseError_MalformedSignature: return 2; - case LDKBolt11ParseError_BadPrefix: return 3; - case LDKBolt11ParseError_UnknownCurrency: return 4; - case LDKBolt11ParseError_UnknownSiPrefix: return 5; - case LDKBolt11ParseError_MalformedHRP: return 6; - case LDKBolt11ParseError_TooShortDataPart: return 7; - case LDKBolt11ParseError_UnexpectedEndOfTaggedFields: return 8; - case LDKBolt11ParseError_DescriptionDecodeError: return 9; - case LDKBolt11ParseError_PaddingError: return 10; - case LDKBolt11ParseError_IntegerOverflowError: return 11; - case LDKBolt11ParseError_InvalidSegWitProgramLength: return 12; - case LDKBolt11ParseError_InvalidPubKeyHashLength: return 13; - case LDKBolt11ParseError_InvalidScriptHashLength: return 14; - case LDKBolt11ParseError_InvalidRecoveryId: return 15; - case LDKBolt11ParseError_InvalidSliceLength: return 16; - case LDKBolt11ParseError_Skip: return 17; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKBolt11ParseError_Bech32Error_get_bech32_error"))) TS_LDKBolt11ParseError_Bech32Error_get_bech32_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_Bech32Error); - uint64_t bech32_error_ref = tag_ptr(&obj->bech32_error, false); - return bech32_error_ref; -} -int32_t __attribute__((export_name("TS_LDKBolt11ParseError_ParseAmountError_get_parse_amount_error"))) TS_LDKBolt11ParseError_ParseAmountError_get_parse_amount_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_ParseAmountError); - /*obj->parse_amount_error*/ - return 0; -} -uint32_t __attribute__((export_name("TS_LDKBolt11ParseError_MalformedSignature_get_malformed_signature"))) TS_LDKBolt11ParseError_MalformedSignature_get_malformed_signature(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_MalformedSignature); - uint32_t malformed_signature_conv = LDKSecp256k1Error_to_js(obj->malformed_signature); - return malformed_signature_conv; -} -int32_t __attribute__((export_name("TS_LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error"))) TS_LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_DescriptionDecodeError); - /*obj->description_decode_error*/ - return 0; -} -jstring __attribute__((export_name("TS_LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length"))) TS_LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_InvalidSliceLength); - LDKStr invalid_slice_length_str = obj->invalid_slice_length; - jstring invalid_slice_length_conv = str_ref_to_ts(invalid_slice_length_str.chars, invalid_slice_length_str.len); - return invalid_slice_length_conv; -} static inline enum LDKSiPrefix CResult_SiPrefixBolt11ParseErrorZ_get_ok(LDKCResult_SiPrefixBolt11ParseErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return SiPrefix_clone(&*owner->contents.result); @@ -12800,14 +13115,16 @@ uint32_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_get_o } static inline struct LDKBolt11ParseError CResult_SiPrefixBolt11ParseErrorZ_get_err(LDKCResult_SiPrefixBolt11ParseErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt11ParseError_clone(&*owner->contents.err); + LDKBolt11ParseError ret = *owner->contents.err; + ret.is_owned = false; + return ret; } uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_get_err"))) TS_CResult_SiPrefixBolt11ParseErrorZ_get_err(uint64_t owner) { LDKCResult_SiPrefixBolt11ParseErrorZ* owner_conv = (LDKCResult_SiPrefixBolt11ParseErrorZ*)untag_ptr(owner); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = CResult_SiPrefixBolt11ParseErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = CResult_SiPrefixBolt11ParseErrorZ_get_err(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } @@ -12822,7 +13139,10 @@ uint32_t __attribute__((export_name("TS_LDKParseOrSemanticError_ty_from_ptr"))) uint64_t __attribute__((export_name("TS_LDKParseOrSemanticError_ParseError_get_parse_error"))) TS_LDKParseOrSemanticError_ParseError_get_parse_error(uint64_t ptr) { LDKParseOrSemanticError *obj = (LDKParseOrSemanticError*)untag_ptr(ptr); assert(obj->tag == LDKParseOrSemanticError_ParseError); - uint64_t parse_error_ref = tag_ptr(&obj->parse_error, false); + LDKBolt11ParseError parse_error_var = obj->parse_error; + uint64_t parse_error_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(parse_error_var); + parse_error_ref = tag_ptr(parse_error_var.inner, false); return parse_error_ref; } uint32_t __attribute__((export_name("TS_LDKParseOrSemanticError_SemanticError_get_semantic_error"))) TS_LDKParseOrSemanticError_SemanticError_get_semantic_error(uint64_t ptr) { @@ -12872,14 +13192,16 @@ uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11Par } static inline struct LDKBolt11ParseError CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt11ParseError_clone(&*owner->contents.err); + LDKBolt11ParseError ret = *owner->contents.err; + ret.is_owned = false; + return ret; } uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err"))) TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(uint64_t owner) { LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ* owner_conv = (LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ*)untag_ptr(owner); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } @@ -13246,6 +13568,188 @@ uint64_t __attribute__((export_name("TS_CResult_ChannelIdDecodeErrorZ_get_err") return ret_ref; } +static inline struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKInitFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKInitFeatures ret_var = CResult_InitFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_err"))) TS_CResult_InitFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_InitFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKChannelFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKChannelFeatures ret_var = CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_ChannelFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKNodeFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKNodeFeatures ret_var = CResult_NodeFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_NodeFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBolt11InvoiceFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBolt11InvoiceFeatures ret_var = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBolt12InvoiceFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBolt12InvoiceFeatures ret_var = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBlindedHopFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBlindedHopFeatures ret_var = CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKChannelTypeFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKChannelTypeFeatures ret_var = CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKThirtyTwoBytes C2Tuple__u832u16Z_get_a(LDKC2Tuple__u832u16Z *NONNULL_PTR owner){ return ThirtyTwoBytes_clone(&owner->a); } @@ -13397,32 +13901,6 @@ uint64_t __attribute__((export_name("TS_CResult_PaymentContextDecodeErrorZ_get_ return ret_ref; } -static inline struct LDKUnknownPaymentContext CResult_UnknownPaymentContextDecodeErrorZ_get_ok(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner){ - LDKUnknownPaymentContext ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_get_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* owner_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(owner); - LDKUnknownPaymentContext ret_var = CResult_UnknownPaymentContextDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_UnknownPaymentContextDecodeErrorZ_get_err(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_get_err"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* owner_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_UnknownPaymentContextDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKBolt12OfferContext CResult_Bolt12OfferContextDecodeErrorZ_get_ok(LDKCResult_Bolt12OfferContextDecodeErrorZ *NONNULL_PTR owner){ LDKBolt12OfferContext ret = *owner->contents.result; ret.is_owned = false; @@ -13627,7 +14105,8 @@ uint32_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_ty_from_pt LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); switch(obj->tag) { case LDKParsedOnionMessageContents_Offers: return 0; - case LDKParsedOnionMessageContents_Custom: return 1; + case LDKParsedOnionMessageContents_DNSResolver: return 1; + case LDKParsedOnionMessageContents_Custom: return 2; default: abort(); } } @@ -13637,6 +14116,12 @@ uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_Offers_get uint64_t offers_ref = tag_ptr(&obj->offers, false); return offers_ref; } +uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver"))) TS_LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver(uint64_t ptr) { + LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); + assert(obj->tag == LDKParsedOnionMessageContents_DNSResolver); + uint64_t dns_resolver_ref = tag_ptr(&obj->dns_resolver, false); + return dns_resolver_ref; +} uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_Custom_get_custom"))) TS_LDKParsedOnionMessageContents_Custom_get_custom(uint64_t ptr) { LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); assert(obj->tag == LDKParsedOnionMessageContents_Custom); @@ -13802,46 +14287,6 @@ static inline LDKCVec_PhantomRouteHintsZ CVec_PhantomRouteHintsZ_clone(const LDK } return ret; } -uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_ty_from_ptr"))) TS_LDKSignOrCreationError_ty_from_ptr(uint64_t ptr) { - LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKSignOrCreationError_SignError: return 0; - case LDKSignOrCreationError_CreationError: return 1; - default: abort(); - } -} -uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_CreationError_get_creation_error"))) TS_LDKSignOrCreationError_CreationError_get_creation_error(uint64_t ptr) { - LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); - assert(obj->tag == LDKSignOrCreationError_CreationError); - uint32_t creation_error_conv = LDKCreationError_to_js(obj->creation_error); - return creation_error_conv; -} -static inline struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ - LDKBolt11Invoice ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); - LDKBolt11Invoice ret_var = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return SignOrCreationError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); - LDKSignOrCreationError *ret_copy = MALLOC(sizeof(LDKSignOrCreationError), "LDKSignOrCreationError"); - *ret_copy = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKInvoiceError CResult_InvoiceErrorDecodeErrorZ_get_ok(LDKCResult_InvoiceErrorDecodeErrorZ *NONNULL_PTR owner){ LDKInvoiceError ret = *owner->contents.result; ret.is_owned = false; @@ -14844,6 +15289,109 @@ uint64_t __attribute__((export_name("TS_CResult_OffersContextDecodeErrorZ_get_e return ret_ref; } +static inline struct LDKAsyncPaymentsContext CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return AsyncPaymentsContext_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* owner_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(owner); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_AsyncPaymentsContextDecodeErrorZ_get_err(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_err"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* owner_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_AsyncPaymentsContextDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDNSResolverContext CResult_DNSResolverContextDecodeErrorZ_get_ok(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner){ + LDKDNSResolverContext ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_get_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_DNSResolverContextDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(owner); + LDKDNSResolverContext ret_var = CResult_DNSResolverContextDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_DNSResolverContextDecodeErrorZ_get_err(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_get_err"))) TS_CResult_DNSResolverContextDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_DNSResolverContextDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_DNSResolverContextDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +typedef struct LDKMigratableKVStore_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; + LDKKVStore_JCalls* KVStore; +} LDKMigratableKVStore_JCalls; +static void LDKMigratableKVStore_JCalls_free(void* this_arg) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ list_all_keys_LDKMigratableKVStore_jcall(const void* this_arg) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) this_arg; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 56, 0, 0, 0, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ ret_conv = *(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKMigratableKVStore_JCalls_cloned(LDKMigratableKVStore* new_obj) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); + atomic_fetch_add_explicit(&j_calls->KVStore->refcnt, 1, memory_order_release); +} +static inline LDKMigratableKVStore LDKMigratableKVStore_init (JSValue o, JSValue KVStore) { + LDKMigratableKVStore_JCalls *calls = MALLOC(sizeof(LDKMigratableKVStore_JCalls), "LDKMigratableKVStore_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKMigratableKVStore ret = { + .this_arg = (void*) calls, + .list_all_keys = list_all_keys_LDKMigratableKVStore_jcall, + .free = LDKMigratableKVStore_JCalls_free, + .KVStore = LDKKVStore_init(KVStore), + }; + calls->KVStore = ret.KVStore.this_arg; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKMigratableKVStore_new"))) TS_LDKMigratableKVStore_new(JSValue o, JSValue KVStore) { + LDKMigratableKVStore *res_ptr = MALLOC(sizeof(LDKMigratableKVStore), "LDKMigratableKVStore"); + *res_ptr = LDKMigratableKVStore_init(o, KVStore); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_MigratableKVStore_list_all_keys"))) TS_MigratableKVStore_list_all_keys(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMigratableKVStore* this_arg_conv = (LDKMigratableKVStore*)this_arg_ptr; + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = (this_arg_conv->list_all_keys)(this_arg_conv->this_arg); + return tag_ptr(ret_conv, true); +} + uint32_t __attribute__((export_name("TS_LDKCandidateRouteHop_ty_from_ptr"))) TS_LDKCandidateRouteHop_ty_from_ptr(uint64_t ptr) { LDKCandidateRouteHop *obj = (LDKCandidateRouteHop*)untag_ptr(ptr); switch(obj->tag) { @@ -14924,7 +15472,7 @@ uint64_t channel_penalty_msat_LDKScoreLookUp_jcall(const void* this_arg, const L score_params_var = ProbabilisticScoringFeeParameters_clone(&score_params_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(score_params_var); score_params_ref = tag_ptr(score_params_var.inner, score_params_var.is_owned); - return js_invoke_function_bbbuuu(j_calls->instance_ptr, 56, ref_candidate, usage_ref, score_params_ref, 0, 0, 0); + return js_invoke_function_bbbuuu(j_calls->instance_ptr, 57, ref_candidate, usage_ref, score_params_ref, 0, 0, 0); } static void LDKScoreLookUp_JCalls_cloned(LDKScoreLookUp* new_obj) { LDKScoreLookUp_JCalls *j_calls = (LDKScoreLookUp_JCalls*) new_obj->this_arg; @@ -14985,7 +15533,7 @@ void payment_path_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * pa path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t short_channel_id_conv = short_channel_id; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbbuuu(j_calls->instance_ptr, 57, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); + js_invoke_function_bbbuuu(j_calls->instance_ptr, 58, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); } void payment_path_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -14995,7 +15543,7 @@ void payment_path_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath CHECK_INNER_FIELD_ACCESS_OR_NULL(path_var); path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbuuuu(j_calls->instance_ptr, 58, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 59, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); } void probe_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t short_channel_id, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -15006,7 +15554,7 @@ void probe_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uin path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t short_channel_id_conv = short_channel_id; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbbuuu(j_calls->instance_ptr, 59, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); + js_invoke_function_bbbuuu(j_calls->instance_ptr, 60, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); } void probe_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -15016,12 +15564,12 @@ void probe_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, CHECK_INNER_FIELD_ACCESS_OR_NULL(path_var); path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbuuuu(j_calls->instance_ptr, 60, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 61, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); } void time_passed_LDKScoreUpdate_jcall(void* this_arg, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_buuuuu(j_calls->instance_ptr, 61, duration_since_epoch_conv, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 62, duration_since_epoch_conv, 0, 0, 0, 0, 0); } static void LDKScoreUpdate_JCalls_cloned(LDKScoreUpdate* new_obj) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) new_obj->this_arg; @@ -15115,7 +15663,7 @@ static void LDKLockableScore_JCalls_free(void* this_arg) { } LDKScoreLookUp read_lock_LDKLockableScore_jcall(const void* this_arg) { LDKLockableScore_JCalls *j_calls = (LDKLockableScore_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 62, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 63, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKScoreLookUp ret_conv = *(LDKScoreLookUp*)(ret_ptr); @@ -15128,7 +15676,7 @@ LDKScoreLookUp read_lock_LDKLockableScore_jcall(const void* this_arg) { } LDKScoreUpdate write_lock_LDKLockableScore_jcall(const void* this_arg) { LDKLockableScore_JCalls *j_calls = (LDKLockableScore_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 63, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 64, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKScoreUpdate ret_conv = *(LDKScoreUpdate*)(ret_ptr); @@ -15192,7 +15740,7 @@ static void LDKWriteableScore_JCalls_free(void* this_arg) { } LDKCVec_u8Z write_LDKWriteableScore_jcall(const void* this_arg) { LDKWriteableScore_JCalls *j_calls = (LDKWriteableScore_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 64, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 65, 0, 0, 0, 0, 0, 0); LDKCVec_u8Z ret_ref; ret_ref.datalen = ret->arr_len; ret_ref.data = MALLOC(ret_ref.datalen, "LDKCVec_u8Z Bytes"); @@ -15251,7 +15799,7 @@ LDKCResult_NoneIOErrorZ persist_manager_LDKPersister_jcall(const void* this_arg, // WARNING: we may need a move here but no clone is available for LDKChannelManager CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_manager_var); channel_manager_ref = tag_ptr(channel_manager_var.inner, channel_manager_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 65, channel_manager_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 66, channel_manager_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15265,7 +15813,7 @@ LDKCResult_NoneIOErrorZ persist_graph_LDKPersister_jcall(const void* this_arg, c // WARNING: we may need a move here but no clone is available for LDKNetworkGraph CHECK_INNER_FIELD_ACCESS_OR_NULL(network_graph_var); network_graph_ref = tag_ptr(network_graph_var.inner, network_graph_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 66, network_graph_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 67, network_graph_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15276,7 +15824,7 @@ LDKCResult_NoneIOErrorZ persist_scorer_LDKPersister_jcall(const void* this_arg, LDKPersister_JCalls *j_calls = (LDKPersister_JCalls*) this_arg; // WARNING: This object doesn't live past this scope, needs clone! uint64_t ret_scorer = tag_ptr(scorer, false); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 67, ret_scorer, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 68, ret_scorer, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15367,7 +15915,7 @@ LDKChannelMonitorUpdateStatus persist_new_channel_LDKPersist_jcall(const void* t monitor_var = ChannelMonitor_clone(&monitor_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 68, channel_funding_outpoint_ref, monitor_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 69, channel_funding_outpoint_ref, monitor_ref, 0, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } @@ -15386,7 +15934,7 @@ LDKChannelMonitorUpdateStatus update_persisted_channel_LDKPersist_jcall(const vo monitor_var = ChannelMonitor_clone(&monitor_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 69, channel_funding_outpoint_ref, monitor_update_ref, monitor_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 70, channel_funding_outpoint_ref, monitor_update_ref, monitor_ref, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } @@ -15396,7 +15944,7 @@ void archive_persisted_channel_LDKPersist_jcall(const void* this_arg, LDKOutPoin uint64_t channel_funding_outpoint_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_funding_outpoint_var); channel_funding_outpoint_ref = tag_ptr(channel_funding_outpoint_var.inner, channel_funding_outpoint_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 70, channel_funding_outpoint_ref, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 71, channel_funding_outpoint_ref, 0, 0, 0, 0, 0); } static void LDKPersist_JCalls_cloned(LDKPersist* new_obj) { LDKPersist_JCalls *j_calls = (LDKPersist_JCalls*) new_obj->this_arg; @@ -15500,7 +16048,7 @@ void filtered_block_connected_LDKListen_jcall(const void* this_arg, const uint8_ FREE(txdata_var.data); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 71, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 72, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); } void block_connected_LDKListen_jcall(const void* this_arg, LDKu8slice block, uint32_t height) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) this_arg; @@ -15508,14 +16056,14 @@ void block_connected_LDKListen_jcall(const void* this_arg, LDKu8slice block, uin int8_tArray block_arr = init_int8_tArray(block_var.datalen, __LINE__); memcpy(block_arr->elems, block_var.data, block_var.datalen); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 72, (uint32_t)block_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 73, (uint32_t)block_arr, height_conv, 0, 0, 0, 0); } void block_disconnected_LDKListen_jcall(const void* this_arg, const uint8_t (* header)[80], uint32_t height) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) this_arg; int8_tArray header_arr = init_int8_tArray(80, __LINE__); memcpy(header_arr->elems, *header, 80); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 73, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 74, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); } static void LDKListen_JCalls_cloned(LDKListen* new_obj) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) new_obj->this_arg; @@ -15615,24 +16163,24 @@ void transactions_confirmed_LDKConfirm_jcall(const void* this_arg, const uint8_t FREE(txdata_var.data); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 74, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 75, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); } void transaction_unconfirmed_LDKConfirm_jcall(const void* this_arg, const uint8_t (* txid)[32]) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; int8_tArray txid_arr = init_int8_tArray(32, __LINE__); memcpy(txid_arr->elems, *txid, 32); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 75, (uint32_t)txid_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 76, (uint32_t)txid_arr, 0, 0, 0, 0, 0); } void best_block_updated_LDKConfirm_jcall(const void* this_arg, const uint8_t (* header)[80], uint32_t height) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; int8_tArray header_arr = init_int8_tArray(80, __LINE__); memcpy(header_arr->elems, *header, 80); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 76, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 77, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); } LDKCVec_C3Tuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZZ get_relevant_txids_LDKConfirm_jcall(const void* this_arg) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 77, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 78, 0, 0, 0, 0, 0, 0); LDKCVec_C3Tuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -15774,7 +16322,7 @@ static void LDKFutureCallback_JCalls_free(void* this_arg) { } void call_LDKFutureCallback_jcall(const void* this_arg) { LDKFutureCallback_JCalls *j_calls = (LDKFutureCallback_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 78, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 79, 0, 0, 0, 0, 0, 0); } static void LDKFutureCallback_JCalls_cloned(LDKFutureCallback* new_obj) { LDKFutureCallback_JCalls *j_calls = (LDKFutureCallback_JCalls*) new_obj->this_arg; @@ -15819,7 +16367,7 @@ LDKCResult_NoneReplayEventZ handle_event_LDKEventHandler_jcall(const void* this_ LDKEvent *event_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); *event_copy = event; uint64_t event_ref = tag_ptr(event_copy, true); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 79, event_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 80, event_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneReplayEventZ ret_conv = *(LDKCResult_NoneReplayEventZ*)(ret_ptr); @@ -15874,7 +16422,7 @@ void process_pending_events_LDKEventsProvider_jcall(const void* this_arg, LDKEve LDKEventsProvider_JCalls *j_calls = (LDKEventsProvider_JCalls*) this_arg; LDKEventHandler* handler_ret = MALLOC(sizeof(LDKEventHandler), "LDKEventHandler"); *handler_ret = handler; - js_invoke_function_buuuuu(j_calls->instance_ptr, 80, tag_ptr(handler_ret, true), 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 81, tag_ptr(handler_ret, true), 0, 0, 0, 0, 0); } static void LDKEventsProvider_JCalls_cloned(LDKEventsProvider* new_obj) { LDKEventsProvider_JCalls *j_calls = (LDKEventsProvider_JCalls*) new_obj->this_arg; @@ -15911,6 +16459,116 @@ void __attribute__((export_name("TS_EventsProvider_process_pending_events"))) T (this_arg_conv->process_pending_events)(this_arg_conv->this_arg, handler_conv); } +typedef struct LDKVerification_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKVerification_JCalls; +static void LDKVerification_JCalls_free(void* this_arg) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKThirtyTwoBytes hmac_for_offer_payment_LDKVerification_jcall(const void* this_arg, LDKNonce nonce, const LDKExpandedKey * expanded_key) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + LDKNonce nonce_var = nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, nonce_var.is_owned); + LDKExpandedKey expanded_key_var = *expanded_key; + uint64_t expanded_key_ref = 0; + expanded_key_var = ExpandedKey_clone(&expanded_key_var); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_var); + expanded_key_ref = tag_ptr(expanded_key_var.inner, expanded_key_var.is_owned); + int8_tArray ret = (int8_tArray)js_invoke_function_bbuuuu(j_calls->instance_ptr, 82, nonce_ref, expanded_key_ref, 0, 0, 0, 0); + LDKThirtyTwoBytes ret_ref; + CHECK(ret->arr_len == 32); + memcpy(ret_ref.data, ret->elems, 32); FREE(ret); + return ret_ref; +} +LDKCResult_NoneNoneZ verify_for_offer_payment_LDKVerification_jcall(const void* this_arg, LDKThirtyTwoBytes hmac, LDKNonce nonce, const LDKExpandedKey * expanded_key) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, hmac.data, 32); + LDKNonce nonce_var = nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, nonce_var.is_owned); + LDKExpandedKey expanded_key_var = *expanded_key; + uint64_t expanded_key_ref = 0; + expanded_key_var = ExpandedKey_clone(&expanded_key_var); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_var); + expanded_key_ref = tag_ptr(expanded_key_var.inner, expanded_key_var.is_owned); + uint64_t ret = js_invoke_function_ubbuuu(j_calls->instance_ptr, 83, (uint32_t)hmac_arr, nonce_ref, expanded_key_ref, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKVerification_JCalls_cloned(LDKVerification* new_obj) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKVerification LDKVerification_init (JSValue o) { + LDKVerification_JCalls *calls = MALLOC(sizeof(LDKVerification_JCalls), "LDKVerification_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKVerification ret = { + .this_arg = (void*) calls, + .hmac_for_offer_payment = hmac_for_offer_payment_LDKVerification_jcall, + .verify_for_offer_payment = verify_for_offer_payment_LDKVerification_jcall, + .free = LDKVerification_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKVerification_new"))) TS_LDKVerification_new(JSValue o) { + LDKVerification *res_ptr = MALLOC(sizeof(LDKVerification), "LDKVerification"); + *res_ptr = LDKVerification_init(o); + return tag_ptr(res_ptr, true); +} +int8_tArray __attribute__((export_name("TS_Verification_hmac_for_offer_payment"))) TS_Verification_hmac_for_offer_payment(uint64_t this_arg, uint64_t nonce, uint64_t expanded_key) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKVerification* this_arg_conv = (LDKVerification*)this_arg_ptr; + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(32, __LINE__); + memcpy(ret_arr->elems, (this_arg_conv->hmac_for_offer_payment)(this_arg_conv->this_arg, nonce_conv, &expanded_key_conv).data, 32); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Verification_verify_for_offer_payment"))) TS_Verification_verify_for_offer_payment(uint64_t this_arg, int8_tArray hmac, uint64_t nonce, uint64_t expanded_key) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKVerification* this_arg_conv = (LDKVerification*)this_arg_ptr; + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + LDKCResult_NoneNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneNoneZ), "LDKCResult_NoneNoneZ"); + *ret_conv = (this_arg_conv->verify_for_offer_payment)(this_arg_conv->this_arg, hmac_ref, nonce_conv, &expanded_key_conv); + return tag_ptr(ret_conv, true); +} + uint32_t __attribute__((export_name("TS_LDKFailureCode_ty_from_ptr"))) TS_LDKFailureCode_ty_from_ptr(uint64_t ptr) { LDKFailureCode *obj = (LDKFailureCode*)untag_ptr(ptr); switch(obj->tag) { @@ -15927,6 +16585,32 @@ uint64_t __attribute__((export_name("TS_LDKFailureCode_InvalidOnionPayload_get_i uint64_t invalid_onion_payload_ref = tag_ptr(&obj->invalid_onion_payload, false); return invalid_onion_payload_ref; } +uint32_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_ty_from_ptr"))) TS_LDKBolt11InvoiceDescription_ty_from_ptr(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + switch(obj->tag) { + case LDKBolt11InvoiceDescription_Direct: return 0; + case LDKBolt11InvoiceDescription_Hash: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_Direct_get_direct"))) TS_LDKBolt11InvoiceDescription_Direct_get_direct(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + assert(obj->tag == LDKBolt11InvoiceDescription_Direct); + LDKDescription direct_var = obj->direct; + uint64_t direct_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(direct_var); + direct_ref = tag_ptr(direct_var.inner, false); + return direct_ref; +} +uint64_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_Hash_get_hash"))) TS_LDKBolt11InvoiceDescription_Hash_get_hash(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + assert(obj->tag == LDKBolt11InvoiceDescription_Hash); + LDKSha256 hash_var = obj->hash; + uint64_t hash_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(hash_var); + hash_ref = tag_ptr(hash_var.inner, false); + return hash_ref; +} typedef struct LDKMessageSendEventsProvider_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -15939,7 +16623,7 @@ static void LDKMessageSendEventsProvider_JCalls_free(void* this_arg) { } LDKCVec_MessageSendEventZ get_and_clear_pending_msg_events_LDKMessageSendEventsProvider_jcall(const void* this_arg) { LDKMessageSendEventsProvider_JCalls *j_calls = (LDKMessageSendEventsProvider_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 81, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 84, 0, 0, 0, 0, 0, 0); LDKCVec_MessageSendEventZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -16018,7 +16702,7 @@ void handle_open_channel_LDKChannelMessageHandler_jcall(const void* this_arg, LD msg_var = OpenChannel_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 82, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 85, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_open_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKOpenChannelV2 * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16029,7 +16713,7 @@ void handle_open_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = OpenChannelV2_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 83, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 86, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_accept_channel_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAcceptChannel * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16040,7 +16724,7 @@ void handle_accept_channel_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = AcceptChannel_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 84, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 87, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_accept_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAcceptChannelV2 * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16051,7 +16735,7 @@ void handle_accept_channel_v2_LDKChannelMessageHandler_jcall(const void* this_ar msg_var = AcceptChannelV2_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 85, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 88, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_funding_created_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKFundingCreated * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16062,7 +16746,7 @@ void handle_funding_created_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = FundingCreated_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 86, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 89, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_funding_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKFundingSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16073,7 +16757,7 @@ void handle_funding_signed_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = FundingSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 87, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 90, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_channel_ready_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelReady * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16084,7 +16768,7 @@ void handle_channel_ready_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = ChannelReady_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 88, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 91, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_shutdown_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKShutdown * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16095,7 +16779,7 @@ void handle_shutdown_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPub msg_var = Shutdown_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 89, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 92, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_closing_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKClosingSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16106,7 +16790,7 @@ void handle_closing_signed_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = ClosingSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 90, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 93, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_stfu_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKStfu * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16117,7 +16801,7 @@ void handle_stfu_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicK msg_var = Stfu_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 91, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 94, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_add_input_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAddInput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16128,7 +16812,7 @@ void handle_tx_add_input_LDKChannelMessageHandler_jcall(const void* this_arg, LD msg_var = TxAddInput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 92, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 95, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_add_output_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAddOutput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16139,7 +16823,7 @@ void handle_tx_add_output_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = TxAddOutput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 93, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 96, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_remove_input_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxRemoveInput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16150,7 +16834,7 @@ void handle_tx_remove_input_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = TxRemoveInput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 94, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 97, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_remove_output_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxRemoveOutput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16161,7 +16845,7 @@ void handle_tx_remove_output_LDKChannelMessageHandler_jcall(const void* this_arg msg_var = TxRemoveOutput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 95, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 98, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_complete_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxComplete * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16172,7 +16856,7 @@ void handle_tx_complete_LDKChannelMessageHandler_jcall(const void* this_arg, LDK msg_var = TxComplete_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 96, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 99, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxSignatures * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16183,7 +16867,7 @@ void handle_tx_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = TxSignatures_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 97, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 100, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_init_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxInitRbf * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16194,7 +16878,7 @@ void handle_tx_init_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDK msg_var = TxInitRbf_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 98, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 101, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_ack_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAckRbf * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16205,7 +16889,7 @@ void handle_tx_ack_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKP msg_var = TxAckRbf_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 99, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 102, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_abort_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAbort * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16216,7 +16900,7 @@ void handle_tx_abort_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPub msg_var = TxAbort_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 100, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 103, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_add_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateAddHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16227,7 +16911,7 @@ void handle_update_add_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = UpdateAddHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 101, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 104, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fulfill_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFulfillHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16238,7 +16922,7 @@ void handle_update_fulfill_htlc_LDKChannelMessageHandler_jcall(const void* this_ msg_var = UpdateFulfillHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 102, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 105, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fail_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFailHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16249,7 +16933,7 @@ void handle_update_fail_htlc_LDKChannelMessageHandler_jcall(const void* this_arg msg_var = UpdateFailHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 103, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 106, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fail_malformed_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFailMalformedHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16260,7 +16944,7 @@ void handle_update_fail_malformed_htlc_LDKChannelMessageHandler_jcall(const void msg_var = UpdateFailMalformedHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 104, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 107, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_commitment_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKCommitmentSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16271,7 +16955,7 @@ void handle_commitment_signed_LDKChannelMessageHandler_jcall(const void* this_ar msg_var = CommitmentSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 105, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 108, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_revoke_and_ack_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKRevokeAndACK * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16282,7 +16966,7 @@ void handle_revoke_and_ack_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = RevokeAndACK_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 106, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 109, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fee_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFee * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16293,7 +16977,7 @@ void handle_update_fee_LDKChannelMessageHandler_jcall(const void* this_arg, LDKP msg_var = UpdateFee_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 107, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 110, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_announcement_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAnnouncementSignatures * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16304,13 +16988,13 @@ void handle_announcement_signatures_LDKChannelMessageHandler_jcall(const void* t msg_var = AnnouncementSignatures_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 108, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 111, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void peer_disconnected_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 109, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 112, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } LDKCResult_NoneNoneZ peer_connected_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKInit * msg, bool inbound) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16322,7 +17006,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKChannelMessageHandler_jcall(const void* t CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 110, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 113, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -16338,7 +17022,7 @@ void handle_channel_reestablish_LDKChannelMessageHandler_jcall(const void* this_ msg_var = ChannelReestablish_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 111, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 114, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_channel_update_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelUpdate * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16349,7 +17033,7 @@ void handle_channel_update_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = ChannelUpdate_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 112, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 115, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_error_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKErrorMessage * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16360,11 +17044,11 @@ void handle_error_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublic msg_var = ErrorMessage_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 113, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 116, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKChannelMessageHandler_jcall(const void* this_arg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 114, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 117, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -16375,7 +17059,7 @@ LDKInitFeatures provided_init_features_LDKChannelMessageHandler_jcall(const void LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 115, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 118, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -16384,13 +17068,17 @@ LDKInitFeatures provided_init_features_LDKChannelMessageHandler_jcall(const void } LDKCOption_CVec_ThirtyTwoBytesZZ get_chain_hashes_LDKChannelMessageHandler_jcall(const void* this_arg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 116, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 119, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_CVec_ThirtyTwoBytesZZ ret_conv = *(LDKCOption_CVec_ThirtyTwoBytesZZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } +void message_received_LDKChannelMessageHandler_jcall(const void* this_arg) { + LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; + js_invoke_function_uuuuuu(j_calls->instance_ptr, 120, 0, 0, 0, 0, 0, 0); +} static void LDKChannelMessageHandler_JCalls_cloned(LDKChannelMessageHandler* new_obj) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); @@ -16438,6 +17126,7 @@ static inline LDKChannelMessageHandler LDKChannelMessageHandler_init (JSValue o, .provided_node_features = provided_node_features_LDKChannelMessageHandler_jcall, .provided_init_features = provided_init_features_LDKChannelMessageHandler_jcall, .get_chain_hashes = get_chain_hashes_LDKChannelMessageHandler_jcall, + .message_received = message_received_LDKChannelMessageHandler_jcall, .free = LDKChannelMessageHandler_JCalls_free, .MessageSendEventsProvider = LDKMessageSendEventsProvider_init(MessageSendEventsProvider), }; @@ -16961,6 +17650,13 @@ uint64_t __attribute__((export_name("TS_ChannelMessageHandler_get_chain_hashes" return ret_ref; } +void __attribute__((export_name("TS_ChannelMessageHandler_message_received"))) TS_ChannelMessageHandler_message_received(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKChannelMessageHandler* this_arg_conv = (LDKChannelMessageHandler*)this_arg_ptr; + (this_arg_conv->message_received)(this_arg_conv->this_arg); +} + typedef struct LDKOffersMessageHandler_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -16983,7 +17679,7 @@ LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ handle_message_LDKOffersMe uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 117, message_ref, context_ref, responder_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 121, message_ref, context_ref, responder_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ*)(ret_ptr); @@ -16992,7 +17688,7 @@ LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ handle_message_LDKOffersMe } LDKCVec_C2Tuple_OffersMessageMessageSendInstructionsZZ release_pending_messages_LDKOffersMessageHandler_jcall(const void* this_arg) { LDKOffersMessageHandler_JCalls *j_calls = (LDKOffersMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 118, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 122, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_OffersMessageMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17084,7 +17780,7 @@ static void LDKAsyncPaymentsMessageHandler_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKHeldHtlcAvailable message, LDKResponder responder) { +LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ handle_held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKHeldHtlcAvailable message, LDKResponder responder) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; LDKHeldHtlcAvailable message_var = message; uint64_t message_ref = 0; @@ -17094,24 +17790,27 @@ LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ held_htlc_available_LDKA uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 119, message_ref, responder_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 123, message_ref, responder_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -void release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKReleaseHeldHtlc message) { +void handle_release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKReleaseHeldHtlc message, LDKAsyncPaymentsContext context) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; LDKReleaseHeldHtlc message_var = message; uint64_t message_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 120, message_ref, 0, 0, 0, 0, 0); + LDKAsyncPaymentsContext *context_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 124, message_ref, context_ref, 0, 0, 0, 0); } LDKCVec_C2Tuple_AsyncPaymentsMessageMessageSendInstructionsZZ release_pending_messages_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 121, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 125, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_AsyncPaymentsMessageMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17141,8 +17840,8 @@ static inline LDKAsyncPaymentsMessageHandler LDKAsyncPaymentsMessageHandler_init LDKAsyncPaymentsMessageHandler ret = { .this_arg = (void*) calls, - .held_htlc_available = held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall, - .release_held_htlc = release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall, + .handle_held_htlc_available = handle_held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall, + .handle_release_held_htlc = handle_release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall, .release_pending_messages = release_pending_messages_LDKAsyncPaymentsMessageHandler_jcall, .free = LDKAsyncPaymentsMessageHandler_JCalls_free, }; @@ -17153,7 +17852,7 @@ uint64_t __attribute__((export_name("TS_LDKAsyncPaymentsMessageHandler_new"))) *res_ptr = LDKAsyncPaymentsMessageHandler_init(o); return tag_ptr(res_ptr, true); } -uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_held_htlc_available"))) TS_AsyncPaymentsMessageHandler_held_htlc_available(uint64_t this_arg, uint64_t message, uint64_t responder) { +uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_handle_held_htlc_available"))) TS_AsyncPaymentsMessageHandler_handle_held_htlc_available(uint64_t this_arg, uint64_t message, uint64_t responder) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKAsyncPaymentsMessageHandler* this_arg_conv = (LDKAsyncPaymentsMessageHandler*)this_arg_ptr; @@ -17168,12 +17867,12 @@ uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_held_htlc_a CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_conv); responder_conv = Responder_clone(&responder_conv); LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ), "LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ"); - *ret_copy = (this_arg_conv->held_htlc_available)(this_arg_conv->this_arg, message_conv, responder_conv); + *ret_copy = (this_arg_conv->handle_held_htlc_available)(this_arg_conv->this_arg, message_conv, responder_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_held_htlc"))) TS_AsyncPaymentsMessageHandler_release_held_htlc(uint64_t this_arg, uint64_t message) { +void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_handle_release_held_htlc"))) TS_AsyncPaymentsMessageHandler_handle_release_held_htlc(uint64_t this_arg, uint64_t message, uint64_t context) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKAsyncPaymentsMessageHandler* this_arg_conv = (LDKAsyncPaymentsMessageHandler*)this_arg_ptr; @@ -17182,7 +17881,11 @@ void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_held_ht message_conv.is_owned = ptr_is_owned(message); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); message_conv = ReleaseHeldHtlc_clone(&message_conv); - (this_arg_conv->release_held_htlc)(this_arg_conv->this_arg, message_conv); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKAsyncPaymentsContext context_conv = *(LDKAsyncPaymentsContext*)(context_ptr); + context_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(context)); + (this_arg_conv->handle_release_held_htlc)(this_arg_conv->this_arg, message_conv, context_conv); } uint64_tArray __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_pending_messages"))) TS_AsyncPaymentsMessageHandler_release_pending_messages(uint64_t this_arg) { @@ -17203,6 +17906,165 @@ uint64_tArray __attribute__((export_name("TS_AsyncPaymentsMessageHandler_releas return ret_arr; } +typedef struct LDKDNSResolverMessageHandler_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKDNSResolverMessageHandler_JCalls; +static void LDKDNSResolverMessageHandler_JCalls_free(void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ handle_dnssec_query_LDKDNSResolverMessageHandler_jcall(const void* this_arg, LDKDNSSECQuery message, LDKResponder responder) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + LDKDNSSECQuery message_var = message; + uint64_t message_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); + message_ref = tag_ptr(message_var.inner, message_var.is_owned); + LDKResponder responder_var = responder; + uint64_t responder_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); + responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 126, message_ref, responder_ref, 0, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +void handle_dnssec_proof_LDKDNSResolverMessageHandler_jcall(const void* this_arg, LDKDNSSECProof message, LDKDNSResolverContext context) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + LDKDNSSECProof message_var = message; + uint64_t message_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); + message_ref = tag_ptr(message_var.inner, message_var.is_owned); + LDKDNSResolverContext context_var = context; + uint64_t context_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_var); + context_ref = tag_ptr(context_var.inner, context_var.is_owned); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 127, message_ref, context_ref, 0, 0, 0, 0); +} +LDKNodeFeatures provided_node_features_LDKDNSResolverMessageHandler_jcall(const void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 128, 0, 0, 0, 0, 0, 0); + LDKNodeFeatures ret_conv; + ret_conv.inner = untag_ptr(ret); + ret_conv.is_owned = ptr_is_owned(ret); + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv); + return ret_conv; +} +LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ release_pending_messages_LDKDNSResolverMessageHandler_jcall(const void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 129, 0, 0, 0, 0, 0, 0); + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret_constr; + ret_constr.datalen = ret->arr_len; + if (ret_constr.datalen > 0) + ret_constr.data = MALLOC(ret_constr.datalen * sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ Elements"); + else + ret_constr.data = NULL; + uint64_t* ret_vals = ret->elems; + for (size_t b = 0; b < ret_constr.datalen; b++) { + uint64_t ret_conv_53 = ret_vals[b]; + void* ret_conv_53_ptr = untag_ptr(ret_conv_53); + CHECK_ACCESS(ret_conv_53_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ ret_conv_53_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(ret_conv_53_ptr); + FREE(untag_ptr(ret_conv_53)); + ret_constr.data[b] = ret_conv_53_conv; + } + FREE(ret); + return ret_constr; +} +static void LDKDNSResolverMessageHandler_JCalls_cloned(LDKDNSResolverMessageHandler* new_obj) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKDNSResolverMessageHandler LDKDNSResolverMessageHandler_init (JSValue o) { + LDKDNSResolverMessageHandler_JCalls *calls = MALLOC(sizeof(LDKDNSResolverMessageHandler_JCalls), "LDKDNSResolverMessageHandler_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKDNSResolverMessageHandler ret = { + .this_arg = (void*) calls, + .handle_dnssec_query = handle_dnssec_query_LDKDNSResolverMessageHandler_jcall, + .handle_dnssec_proof = handle_dnssec_proof_LDKDNSResolverMessageHandler_jcall, + .provided_node_features = provided_node_features_LDKDNSResolverMessageHandler_jcall, + .release_pending_messages = release_pending_messages_LDKDNSResolverMessageHandler_jcall, + .free = LDKDNSResolverMessageHandler_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessageHandler_new"))) TS_LDKDNSResolverMessageHandler_new(JSValue o) { + LDKDNSResolverMessageHandler *res_ptr = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *res_ptr = LDKDNSResolverMessageHandler_init(o); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_DNSResolverMessageHandler_handle_dnssec_query"))) TS_DNSResolverMessageHandler_handle_dnssec_query(uint64_t this_arg, uint64_t message, uint64_t responder) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKDNSSECQuery message_conv; + message_conv.inner = untag_ptr(message); + message_conv.is_owned = ptr_is_owned(message); + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); + message_conv = DNSSECQuery_clone(&message_conv); + LDKResponder responder_conv; + responder_conv.inner = untag_ptr(responder); + responder_conv.is_owned = ptr_is_owned(responder); + CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_conv); + responder_conv = Responder_clone(&responder_conv); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = (this_arg_conv->handle_dnssec_query)(this_arg_conv->this_arg, message_conv, responder_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_DNSResolverMessageHandler_handle_dnssec_proof"))) TS_DNSResolverMessageHandler_handle_dnssec_proof(uint64_t this_arg, uint64_t message, uint64_t context) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKDNSSECProof message_conv; + message_conv.inner = untag_ptr(message); + message_conv.is_owned = ptr_is_owned(message); + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); + message_conv = DNSSECProof_clone(&message_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + (this_arg_conv->handle_dnssec_proof)(this_arg_conv->this_arg, message_conv, context_conv); +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessageHandler_provided_node_features"))) TS_DNSResolverMessageHandler_provided_node_features(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKNodeFeatures ret_var = (this_arg_conv->provided_node_features)(this_arg_conv->this_arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_tArray __attribute__((export_name("TS_DNSResolverMessageHandler_release_pending_messages"))) TS_DNSResolverMessageHandler_release_pending_messages(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret_var = (this_arg_conv->release_pending_messages)(this_arg_conv->this_arg); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t b = 0; b < ret_var.datalen; b++) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv_53_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv_53_conv = ret_var.data[b]; + ret_arr_ptr[b] = tag_ptr(ret_conv_53_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + typedef struct LDKNodeIdLookUp_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -17216,7 +18078,7 @@ static void LDKNodeIdLookUp_JCalls_free(void* this_arg) { LDKPublicKey next_node_id_LDKNodeIdLookUp_jcall(const void* this_arg, uint64_t short_channel_id) { LDKNodeIdLookUp_JCalls *j_calls = (LDKNodeIdLookUp_JCalls*) this_arg; int64_t short_channel_id_conv = short_channel_id; - int8_tArray ret = (int8_tArray)js_invoke_function_buuuuu(j_calls->instance_ptr, 122, short_channel_id_conv, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_buuuuu(j_calls->instance_ptr, 130, short_channel_id_conv, 0, 0, 0, 0, 0); LDKPublicKey ret_ref; CHECK(ret->arr_len == 33); memcpy(ret_ref.compressed_form, ret->elems, 33); FREE(ret); @@ -17263,42 +18125,48 @@ static void LDKRoutingMessageHandler_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKCResult_boolLightningErrorZ handle_node_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKNodeAnnouncement * msg) { +LDKCResult_boolLightningErrorZ handle_node_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKNodeAnnouncement * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKNodeAnnouncement msg_var = *msg; uint64_t msg_ref = 0; msg_var = NodeAnnouncement_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 123, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 131, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_boolLightningErrorZ handle_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKChannelAnnouncement * msg) { +LDKCResult_boolLightningErrorZ handle_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelAnnouncement * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKChannelAnnouncement msg_var = *msg; uint64_t msg_ref = 0; msg_var = ChannelAnnouncement_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 124, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 132, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKChannelUpdate * msg) { +LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelUpdate * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKChannelUpdate msg_var = *msg; uint64_t msg_ref = 0; msg_var = ChannelUpdate_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 125, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 133, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); @@ -17308,7 +18176,7 @@ LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jc LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ get_next_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, uint64_t starting_point) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; int64_t starting_point_conv = starting_point; - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 126, starting_point_conv, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 134, starting_point_conv, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ ret_conv = *(LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ*)(ret_ptr); @@ -17321,7 +18189,7 @@ LDKNodeAnnouncement get_next_node_announcement_LDKRoutingMessageHandler_jcall(co uint64_t starting_point_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(starting_point_var); starting_point_ref = tag_ptr(starting_point_var.inner, starting_point_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 127, starting_point_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 135, starting_point_ref, 0, 0, 0, 0, 0); LDKNodeAnnouncement ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17338,7 +18206,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKRoutingMessageHandler_jcall(const void* t CHECK_INNER_FIELD_ACCESS_OR_NULL(init_var); init_ref = tag_ptr(init_var.inner, init_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 128, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 136, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17353,7 +18221,7 @@ LDKCResult_NoneLightningErrorZ handle_reply_channel_range_LDKRoutingMessageHandl uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 129, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 137, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17368,7 +18236,7 @@ LDKCResult_NoneLightningErrorZ handle_reply_short_channel_ids_end_LDKRoutingMess uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 130, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 138, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17383,7 +18251,7 @@ LDKCResult_NoneLightningErrorZ handle_query_channel_range_LDKRoutingMessageHandl uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 131, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 139, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17398,7 +18266,7 @@ LDKCResult_NoneLightningErrorZ handle_query_short_channel_ids_LDKRoutingMessageH uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 132, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 140, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17407,11 +18275,11 @@ LDKCResult_NoneLightningErrorZ handle_query_short_channel_ids_LDKRoutingMessageH } bool processing_queue_high_LDKRoutingMessageHandler_jcall(const void* this_arg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 133, 0, 0, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 141, 0, 0, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKRoutingMessageHandler_jcall(const void* this_arg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 134, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 142, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17422,7 +18290,7 @@ LDKInitFeatures provided_init_features_LDKRoutingMessageHandler_jcall(const void LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 135, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 143, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17465,45 +18333,54 @@ uint64_t __attribute__((export_name("TS_LDKRoutingMessageHandler_new"))) TS_LDK *res_ptr = LDKRoutingMessageHandler_init(o, MessageSendEventsProvider); return tag_ptr(res_ptr, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_node_announcement"))) TS_RoutingMessageHandler_handle_node_announcement(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_node_announcement"))) TS_RoutingMessageHandler_handle_node_announcement(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKNodeAnnouncement msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_node_announcement)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_node_announcement)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_announcement"))) TS_RoutingMessageHandler_handle_channel_announcement(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_announcement"))) TS_RoutingMessageHandler_handle_channel_announcement(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKChannelAnnouncement msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_channel_announcement)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_channel_announcement)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_update"))) TS_RoutingMessageHandler_handle_channel_update(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_update"))) TS_RoutingMessageHandler_handle_channel_update(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKChannelUpdate msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_channel_update)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_channel_update)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } @@ -17670,13 +18547,13 @@ void handle_onion_message_LDKOnionMessageHandler_jcall(const void* this_arg, LDK msg_var = OnionMessage_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 136, (uint32_t)peer_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 144, (uint32_t)peer_node_id_arr, msg_ref, 0, 0, 0, 0); } LDKOnionMessage next_onion_message_for_peer_LDKOnionMessageHandler_jcall(const void* this_arg, LDKPublicKey peer_node_id) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray peer_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(peer_node_id_arr->elems, peer_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 137, (uint32_t)peer_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 145, (uint32_t)peer_node_id_arr, 0, 0, 0, 0, 0); LDKOnionMessage ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17693,7 +18570,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKOnionMessageHandler_jcall(const void* thi CHECK_INNER_FIELD_ACCESS_OR_NULL(init_var); init_ref = tag_ptr(init_var.inner, init_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 138, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 146, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17704,15 +18581,15 @@ void peer_disconnected_LDKOnionMessageHandler_jcall(const void* this_arg, LDKPub LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 139, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 147, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } void timer_tick_occurred_LDKOnionMessageHandler_jcall(const void* this_arg) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 140, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 148, 0, 0, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKOnionMessageHandler_jcall(const void* this_arg) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 141, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 149, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17723,7 +18600,7 @@ LDKInitFeatures provided_init_features_LDKOnionMessageHandler_jcall(const void* LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 142, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 150, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17861,7 +18738,7 @@ LDKCResult_COption_TypeZDecodeErrorZ read_LDKCustomMessageReader_jcall(const voi LDKu8slice buffer_var = buffer; int8_tArray buffer_arr = init_int8_tArray(buffer_var.datalen, __LINE__); memcpy(buffer_arr->elems, buffer_var.data, buffer_var.datalen); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 143, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 151, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_COption_TypeZDecodeErrorZ ret_conv = *(LDKCResult_COption_TypeZDecodeErrorZ*)(ret_ptr); @@ -17919,7 +18796,7 @@ LDKCResult_NoneLightningErrorZ handle_custom_message_LDKCustomMessageHandler_jca *msg_ret = msg; int8_tArray sender_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(sender_node_id_arr->elems, sender_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 144, tag_ptr(msg_ret, true), (uint32_t)sender_node_id_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 152, tag_ptr(msg_ret, true), (uint32_t)sender_node_id_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17928,7 +18805,7 @@ LDKCResult_NoneLightningErrorZ handle_custom_message_LDKCustomMessageHandler_jca } LDKCVec_C2Tuple_PublicKeyTypeZZ get_and_clear_pending_msg_LDKCustomMessageHandler_jcall(const void* this_arg) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 145, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 153, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_PublicKeyTypeZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17951,7 +18828,7 @@ void peer_disconnected_LDKCustomMessageHandler_jcall(const void* this_arg, LDKPu LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 146, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 154, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKInit * msg, bool inbound) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; @@ -17963,7 +18840,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* th CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 147, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 155, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17972,7 +18849,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* th } LDKNodeFeatures provided_node_features_LDKCustomMessageHandler_jcall(const void* this_arg) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 148, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 156, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17983,7 +18860,7 @@ LDKInitFeatures provided_init_features_LDKCustomMessageHandler_jcall(const void* LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 149, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 157, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -18129,7 +19006,7 @@ LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ handle_custom_messa uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 150, tag_ptr(message_ret, true), context_ref, responder_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 158, tag_ptr(message_ret, true), context_ref, responder_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ*)(ret_ptr); @@ -18142,7 +19019,7 @@ LDKCResult_COption_OnionMessageContentsZDecodeErrorZ read_custom_message_LDKCust LDKu8slice buffer_var = buffer; int8_tArray buffer_arr = init_int8_tArray(buffer_var.datalen, __LINE__); memcpy(buffer_arr->elems, buffer_var.data, buffer_var.datalen); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 151, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 159, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_COption_OnionMessageContentsZDecodeErrorZ ret_conv = *(LDKCResult_COption_OnionMessageContentsZDecodeErrorZ*)(ret_ptr); @@ -18151,7 +19028,7 @@ LDKCResult_COption_OnionMessageContentsZDecodeErrorZ read_custom_message_LDKCust } LDKCVec_C2Tuple_OnionMessageContentsMessageSendInstructionsZZ release_pending_custom_messages_LDKCustomOnionMessageHandler_jcall(const void* this_arg) { LDKCustomOnionMessageHandler_JCalls *j_calls = (LDKCustomOnionMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 152, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 160, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_OnionMessageContentsMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -18266,21 +19143,21 @@ uintptr_t send_data_LDKSocketDescriptor_jcall(void* this_arg, LDKu8slice data, b int8_tArray data_arr = init_int8_tArray(data_var.datalen, __LINE__); memcpy(data_arr->elems, data_var.data, data_var.datalen); jboolean resume_read_conv = resume_read; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 153, (uint32_t)data_arr, resume_read_conv, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 161, (uint32_t)data_arr, resume_read_conv, 0, 0, 0, 0); } void disconnect_socket_LDKSocketDescriptor_jcall(void* this_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 154, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 162, 0, 0, 0, 0, 0, 0); } bool eq_LDKSocketDescriptor_jcall(const void* this_arg, const LDKSocketDescriptor * other_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; LDKSocketDescriptor *other_arg_clone = MALLOC(sizeof(LDKSocketDescriptor), "LDKSocketDescriptor"); *other_arg_clone = SocketDescriptor_clone(other_arg); - return js_invoke_function_buuuuu(j_calls->instance_ptr, 155, tag_ptr(other_arg_clone, true), 0, 0, 0, 0, 0); + return js_invoke_function_buuuuu(j_calls->instance_ptr, 163, tag_ptr(other_arg_clone, true), 0, 0, 0, 0, 0); } uint64_t hash_LDKSocketDescriptor_jcall(const void* this_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 156, 0, 0, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 164, 0, 0, 0, 0, 0, 0); } static void LDKSocketDescriptor_JCalls_cloned(LDKSocketDescriptor* new_obj) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) new_obj->this_arg; @@ -18334,22 +19211,6 @@ int64_t __attribute__((export_name("TS_SocketDescriptor_hash"))) TS_SocketDescr return ret_conv; } -uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_ty_from_ptr"))) TS_LDKBolt12PaymentError_ty_from_ptr(uint64_t ptr) { - LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKBolt12PaymentError_UnexpectedInvoice: return 0; - case LDKBolt12PaymentError_DuplicateInvoice: return 1; - case LDKBolt12PaymentError_UnknownRequiredFeatures: return 2; - case LDKBolt12PaymentError_SendingFailed: return 3; - default: abort(); - } -} -uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed"))) TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(uint64_t ptr) { - LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt12PaymentError_SendingFailed); - uint32_t sending_failed_conv = LDKRetryableSendFailure_to_js(obj->sending_failed); - return sending_failed_conv; -} typedef struct LDKSignBolt12InvoiceFn_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -18367,7 +19228,7 @@ LDKCResult_SchnorrSignatureNoneZ sign_invoice_LDKSignBolt12InvoiceFn_jcall(const message_var = UnsignedBolt12Invoice_clone(&message_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 157, message_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 165, message_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); @@ -18426,7 +19287,7 @@ LDKCResult_SchnorrSignatureNoneZ sign_invoice_request_LDKSignInvoiceRequestFn_jc message_var = UnsignedInvoiceRequest_clone(&message_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 158, message_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 166, message_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); @@ -18611,7 +19472,7 @@ static void LDKScore_JCalls_free(void* this_arg) { } LDKCVec_u8Z write_LDKScore_jcall(const void* this_arg) { LDKScore_JCalls *j_calls = (LDKScore_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 159, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 167, 0, 0, 0, 0, 0, 0); LDKCVec_u8Z ret_ref; ret_ref.datalen = ret->arr_len; ret_ref.data = MALLOC(ret_ref.datalen, "LDKCVec_u8Z Bytes"); @@ -18722,7 +19583,7 @@ LDKCResult_CoinSelectionNoneZ select_confirmed_utxos_LDKCoinSelectionSource_jcal FREE(must_pay_to_var.data); int32_t target_feerate_sat_per_1000_weight_conv = target_feerate_sat_per_1000_weight; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 160, (uint32_t)claim_id_arr, (uint32_t)must_spend_arr, (uint32_t)must_pay_to_arr, target_feerate_sat_per_1000_weight_conv, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 168, (uint32_t)claim_id_arr, (uint32_t)must_spend_arr, (uint32_t)must_pay_to_arr, target_feerate_sat_per_1000_weight_conv, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CoinSelectionNoneZ ret_conv = *(LDKCResult_CoinSelectionNoneZ*)(ret_ptr); @@ -18735,7 +19596,7 @@ LDKCResult_TransactionNoneZ sign_psbt_LDKCoinSelectionSource_jcall(const void* t int8_tArray psbt_arr = init_int8_tArray(psbt_var.datalen, __LINE__); memcpy(psbt_arr->elems, psbt_var.data, psbt_var.datalen); CVec_u8Z_free(psbt_var); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 161, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 169, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_TransactionNoneZ ret_conv = *(LDKCResult_TransactionNoneZ*)(ret_ptr); @@ -18834,7 +19695,7 @@ static void LDKWalletSource_JCalls_free(void* this_arg) { } LDKCResult_CVec_UtxoZNoneZ list_confirmed_utxos_LDKWalletSource_jcall(const void* this_arg) { LDKWalletSource_JCalls *j_calls = (LDKWalletSource_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 162, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 170, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_UtxoZNoneZ ret_conv = *(LDKCResult_CVec_UtxoZNoneZ*)(ret_ptr); @@ -18843,7 +19704,7 @@ LDKCResult_CVec_UtxoZNoneZ list_confirmed_utxos_LDKWalletSource_jcall(const void } LDKCResult_CVec_u8ZNoneZ get_change_script_LDKWalletSource_jcall(const void* this_arg) { LDKWalletSource_JCalls *j_calls = (LDKWalletSource_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 163, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 171, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_u8ZNoneZ ret_conv = *(LDKCResult_CVec_u8ZNoneZ*)(ret_ptr); @@ -18856,7 +19717,7 @@ LDKCResult_TransactionNoneZ sign_psbt_LDKWalletSource_jcall(const void* this_arg int8_tArray psbt_arr = init_int8_tArray(psbt_var.datalen, __LINE__); memcpy(psbt_arr->elems, psbt_var.data, psbt_var.datalen); CVec_u8Z_free(psbt_var); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 164, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 172, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_TransactionNoneZ ret_conv = *(LDKCResult_TransactionNoneZ*)(ret_ptr); @@ -19593,95 +20454,6 @@ uint64_t __attribute__((export_name("TS_CResult_RetryDecodeErrorZ_clone"))) TS_ return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_ok"))) TS_CResult_NoneAPIErrorZ_ok() { - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_ok(); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_err"))) TS_CResult_NoneAPIErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKAPIError e_conv = *(LDKAPIError*)(e_ptr); - e_conv = APIError_clone((LDKAPIError*)untag_ptr(e)); - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_NoneAPIErrorZ_is_ok"))) TS_CResult_NoneAPIErrorZ_is_ok(uint64_t o) { - LDKCResult_NoneAPIErrorZ* o_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_NoneAPIErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_free"))) TS_CResult_NoneAPIErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_NoneAPIErrorZ _res_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_NoneAPIErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg) { - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone_ptr"))) TS_CResult_NoneAPIErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_NoneAPIErrorZ* arg_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NoneAPIErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone"))) TS_CResult_NoneAPIErrorZ_clone(uint64_t orig) { - LDKCResult_NoneAPIErrorZ* orig_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(orig); - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_CVec_CResult_NoneAPIErrorZZ_free"))) TS_CVec_CResult_NoneAPIErrorZZ_free(uint64_tArray _res) { - LDKCVec_CResult_NoneAPIErrorZZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t w = 0; w < _res_constr.datalen; w++) { - uint64_t _res_conv_22 = _res_vals[w]; - void* _res_conv_22_ptr = untag_ptr(_res_conv_22); - CHECK_ACCESS(_res_conv_22_ptr); - LDKCResult_NoneAPIErrorZ _res_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_conv_22_ptr); - FREE(untag_ptr(_res_conv_22)); - _res_constr.data[w] = _res_conv_22_conv; - } - FREE(_res); - CVec_CResult_NoneAPIErrorZZ_free(_res_constr); -} - -void __attribute__((export_name("TS_CVec_APIErrorZ_free"))) TS_CVec_APIErrorZ_free(uint64_tArray _res) { - LDKCVec_APIErrorZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKAPIError), "LDKCVec_APIErrorZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t k = 0; k < _res_constr.datalen; k++) { - uint64_t _res_conv_10 = _res_vals[k]; - void* _res_conv_10_ptr = untag_ptr(_res_conv_10); - CHECK_ACCESS(_res_conv_10_ptr); - LDKAPIError _res_conv_10_conv = *(LDKAPIError*)(_res_conv_10_ptr); - FREE(untag_ptr(_res_conv_10)); - _res_constr.data[k] = _res_conv_10_conv; - } - FREE(_res); - CVec_APIErrorZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_COption_ThirtyTwoBytesZ_some"))) TS_COption_ThirtyTwoBytesZ_some(int8_tArray o) { LDKThirtyTwoBytes o_ref; CHECK(o->arr_len == 32); @@ -19936,6 +20708,664 @@ uint64_t __attribute__((export_name("TS_CResult_RecipientOnionFieldsNoneZ_clone return tag_ptr(ret_conv, true); } +static inline uint64_t C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* arg_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone(uint64_t orig) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* orig_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(orig); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_new"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_new(uint64_t a, uint64_t b) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + LDKResponseInstruction b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = ResponseInstruction_clone(&b_conv); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_free"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ _res_conv = *(LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSResolverMessageResponseInstructionZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ o_conv = *(LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)(o_ptr); + o_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone((LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(o)); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none() { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ _res_conv = *(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ* arg_conv = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ* orig_conv = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline uint64_t C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* arg_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(uint64_t orig) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* orig_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(orig); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(uint64_t a, uint64_t b) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + void* b_ptr = untag_ptr(b); + CHECK_ACCESS(b_ptr); + LDKMessageSendInstructions b_conv = *(LDKMessageSendInstructions*)(b_ptr); + b_conv = MessageSendInstructions_clone((LDKMessageSendInstructions*)untag_ptr(b)); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ _res_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free"))) TS_CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(uint64_tArray _res) { + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t b = 0; b < _res_constr.datalen; b++) { + uint64_t _res_conv_53 = _res_vals[b]; + void* _res_conv_53_ptr = untag_ptr(_res_conv_53); + CHECK_ACCESS(_res_conv_53_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ _res_conv_53_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(_res_conv_53_ptr); + FREE(untag_ptr(_res_conv_53)); + _res_constr.data[b] = _res_conv_53_conv; + } + FREE(_res); + CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(_res_constr); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKDNSResolverMessage o_conv = *(LDKDNSResolverMessage*)(o_ptr); + o_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(o)); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_err"))) TS_CResult_DNSResolverMessageDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_is_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_DNSResolverMessageDecodeErrorZ* o_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_DNSResolverMessageDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_free"))) TS_CResult_DNSResolverMessageDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_DNSResolverMessageDecodeErrorZ _res_conv = *(LDKCResult_DNSResolverMessageDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_DNSResolverMessageDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_clone_ptr"))) TS_CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_DNSResolverMessageDecodeErrorZ* arg_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_clone"))) TS_CResult_DNSResolverMessageDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_DNSResolverMessageDecodeErrorZ* orig_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(orig); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_ok"))) TS_CResult_HumanReadableNameNoneZ_ok(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = HumanReadableName_clone(&o_conv); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_err"))) TS_CResult_HumanReadableNameNoneZ_err() { + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_is_ok"))) TS_CResult_HumanReadableNameNoneZ_is_ok(uint64_t o) { + LDKCResult_HumanReadableNameNoneZ* o_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_HumanReadableNameNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_free"))) TS_CResult_HumanReadableNameNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_HumanReadableNameNoneZ _res_conv = *(LDKCResult_HumanReadableNameNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_HumanReadableNameNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_HumanReadableNameNoneZ_clone_ptr(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR arg) { + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_clone_ptr"))) TS_CResult_HumanReadableNameNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_HumanReadableNameNoneZ* arg_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_HumanReadableNameNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_clone"))) TS_CResult_HumanReadableNameNoneZ_clone(uint64_t orig) { + LDKCResult_HumanReadableNameNoneZ* orig_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(orig); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_ok(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = HumanReadableName_clone(&o_conv); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_err"))) TS_CResult_HumanReadableNameDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_is_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_HumanReadableNameDecodeErrorZ* o_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_HumanReadableNameDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_free"))) TS_CResult_HumanReadableNameDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_HumanReadableNameDecodeErrorZ _res_conv = *(LDKCResult_HumanReadableNameDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_HumanReadableNameDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_HumanReadableNameDecodeErrorZ_clone_ptr(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_clone_ptr"))) TS_CResult_HumanReadableNameDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_HumanReadableNameDecodeErrorZ* arg_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_clone"))) TS_CResult_HumanReadableNameDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_HumanReadableNameDecodeErrorZ* orig_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(orig); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +static inline uint64_t C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* arg_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone(uint64_t orig) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* orig_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(orig); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_new"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_new(uint64_t a, uint64_t b) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECQuery_clone(&a_conv); + LDKDNSResolverContext b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = DNSResolverContext_clone(&b_conv); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_free"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ _res_conv = *(LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSSECQueryDNSResolverContextZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ o_conv = *(LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)(o_ptr); + o_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone((LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(o)); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err() { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(uint64_t o) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* o_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ _res_conv = *(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR arg) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* arg_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(uint64_t orig) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* orig_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(orig); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +static inline uint64_t C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR arg) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* arg_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(uint64_t orig) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* orig_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(orig); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_new"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(uint64_t a, int8_tArray b) { + LDKHumanReadableName a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = HumanReadableName_clone(&a_conv); + LDKThirtyTwoBytes b_ref; + CHECK(b->arr_len == 32); + memcpy(b_ref.data, b->elems, 32); FREE(b); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(a_conv, b_ref); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_free"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ _res_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free"))) TS_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(uint64_tArray _res) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t r = 0; r < _res_constr.datalen; r++) { + uint64_t _res_conv_43 = _res_vals[r]; + void* _res_conv_43_ptr = untag_ptr(_res_conv_43); + CHECK_ACCESS(_res_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ _res_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(_res_conv_43_ptr); + FREE(untag_ptr(_res_conv_43)); + _res_constr.data[r] = _res_conv_43_conv; + } + FREE(_res); + CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(_res_constr); +} + +static inline uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* arg_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(uint64_t orig) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* orig_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(orig); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(uint64_tArray a, uint64_t b) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a_constr; + a_constr.datalen = a->arr_len; + if (a_constr.datalen > 0) + a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + a_constr.data = NULL; + uint64_t* a_vals = a->elems; + for (size_t r = 0; r < a_constr.datalen; r++) { + uint64_t a_conv_43 = a_vals[r]; + void* a_conv_43_ptr = untag_ptr(a_conv_43); + CHECK_ACCESS(a_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ a_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(a_conv_43_ptr); + a_conv_43_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone((LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(a_conv_43)); + a_constr.data[r] = a_conv_43_conv; + } + FREE(a); + LDKOffer b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = Offer_clone(&b_conv); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(a_constr, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ _res_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ o_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)(o_ptr); + o_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone((LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(o)); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none() { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ _res_conv = *(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ* arg_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ* orig_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* arg_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(uint64_t orig) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* orig_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(orig); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(uint64_tArray a, jstring b) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a_constr; + a_constr.datalen = a->arr_len; + if (a_constr.datalen > 0) + a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + a_constr.data = NULL; + uint64_t* a_vals = a->elems; + for (size_t r = 0; r < a_constr.datalen; r++) { + uint64_t a_conv_43 = a_vals[r]; + void* a_conv_43_ptr = untag_ptr(a_conv_43); + CHECK_ACCESS(a_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ a_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(a_conv_43_ptr); + a_conv_43_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone((LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(a_conv_43)); + a_constr.data[r] = a_conv_43_conv; + } + FREE(a); + LDKStr b_conv = str_ref_to_owned_c(b); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(a_constr, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ _res_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ o_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)(o_ptr); + o_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone((LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(o)); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none() { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ _res_conv = *(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ* arg_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ* orig_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_ok"))) TS_CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_ok(uint64_t o) { LDKUnsignedBolt12Invoice o_conv; o_conv.inner = untag_ptr(o); @@ -20086,6 +21516,26 @@ uint64_t __attribute__((export_name("TS_CResult_SchnorrSignatureNoneZ_clone"))) return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_CVec_BlindedPaymentPathZ_free"))) TS_CVec_BlindedPaymentPathZ_free(uint64_tArray _res) { + LDKCVec_BlindedPaymentPathZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKBlindedPaymentPath), "LDKCVec_BlindedPaymentPathZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t u = 0; u < _res_constr.datalen; u++) { + uint64_t _res_conv_20 = _res_vals[u]; + LDKBlindedPaymentPath _res_conv_20_conv; + _res_conv_20_conv.inner = untag_ptr(_res_conv_20); + _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); + _res_constr.data[u] = _res_conv_20_conv; + } + FREE(_res); + CVec_BlindedPaymentPathZ_free(_res_constr); +} + void __attribute__((export_name("TS_CVec_StrZ_free"))) TS_CVec_StrZ_free(ptrArray _res) { LDKCVec_StrZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -21782,26 +23232,6 @@ uint64_t __attribute__((export_name("TS_CResult_RouteLightningErrorZ_clone"))) return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_CVec_BlindedPaymentPathZ_free"))) TS_CVec_BlindedPaymentPathZ_free(uint64_tArray _res) { - LDKCVec_BlindedPaymentPathZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKBlindedPaymentPath), "LDKCVec_BlindedPaymentPathZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t u = 0; u < _res_constr.datalen; u++) { - uint64_t _res_conv_20 = _res_vals[u]; - LDKBlindedPaymentPath _res_conv_20_conv; - _res_conv_20_conv.inner = untag_ptr(_res_conv_20); - _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); - _res_constr.data[u] = _res_conv_20_conv; - } - FREE(_res); - CVec_BlindedPaymentPathZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_ok"))) TS_CResult_CVec_BlindedPaymentPathZNoneZ_ok(uint64_tArray o) { LDKCVec_BlindedPaymentPathZ o_constr; o_constr.datalen = o->arr_len; @@ -21864,157 +23294,6 @@ uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_c return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_CVec_PublicKeyZ_free"))) TS_CVec_PublicKeyZ_free(ptrArray _res) { - LDKCVec_PublicKeyZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - _res_constr.data = NULL; - int8_tArray* _res_vals = (void*) _res->elems; - for (size_t m = 0; m < _res_constr.datalen; m++) { - int8_tArray _res_conv_12 = _res_vals[m]; - LDKPublicKey _res_conv_12_ref; - CHECK(_res_conv_12->arr_len == 33); - memcpy(_res_conv_12_ref.compressed_form, _res_conv_12->elems, 33); FREE(_res_conv_12); - _res_constr.data[m] = _res_conv_12_ref; - } - FREE(_res); - CVec_PublicKeyZ_free(_res_constr); -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_ok"))) TS_CResult_OnionMessagePathNoneZ_ok(uint64_t o) { - LDKOnionMessagePath o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = OnionMessagePath_clone(&o_conv); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_err"))) TS_CResult_OnionMessagePathNoneZ_err() { - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_err(); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_is_ok"))) TS_CResult_OnionMessagePathNoneZ_is_ok(uint64_t o) { - LDKCResult_OnionMessagePathNoneZ* o_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(o); - jboolean ret_conv = CResult_OnionMessagePathNoneZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_free"))) TS_CResult_OnionMessagePathNoneZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_OnionMessagePathNoneZ _res_conv = *(LDKCResult_OnionMessagePathNoneZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_OnionMessagePathNoneZ_free(_res_conv); -} - -static inline uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg) { - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone_ptr"))) TS_CResult_OnionMessagePathNoneZ_clone_ptr(uint64_t arg) { - LDKCResult_OnionMessagePathNoneZ* arg_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(arg); - int64_t ret_conv = CResult_OnionMessagePathNoneZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone"))) TS_CResult_OnionMessagePathNoneZ_clone(uint64_t orig) { - LDKCResult_OnionMessagePathNoneZ* orig_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(orig); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(uint64_tArray o) { - LDKCVec_BlindedMessagePathZ o_constr; - o_constr.datalen = o->arr_len; - if (o_constr.datalen > 0) - o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKBlindedMessagePath), "LDKCVec_BlindedMessagePathZ Elements"); - else - o_constr.data = NULL; - uint64_t* o_vals = o->elems; - for (size_t u = 0; u < o_constr.datalen; u++) { - uint64_t o_conv_20 = o_vals[u]; - LDKBlindedMessagePath o_conv_20_conv; - o_conv_20_conv.inner = untag_ptr(o_conv_20); - o_conv_20_conv.is_owned = ptr_is_owned(o_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv_20_conv); - o_conv_20_conv = BlindedMessagePath_clone(&o_conv_20_conv); - o_constr.data[u] = o_conv_20_conv; - } - FREE(o); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_ok(o_constr); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_err() { - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_err(); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(uint64_t o) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* o_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(o); - jboolean ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_free"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ _res_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_CVec_BlindedMessagePathZNoneZ_free(_res_conv); -} - -static inline uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(uint64_t arg) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* arg_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(arg); - int64_t ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(uint64_t orig) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* orig_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(orig); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_CVec_MessageForwardNodeZ_free"))) TS_CVec_MessageForwardNodeZ_free(uint64_tArray _res) { - LDKCVec_MessageForwardNodeZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t u = 0; u < _res_constr.datalen; u++) { - uint64_t _res_conv_20 = _res_vals[u]; - LDKMessageForwardNode _res_conv_20_conv; - _res_conv_20_conv.inner = untag_ptr(_res_conv_20); - _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); - _res_constr.data[u] = _res_conv_20_conv; - } - FREE(_res); - CVec_MessageForwardNodeZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_CResult_InFlightHtlcsDecodeErrorZ_ok"))) TS_CResult_InFlightHtlcsDecodeErrorZ_ok(uint64_t o) { LDKInFlightHtlcs o_conv; o_conv.inner = untag_ptr(o); @@ -22543,6 +23822,25 @@ uint64_t __attribute__((export_name("TS_CResult_RouteHintHopDecodeErrorZ_clone" return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_CVec_PublicKeyZ_free"))) TS_CVec_PublicKeyZ_free(ptrArray _res) { + LDKCVec_PublicKeyZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + _res_constr.data = NULL; + int8_tArray* _res_vals = (void*) _res->elems; + for (size_t m = 0; m < _res_constr.datalen; m++) { + int8_tArray _res_conv_12 = _res_vals[m]; + LDKPublicKey _res_conv_12_ref; + CHECK(_res_conv_12->arr_len == 33); + memcpy(_res_conv_12_ref.compressed_form, _res_conv_12->elems, 33); FREE(_res_conv_12); + _res_constr.data[m] = _res_conv_12_ref; + } + FREE(_res); + CVec_PublicKeyZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_CResult_FixedPenaltyScorerDecodeErrorZ_ok"))) TS_CResult_FixedPenaltyScorerDecodeErrorZ_ok(uint64_t o) { LDKFixedPenaltyScorer o_conv; o_conv.inner = untag_ptr(o); @@ -23166,384 +24464,6 @@ void __attribute__((export_name("TS_CVec_C4Tuple_OutPointChannelIdCVec_MonitorE CVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKInitFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = InitFeatures_clone(&o_conv); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_err"))) TS_CResult_InitFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_is_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_InitFeaturesDecodeErrorZ* o_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InitFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_free"))) TS_CResult_InitFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_InitFeaturesDecodeErrorZ _res_conv = *(LDKCResult_InitFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_InitFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_InitFeaturesDecodeErrorZ* arg_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone"))) TS_CResult_InitFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_InitFeaturesDecodeErrorZ* orig_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKChannelFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = ChannelFeatures_clone(&o_conv); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_ChannelFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_ChannelFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_ChannelFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_ChannelFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_ChannelFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_ChannelFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKNodeFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = NodeFeatures_clone(&o_conv); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_NodeFeaturesDecodeErrorZ* o_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_NodeFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_free"))) TS_CResult_NodeFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_NodeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_NodeFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_NodeFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_NodeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_NodeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBolt11InvoiceFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt11InvoiceFeatures_clone(&o_conv); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBolt12InvoiceFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt12InvoiceFeatures_clone(&o_conv); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBlindedHopFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = BlindedHopFeatures_clone(&o_conv); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* o_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_free"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_BlindedHopFeaturesDecodeErrorZ _res_conv = *(LDKCResult_BlindedHopFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_BlindedHopFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* arg_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* orig_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKChannelTypeFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = ChannelTypeFeatures_clone(&o_conv); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_OfferIdDecodeErrorZ_ok"))) TS_CResult_OfferIdDecodeErrorZ_ok(uint64_t o) { LDKOfferId o_conv; o_conv.inner = untag_ptr(o); @@ -23695,72 +24615,38 @@ uint64_t __attribute__((export_name("TS_CResult_OfferBolt12SemanticErrorZ_clone return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(uint64_t o) { - LDKInvoiceRequestWithDerivedPayerIdBuilder o_conv; +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(uint64_t o) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder o_conv; o_conv.inner = untag_ptr(o); o_conv.is_owned = ptr_is_owned(o); CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(o_conv); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(uint32_t e) { +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(uint32_t e) { LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(e_conv); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)(_res_ptr); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(_res_conv); -} - -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(uint64_t o) { - LDKInvoiceRequestWithExplicitPayerIdBuilder o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder - - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(uint32_t e) { - LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(_res_conv); + CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res_conv); } uint64_t __attribute__((export_name("TS_CResult_OfferDecodeErrorZ_ok"))) TS_CResult_OfferDecodeErrorZ_ok(uint64_t o) { @@ -25329,52 +26215,52 @@ void __attribute__((export_name("TS_CVec_RecentPaymentDetailsZ_free"))) TS_CVec CVec_RecentPaymentDetailsZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_ok"))) TS_CResult_NonePaymentSendFailureZ_ok() { - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_ok(); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_ok"))) TS_CResult_NoneAPIErrorZ_ok() { + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_ok(); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_err"))) TS_CResult_NonePaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_err"))) TS_CResult_NoneAPIErrorZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_err(e_conv); + LDKAPIError e_conv = *(LDKAPIError*)(e_ptr); + e_conv = APIError_clone((LDKAPIError*)untag_ptr(e)); + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_is_ok"))) TS_CResult_NonePaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_NonePaymentSendFailureZ* o_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_NonePaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_NoneAPIErrorZ_is_ok"))) TS_CResult_NoneAPIErrorZ_is_ok(uint64_t o) { + LDKCResult_NoneAPIErrorZ* o_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NoneAPIErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_free"))) TS_CResult_NonePaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_free"))) TS_CResult_NoneAPIErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_NonePaymentSendFailureZ _res_conv = *(LDKCResult_NonePaymentSendFailureZ*)(_res_ptr); + LDKCResult_NoneAPIErrorZ _res_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_NonePaymentSendFailureZ_free(_res_conv); + CResult_NoneAPIErrorZ_free(_res_conv); } -static inline uint64_t CResult_NonePaymentSendFailureZ_clone_ptr(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg) { + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_clone_ptr"))) TS_CResult_NonePaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_NonePaymentSendFailureZ* arg_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NonePaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone_ptr"))) TS_CResult_NoneAPIErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NoneAPIErrorZ* arg_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NoneAPIErrorZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_clone"))) TS_CResult_NonePaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_NonePaymentSendFailureZ* orig_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone"))) TS_CResult_NoneAPIErrorZ_clone(uint64_t orig) { + LDKCResult_NoneAPIErrorZ* orig_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(orig); + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25424,55 +26310,99 @@ uint64_t __attribute__((export_name("TS_CResult_NoneRetryableSendFailureZ_clone return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(int8_tArray o) { - LDKThirtyTwoBytes o_ref; - CHECK(o->arr_len == 32); - memcpy(o_ref.data, o->elems, 32); FREE(o); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(o_ref); +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_some"))) TS_COption_OffersContextZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKOffersContext o_conv = *(LDKOffersContext*)(o_ptr); + o_conv = OffersContext_clone((LDKOffersContext*)untag_ptr(o)); + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_none"))) TS_COption_OffersContextZ_none() { + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_OffersContextZ_free"))) TS_COption_OffersContextZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_OffersContextZ _res_conv = *(LDKCOption_OffersContextZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_OffersContextZ_free(_res_conv); +} + +static inline uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg) { + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_OffersContextZ_clone_ptr"))) TS_COption_OffersContextZ_clone_ptr(uint64_t arg) { + LDKCOption_OffersContextZ* arg_conv = (LDKCOption_OffersContextZ*)untag_ptr(arg); + int64_t ret_conv = COption_OffersContextZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_clone"))) TS_COption_OffersContextZ_clone(uint64_t orig) { + LDKCOption_OffersContextZ* orig_conv = (LDKCOption_OffersContextZ*)untag_ptr(orig); + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_ok() { + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_ok(); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_err"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_err"))) TS_CResult_NoneBolt12PaymentErrorZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_err(e_conv); + LDKBolt12PaymentError e_conv = *(LDKBolt12PaymentError*)(e_ptr); + e_conv = Bolt12PaymentError_clone((LDKBolt12PaymentError*)untag_ptr(e)); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* o_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_is_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_is_ok(uint64_t o) { + LDKCResult_NoneBolt12PaymentErrorZ* o_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NoneBolt12PaymentErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_free"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_free"))) TS_CResult_NoneBolt12PaymentErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ _res_conv = *(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)(_res_ptr); + LDKCResult_NoneBolt12PaymentErrorZ _res_conv = *(LDKCResult_NoneBolt12PaymentErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_ThirtyTwoBytesPaymentSendFailureZ_free(_res_conv); + CResult_NoneBolt12PaymentErrorZ_free(_res_conv); } -static inline uint64_t CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_NoneBolt12PaymentErrorZ_clone_ptr(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR arg) { + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* arg_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_clone_ptr"))) TS_CResult_NoneBolt12PaymentErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NoneBolt12PaymentErrorZ* arg_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NoneBolt12PaymentErrorZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* orig_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_clone"))) TS_CResult_NoneBolt12PaymentErrorZ_clone(uint64_t orig) { + LDKCResult_NoneBolt12PaymentErrorZ* orig_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(orig); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25564,56 +26494,56 @@ void __attribute__((export_name("TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free" C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free(_res_conv); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(uint64_t o) { +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ o_conv = *(LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ*)(o_ptr); o_conv = C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone((LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ*)untag_ptr(o)); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(o_conv); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(e_conv); + LDKProbeSendFailure e_conv = *(LDKProbeSendFailure*)(e_ptr); + e_conv = ProbeSendFailure_clone((LDKProbeSendFailure*)untag_ptr(e)); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* o_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(uint64_t o) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* o_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(o); + jboolean ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ _res_conv = *(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)(_res_ptr); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ _res_conv = *(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(_res_conv); + CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(_res_conv); } -static inline uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR arg) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* arg_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(uint64_t arg) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* arg_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(arg); + int64_t ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* orig_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(uint64_t orig) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* orig_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(orig); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25783,6 +26713,148 @@ void __attribute__((export_name("TS_CVec_ChannelIdZ_free"))) TS_CVec_ChannelIdZ CVec_ChannelIdZ_free(_res_constr); } +static inline uint64_t C2Tuple_PublicKeyChannelIdZ_clone_ptr(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR arg) { + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_clone_ptr"))) TS_C2Tuple_PublicKeyChannelIdZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_PublicKeyChannelIdZ* arg_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_PublicKeyChannelIdZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_clone"))) TS_C2Tuple_PublicKeyChannelIdZ_clone(uint64_t orig) { + LDKC2Tuple_PublicKeyChannelIdZ* orig_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(orig); + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_new"))) TS_C2Tuple_PublicKeyChannelIdZ_new(int8_tArray a, uint64_t b) { + LDKPublicKey a_ref; + CHECK(a->arr_len == 33); + memcpy(a_ref.compressed_form, a->elems, 33); FREE(a); + LDKChannelId b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = ChannelId_clone(&b_conv); + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_new(a_ref, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_free"))) TS_C2Tuple_PublicKeyChannelIdZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_PublicKeyChannelIdZ _res_conv = *(LDKC2Tuple_PublicKeyChannelIdZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_PublicKeyChannelIdZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_some"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_PublicKeyChannelIdZ o_conv = *(LDKC2Tuple_PublicKeyChannelIdZ*)(o_ptr); + o_conv = C2Tuple_PublicKeyChannelIdZ_clone((LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(o)); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_none"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_none() { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_free"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ _res_conv = *(LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_PublicKeyChannelIdZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(LDKCOption_C2Tuple_PublicKeyChannelIdZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ* arg_conv = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ* orig_conv = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(uint64_t o) { + LDKBolt11Invoice o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt11Invoice_clone(&o_conv); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKSignOrCreationError e_conv = *(LDKSignOrCreationError*)(e_ptr); + e_conv = SignOrCreationError_clone((LDKSignOrCreationError*)untag_ptr(e)); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* o_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(orig); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_ok(uint64_t o) { LDKOfferWithDerivedMetadataBuilder o_conv; o_conv.inner = untag_ptr(o); @@ -25878,6 +26950,26 @@ uint64_t __attribute__((export_name("TS_COption_StrZ_clone"))) TS_COption_StrZ_ return ret_ref; } +void __attribute__((export_name("TS_CVec_DestinationZ_free"))) TS_CVec_DestinationZ_free(uint64_tArray _res) { + LDKCVec_DestinationZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKDestination), "LDKCVec_DestinationZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t n = 0; n < _res_constr.datalen; n++) { + uint64_t _res_conv_13 = _res_vals[n]; + void* _res_conv_13_ptr = untag_ptr(_res_conv_13); + CHECK_ACCESS(_res_conv_13_ptr); + LDKDestination _res_conv_13_conv = *(LDKDestination*)(_res_conv_13_ptr); + FREE(untag_ptr(_res_conv_13)); + _res_constr.data[n] = _res_conv_13_conv; + } + FREE(_res); + CVec_DestinationZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_ok(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); @@ -25979,53 +27071,6 @@ uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesAPIErrorZ_clone") return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_some"))) TS_COption_OffersContextZ_some(uint64_t o) { - void* o_ptr = untag_ptr(o); - CHECK_ACCESS(o_ptr); - LDKOffersContext o_conv = *(LDKOffersContext*)(o_ptr); - o_conv = OffersContext_clone((LDKOffersContext*)untag_ptr(o)); - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_some(o_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_none"))) TS_COption_OffersContextZ_none() { - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_none(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -void __attribute__((export_name("TS_COption_OffersContextZ_free"))) TS_COption_OffersContextZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCOption_OffersContextZ _res_conv = *(LDKCOption_OffersContextZ*)(_res_ptr); - FREE(untag_ptr(_res)); - COption_OffersContextZ_free(_res_conv); -} - -static inline uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg) { - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} -int64_t __attribute__((export_name("TS_COption_OffersContextZ_clone_ptr"))) TS_COption_OffersContextZ_clone_ptr(uint64_t arg) { - LDKCOption_OffersContextZ* arg_conv = (LDKCOption_OffersContextZ*)untag_ptr(arg); - int64_t ret_conv = COption_OffersContextZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_clone"))) TS_COption_OffersContextZ_clone(uint64_t orig) { - LDKCOption_OffersContextZ* orig_conv = (LDKCOption_OffersContextZ*)untag_ptr(orig); - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline uint64_t C2Tuple_OffersMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_OffersMessageResponseInstructionZ *NONNULL_PTR arg) { LDKC2Tuple_OffersMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_OffersMessageResponseInstructionZ), "LDKC2Tuple_OffersMessageResponseInstructionZ"); *ret_conv = C2Tuple_OffersMessageResponseInstructionZ_clone(arg); @@ -27503,6 +28548,39 @@ void __attribute__((export_name("TS_CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32 CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ_free(_res_constr); } +static inline uint64_t C2Tuple_boolboolZ_clone_ptr(LDKC2Tuple_boolboolZ *NONNULL_PTR arg) { + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_clone_ptr"))) TS_C2Tuple_boolboolZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_boolboolZ* arg_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_boolboolZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_clone"))) TS_C2Tuple_boolboolZ_clone(uint64_t orig) { + LDKC2Tuple_boolboolZ* orig_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(orig); + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_new"))) TS_C2Tuple_boolboolZ_new(jboolean a, jboolean b) { + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_new(a, b); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_boolboolZ_free"))) TS_C2Tuple_boolboolZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_boolboolZ _res_conv = *(LDKC2Tuple_boolboolZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_boolboolZ_free(_res_conv); +} + void __attribute__((export_name("TS_CVec_BalanceZ_free"))) TS_CVec_BalanceZ_free(uint64_tArray _res) { LDKCVec_BalanceZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -28449,6 +29527,124 @@ uint64_t __attribute__((export_name("TS_CResult_CVec_StrZIOErrorZ_clone"))) TS_ return tag_ptr(ret_conv, true); } +static inline uint64_t C3Tuple_StrStrStrZ_clone_ptr(LDKC3Tuple_StrStrStrZ *NONNULL_PTR arg) { + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_clone_ptr"))) TS_C3Tuple_StrStrStrZ_clone_ptr(uint64_t arg) { + LDKC3Tuple_StrStrStrZ* arg_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(arg); + int64_t ret_conv = C3Tuple_StrStrStrZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_clone"))) TS_C3Tuple_StrStrStrZ_clone(uint64_t orig) { + LDKC3Tuple_StrStrStrZ* orig_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(orig); + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_new"))) TS_C3Tuple_StrStrStrZ_new(jstring a, jstring b, jstring c) { + LDKStr a_conv = str_ref_to_owned_c(a); + LDKStr b_conv = str_ref_to_owned_c(b); + LDKStr c_conv = str_ref_to_owned_c(c); + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_new(a_conv, b_conv, c_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C3Tuple_StrStrStrZ_free"))) TS_C3Tuple_StrStrStrZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC3Tuple_StrStrStrZ _res_conv = *(LDKC3Tuple_StrStrStrZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C3Tuple_StrStrStrZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C3Tuple_StrStrStrZZ_free"))) TS_CVec_C3Tuple_StrStrStrZZ_free(uint64_tArray _res) { + LDKCVec_C3Tuple_StrStrStrZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC3Tuple_StrStrStrZ), "LDKCVec_C3Tuple_StrStrStrZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t x = 0; x < _res_constr.datalen; x++) { + uint64_t _res_conv_23 = _res_vals[x]; + void* _res_conv_23_ptr = untag_ptr(_res_conv_23); + CHECK_ACCESS(_res_conv_23_ptr); + LDKC3Tuple_StrStrStrZ _res_conv_23_conv = *(LDKC3Tuple_StrStrStrZ*)(_res_conv_23_ptr); + FREE(untag_ptr(_res_conv_23)); + _res_constr.data[x] = _res_conv_23_conv; + } + FREE(_res); + CVec_C3Tuple_StrStrStrZZ_free(_res_constr); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(uint64_tArray o) { + LDKCVec_C3Tuple_StrStrStrZZ o_constr; + o_constr.datalen = o->arr_len; + if (o_constr.datalen > 0) + o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKC3Tuple_StrStrStrZ), "LDKCVec_C3Tuple_StrStrStrZZ Elements"); + else + o_constr.data = NULL; + uint64_t* o_vals = o->elems; + for (size_t x = 0; x < o_constr.datalen; x++) { + uint64_t o_conv_23 = o_vals[x]; + void* o_conv_23_ptr = untag_ptr(o_conv_23); + CHECK_ACCESS(o_conv_23_ptr); + LDKC3Tuple_StrStrStrZ o_conv_23_conv = *(LDKC3Tuple_StrStrStrZ*)(o_conv_23_ptr); + o_conv_23_conv = C3Tuple_StrStrStrZ_clone((LDKC3Tuple_StrStrStrZ*)untag_ptr(o_conv_23)); + o_constr.data[x] = o_conv_23_conv; + } + FREE(o); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(o_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(uint64_t o) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* o_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ _res_conv = *(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR arg) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* arg_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(uint64_t orig) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* orig_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(orig); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_free"))) TS_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_free(uint64_tArray _res) { LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -28581,55 +29777,72 @@ uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesChannelMo return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(uint64_t o) { - LDKUnsignedInvoiceRequest o_conv; +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_ok"))) TS_CResult_MonitorNameIOErrorZ_ok(uint64_t o) { + LDKMonitorName o_conv; o_conv.inner = untag_ptr(o); o_conv.is_owned = ptr_is_owned(o); CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = UnsignedInvoiceRequest_clone(&o_conv); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(o_conv); + // WARNING: we need a move here but no clone is available for LDKMonitorName + + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = CResult_MonitorNameIOErrorZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(uint32_t e) { - LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(e_conv); +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_err"))) TS_CResult_MonitorNameIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = CResult_MonitorNameIOErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* o_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_is_ok"))) TS_CResult_MonitorNameIOErrorZ_is_ok(uint64_t o) { + LDKCResult_MonitorNameIOErrorZ* o_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_MonitorNameIOErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_free"))) TS_CResult_MonitorNameIOErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ _res_conv = *(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)(_res_ptr); + LDKCResult_MonitorNameIOErrorZ _res_conv = *(LDKCResult_MonitorNameIOErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(_res_conv); + CResult_MonitorNameIOErrorZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_ok"))) TS_CResult_UpdateNameIOErrorZ_ok(uint64_t o) { + LDKUpdateName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + // WARNING: we need a move here but no clone is available for LDKUpdateName + + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = CResult_UpdateNameIOErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); } -static inline uint64_t CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR arg) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(arg); +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_err"))) TS_CResult_UpdateNameIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = CResult_UpdateNameIOErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* arg_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(arg_conv); + +jboolean __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_is_ok"))) TS_CResult_UpdateNameIOErrorZ_is_ok(uint64_t o) { + LDKCResult_UpdateNameIOErrorZ* o_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_UpdateNameIOErrorZ_is_ok(o_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(uint64_t orig) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* orig_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(orig); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); +void __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_free"))) TS_CResult_UpdateNameIOErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_UpdateNameIOErrorZ _res_conv = *(LDKCResult_UpdateNameIOErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_UpdateNameIOErrorZ_free(_res_conv); } uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestBolt12SemanticErrorZ_ok(uint64_t o) { @@ -28801,6 +30014,60 @@ void __attribute__((export_name("TS_CResult_InvoiceWithDerivedSigningPubkeyBuil CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res_conv); } +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_ok(uint64_t o) { + LDKInvoiceRequest o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = InvoiceRequest_clone(&o_conv); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_err"))) TS_CResult_InvoiceRequestDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_is_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_InvoiceRequestDecodeErrorZ* o_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InvoiceRequestDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_free"))) TS_CResult_InvoiceRequestDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_InvoiceRequestDecodeErrorZ _res_conv = *(LDKCResult_InvoiceRequestDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_InvoiceRequestDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_InvoiceRequestDecodeErrorZ_clone_ptr(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_clone_ptr"))) TS_CResult_InvoiceRequestDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_InvoiceRequestDecodeErrorZ* arg_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_clone"))) TS_CResult_InvoiceRequestDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_InvoiceRequestDecodeErrorZ* orig_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(orig); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestFieldsDecodeErrorZ_ok"))) TS_CResult_InvoiceRequestFieldsDecodeErrorZ_ok(uint64_t o) { LDKInvoiceRequestFields o_conv; o_conv.inner = untag_ptr(o); @@ -34397,10 +35664,11 @@ uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_ok")) } uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_err"))) TS_CResult_SiPrefixBolt11ParseErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKBolt11ParseError e_conv = *(LDKBolt11ParseError*)(e_ptr); - e_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(e)); + LDKBolt11ParseError e_conv; + e_conv.inner = untag_ptr(e); + e_conv.is_owned = ptr_is_owned(e); + CHECK_INNER_FIELD_ACCESS_OR_NULL(e_conv); + e_conv = Bolt11ParseError_clone(&e_conv); LDKCResult_SiPrefixBolt11ParseErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_SiPrefixBolt11ParseErrorZ), "LDKCResult_SiPrefixBolt11ParseErrorZ"); *ret_conv = CResult_SiPrefixBolt11ParseErrorZ_err(e_conv); return tag_ptr(ret_conv, true); @@ -34505,10 +35773,11 @@ uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11Par } uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err"))) TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKBolt11ParseError e_conv = *(LDKBolt11ParseError*)(e_ptr); - e_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(e)); + LDKBolt11ParseError e_conv; + e_conv.inner = untag_ptr(e); + e_conv.is_owned = ptr_is_owned(e); + CHECK_INNER_FIELD_ACCESS_OR_NULL(e_conv); + e_conv = Bolt11ParseError_clone(&e_conv); LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ), "LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ"); *ret_conv = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err(e_conv); return tag_ptr(ret_conv, true); @@ -35288,6 +36557,384 @@ uint64_t __attribute__((export_name("TS_CResult_ChannelIdDecodeErrorZ_clone"))) return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKInitFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = InitFeatures_clone(&o_conv); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_err"))) TS_CResult_InitFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_is_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_InitFeaturesDecodeErrorZ* o_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InitFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_free"))) TS_CResult_InitFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_InitFeaturesDecodeErrorZ _res_conv = *(LDKCResult_InitFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_InitFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_InitFeaturesDecodeErrorZ* arg_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone"))) TS_CResult_InitFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_InitFeaturesDecodeErrorZ* orig_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKChannelFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = ChannelFeatures_clone(&o_conv); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_ChannelFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_ChannelFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_ChannelFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_ChannelFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_ChannelFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_ChannelFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKNodeFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = NodeFeatures_clone(&o_conv); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_NodeFeaturesDecodeErrorZ* o_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NodeFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_free"))) TS_CResult_NodeFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_NodeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_NodeFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_NodeFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NodeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_NodeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBolt11InvoiceFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt11InvoiceFeatures_clone(&o_conv); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBolt12InvoiceFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt12InvoiceFeatures_clone(&o_conv); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBlindedHopFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = BlindedHopFeatures_clone(&o_conv); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* o_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_free"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_BlindedHopFeaturesDecodeErrorZ _res_conv = *(LDKCResult_BlindedHopFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_BlindedHopFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* arg_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* orig_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKChannelTypeFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = ChannelTypeFeatures_clone(&o_conv); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + static inline uint64_t C2Tuple__u832u16Z_clone_ptr(LDKC2Tuple__u832u16Z *NONNULL_PTR arg) { LDKC2Tuple__u832u16Z* ret_conv = MALLOC(sizeof(LDKC2Tuple__u832u16Z), "LDKC2Tuple__u832u16Z"); *ret_conv = C2Tuple__u832u16Z_clone(arg); @@ -35609,60 +37256,6 @@ uint64_t __attribute__((export_name("TS_CResult_PaymentContextDecodeErrorZ_clon return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_ok(uint64_t o) { - LDKUnknownPaymentContext o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = UnknownPaymentContext_clone(&o_conv); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_err"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_is_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* o_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_free"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_UnknownPaymentContextDecodeErrorZ _res_conv = *(LDKCResult_UnknownPaymentContextDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_UnknownPaymentContextDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* arg_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_clone"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* orig_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(orig); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_Bolt12OfferContextDecodeErrorZ_ok"))) TS_CResult_Bolt12OfferContextDecodeErrorZ_ok(uint64_t o) { LDKBolt12OfferContext o_conv; o_conv.inner = untag_ptr(o); @@ -35875,6 +37468,138 @@ uint64_t __attribute__((export_name("TS_CResult_ResponderDecodeErrorZ_clone"))) return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_ok"))) TS_CResult_OnionMessagePathNoneZ_ok(uint64_t o) { + LDKOnionMessagePath o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = OnionMessagePath_clone(&o_conv); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_err"))) TS_CResult_OnionMessagePathNoneZ_err() { + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_is_ok"))) TS_CResult_OnionMessagePathNoneZ_is_ok(uint64_t o) { + LDKCResult_OnionMessagePathNoneZ* o_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_OnionMessagePathNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_free"))) TS_CResult_OnionMessagePathNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_OnionMessagePathNoneZ _res_conv = *(LDKCResult_OnionMessagePathNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_OnionMessagePathNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg) { + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone_ptr"))) TS_CResult_OnionMessagePathNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_OnionMessagePathNoneZ* arg_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_OnionMessagePathNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone"))) TS_CResult_OnionMessagePathNoneZ_clone(uint64_t orig) { + LDKCResult_OnionMessagePathNoneZ* orig_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(orig); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(uint64_tArray o) { + LDKCVec_BlindedMessagePathZ o_constr; + o_constr.datalen = o->arr_len; + if (o_constr.datalen > 0) + o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKBlindedMessagePath), "LDKCVec_BlindedMessagePathZ Elements"); + else + o_constr.data = NULL; + uint64_t* o_vals = o->elems; + for (size_t u = 0; u < o_constr.datalen; u++) { + uint64_t o_conv_20 = o_vals[u]; + LDKBlindedMessagePath o_conv_20_conv; + o_conv_20_conv.inner = untag_ptr(o_conv_20); + o_conv_20_conv.is_owned = ptr_is_owned(o_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv_20_conv); + o_conv_20_conv = BlindedMessagePath_clone(&o_conv_20_conv); + o_constr.data[u] = o_conv_20_conv; + } + FREE(o); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_ok(o_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_err() { + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(uint64_t o) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* o_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_free"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ _res_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_CVec_BlindedMessagePathZNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* arg_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(uint64_t orig) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* orig_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(orig); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_CVec_MessageForwardNodeZ_free"))) TS_CVec_MessageForwardNodeZ_free(uint64_tArray _res) { + LDKCVec_MessageForwardNodeZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t u = 0; u < _res_constr.datalen; u++) { + uint64_t _res_conv_20 = _res_vals[u]; + LDKMessageForwardNode _res_conv_20_conv; + _res_conv_20_conv.inner = untag_ptr(_res_conv_20); + _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); + _res_constr.data[u] = _res_conv_20_conv; + } + FREE(_res); + CVec_MessageForwardNodeZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_COption_MessageContextZ_some"))) TS_COption_MessageContextZ_some(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); @@ -36245,60 +37970,6 @@ void __attribute__((export_name("TS_CVec_PhantomRouteHintsZ_free"))) TS_CVec_Ph CVec_PhantomRouteHintsZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(uint64_t o) { - LDKBolt11Invoice o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt11Invoice_clone(&o_conv); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKSignOrCreationError e_conv = *(LDKSignOrCreationError*)(e_ptr); - e_conv = SignOrCreationError_clone((LDKSignOrCreationError*)untag_ptr(e)); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* o_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(orig); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_InvoiceErrorDecodeErrorZ_ok"))) TS_CResult_InvoiceErrorDecodeErrorZ_ok(uint64_t o) { LDKInvoiceError o_conv; o_conv.inner = untag_ptr(o); @@ -37308,6 +38979,113 @@ uint64_t __attribute__((export_name("TS_CResult_OffersContextDecodeErrorZ_clone return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKAsyncPaymentsContext o_conv = *(LDKAsyncPaymentsContext*)(o_ptr); + o_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(o)); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_err"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_is_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* o_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_free"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_AsyncPaymentsContextDecodeErrorZ _res_conv = *(LDKCResult_AsyncPaymentsContextDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_AsyncPaymentsContextDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* arg_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* orig_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(orig); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_ok(uint64_t o) { + LDKDNSResolverContext o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = DNSResolverContext_clone(&o_conv); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_err"))) TS_CResult_DNSResolverContextDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_is_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_DNSResolverContextDecodeErrorZ* o_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_DNSResolverContextDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_free"))) TS_CResult_DNSResolverContextDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_DNSResolverContextDecodeErrorZ _res_conv = *(LDKCResult_DNSResolverContextDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_DNSResolverContextDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_DNSResolverContextDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_clone_ptr"))) TS_CResult_DNSResolverContextDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_DNSResolverContextDecodeErrorZ* arg_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_clone"))) TS_CResult_DNSResolverContextDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_DNSResolverContextDecodeErrorZ* orig_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(orig); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_APIError_free"))) TS_APIError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -37829,6 +39607,27 @@ void __attribute__((export_name("TS_KVStore_free"))) TS_KVStore_free(uint64_t t KVStore_free(this_ptr_conv); } +void __attribute__((export_name("TS_MigratableKVStore_free"))) TS_MigratableKVStore_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKMigratableKVStore this_ptr_conv = *(LDKMigratableKVStore*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + MigratableKVStore_free(this_ptr_conv); +} + +uint64_t __attribute__((export_name("TS_migrate_kv_store_data"))) TS_migrate_kv_store_data(uint64_t source_store, uint64_t target_store) { + void* source_store_ptr = untag_ptr(source_store); + if (ptr_is_owned(source_store)) { CHECK_ACCESS(source_store_ptr); } + LDKMigratableKVStore* source_store_conv = (LDKMigratableKVStore*)source_store_ptr; + void* target_store_ptr = untag_ptr(target_store); + if (ptr_is_owned(target_store)) { CHECK_ACCESS(target_store_ptr); } + LDKMigratableKVStore* target_store_conv = (LDKMigratableKVStore*)target_store_ptr; + LDKCResult_NoneIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneIOErrorZ), "LDKCResult_NoneIOErrorZ"); + *ret_conv = migrate_kv_store_data(source_store_conv, target_store_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_Persister_free"))) TS_Persister_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -37968,6 +39767,79 @@ uint64_t __attribute__((export_name("TS_MonitorUpdatingPersister_as_Persist"))) return tag_ptr(ret_ret, true); } +void __attribute__((export_name("TS_MonitorName_free"))) TS_MonitorName_free(uint64_t this_obj) { + LDKMonitorName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + MonitorName_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_MonitorName_new"))) TS_MonitorName_new(jstring name) { + LDKStr name_conv = str_ref_to_owned_c(name); + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = MonitorName_new(name_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_MonitorName_as_str"))) TS_MonitorName_as_str(uint64_t this_arg) { + LDKMonitorName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = MonitorName_as_str(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +void __attribute__((export_name("TS_UpdateName_free"))) TS_UpdateName_free(uint64_t this_obj) { + LDKUpdateName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + UpdateName_free(this_obj_conv); +} + +int64_t __attribute__((export_name("TS_UpdateName_get_a"))) TS_UpdateName_get_a(uint64_t this_ptr) { + LDKUpdateName this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + int64_t ret_conv = UpdateName_get_a(&this_ptr_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_UpdateName_set_a"))) TS_UpdateName_set_a(uint64_t this_ptr, int64_t val) { + LDKUpdateName this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + UpdateName_set_a(&this_ptr_conv, val); +} + +uint64_t __attribute__((export_name("TS_UpdateName_new"))) TS_UpdateName_new(jstring name) { + LDKStr name_conv = str_ref_to_owned_c(name); + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = UpdateName_new(name_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_UpdateName_as_str"))) TS_UpdateName_as_str(uint64_t this_arg) { + LDKUpdateName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = UpdateName_as_str(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_ShortChannelIdError_clone"))) TS_ShortChannelIdError_clone(uint64_t orig) { LDKShortChannelIdError* orig_conv = (LDKShortChannelIdError*)untag_ptr(orig); uint32_t ret_conv = LDKShortChannelIdError_to_js(ShortChannelIdError_clone(orig_conv)); @@ -40100,25 +41972,6 @@ void __attribute__((export_name("TS_UserConfig_set_accept_intercept_htlcs"))) T UserConfig_set_accept_intercept_htlcs(&this_ptr_conv, val); } -jboolean __attribute__((export_name("TS_UserConfig_get_accept_mpp_keysend"))) TS_UserConfig_get_accept_mpp_keysend(uint64_t this_ptr) { - LDKUserConfig this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - jboolean ret_conv = UserConfig_get_accept_mpp_keysend(&this_ptr_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_UserConfig_set_accept_mpp_keysend"))) TS_UserConfig_set_accept_mpp_keysend(uint64_t this_ptr, jboolean val) { - LDKUserConfig this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - UserConfig_set_accept_mpp_keysend(&this_ptr_conv, val); -} - jboolean __attribute__((export_name("TS_UserConfig_get_manually_handle_bolt12_invoices"))) TS_UserConfig_get_manually_handle_bolt12_invoices(uint64_t this_ptr) { LDKUserConfig this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -40138,7 +41991,7 @@ void __attribute__((export_name("TS_UserConfig_set_manually_handle_bolt12_invoi UserConfig_set_manually_handle_bolt12_invoices(&this_ptr_conv, val); } -uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(uint64_t channel_handshake_config_arg, uint64_t channel_handshake_limits_arg, uint64_t channel_config_arg, jboolean accept_forwards_to_priv_channels_arg, jboolean accept_inbound_channels_arg, jboolean manually_accept_inbound_channels_arg, jboolean accept_intercept_htlcs_arg, jboolean accept_mpp_keysend_arg, jboolean manually_handle_bolt12_invoices_arg) { +uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(uint64_t channel_handshake_config_arg, uint64_t channel_handshake_limits_arg, uint64_t channel_config_arg, jboolean accept_forwards_to_priv_channels_arg, jboolean accept_inbound_channels_arg, jboolean manually_accept_inbound_channels_arg, jboolean accept_intercept_htlcs_arg, jboolean manually_handle_bolt12_invoices_arg) { LDKChannelHandshakeConfig channel_handshake_config_arg_conv; channel_handshake_config_arg_conv.inner = untag_ptr(channel_handshake_config_arg); channel_handshake_config_arg_conv.is_owned = ptr_is_owned(channel_handshake_config_arg); @@ -40154,7 +42007,7 @@ uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(ui channel_config_arg_conv.is_owned = ptr_is_owned(channel_config_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_config_arg_conv); channel_config_arg_conv = ChannelConfig_clone(&channel_config_arg_conv); - LDKUserConfig ret_var = UserConfig_new(channel_handshake_config_arg_conv, channel_handshake_limits_arg_conv, channel_config_arg_conv, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, accept_mpp_keysend_arg, manually_handle_bolt12_invoices_arg); + LDKUserConfig ret_var = UserConfig_new(channel_handshake_config_arg_conv, channel_handshake_limits_arg_conv, channel_config_arg_conv, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, manually_handle_bolt12_invoices_arg); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -41532,7 +43385,7 @@ uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_and_clear_pendi return ret_arr; } -uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events"))) TS_ChannelMonitor_process_pending_events(uint64_t this_arg, uint64_t handler) { +uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events"))) TS_ChannelMonitor_process_pending_events(uint64_t this_arg, uint64_t handler, uint64_t logger) { LDKChannelMonitor this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -41541,8 +43394,11 @@ uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events") void* handler_ptr = untag_ptr(handler); if (ptr_is_owned(handler)) { CHECK_ACCESS(handler_ptr); } LDKEventHandler* handler_conv = (LDKEventHandler*)handler_ptr; + void* logger_ptr = untag_ptr(logger); + if (ptr_is_owned(logger)) { CHECK_ACCESS(logger_ptr); } + LDKLogger* logger_conv = (LDKLogger*)logger_ptr; LDKCResult_NoneReplayEventZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneReplayEventZ), "LDKCResult_NoneReplayEventZ"); - *ret_conv = ChannelMonitor_process_pending_events(&this_arg_conv, handler_conv); + *ret_conv = ChannelMonitor_process_pending_events(&this_arg_conv, handler_conv, logger_conv); return tag_ptr(ret_conv, true); } @@ -41967,7 +43823,7 @@ uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_spendable_outpu return ret_arr; } -jboolean __attribute__((export_name("TS_ChannelMonitor_is_fully_resolved"))) TS_ChannelMonitor_is_fully_resolved(uint64_t this_arg, uint64_t logger) { +uint64_t __attribute__((export_name("TS_ChannelMonitor_check_and_update_full_resolution_status"))) TS_ChannelMonitor_check_and_update_full_resolution_status(uint64_t this_arg, uint64_t logger) { LDKChannelMonitor this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -41976,8 +43832,9 @@ jboolean __attribute__((export_name("TS_ChannelMonitor_is_fully_resolved"))) TS void* logger_ptr = untag_ptr(logger); if (ptr_is_owned(logger)) { CHECK_ACCESS(logger_ptr); } LDKLogger* logger_conv = (LDKLogger*)logger_ptr; - jboolean ret_conv = ChannelMonitor_is_fully_resolved(&this_arg_conv, logger_conv); - return ret_conv; + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = ChannelMonitor_check_and_update_full_resolution_status(&this_arg_conv, logger_conv); + return tag_ptr(ret_conv, true); } uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_claimable_balances"))) TS_ChannelMonitor_get_claimable_balances(uint64_t this_arg) { @@ -42311,7 +44168,7 @@ jboolean __attribute__((export_name("TS_InboundHTLCErr_eq"))) TS_InboundHTLCErr return ret_conv; } -uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_onion(uint64_t msg, uint64_t node_signer, uint64_t logger, int32_t cur_height, jboolean accept_mpp_keysend, jboolean allow_skimmed_fees) { +uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_onion(uint64_t msg, uint64_t node_signer, uint64_t logger, int32_t cur_height, jboolean allow_skimmed_fees) { LDKUpdateAddHTLC msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); @@ -42332,7 +44189,7 @@ uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_ LDKLogger_JCalls_cloned(&logger_conv); } LDKCResult_PendingHTLCInfoInboundHTLCErrZ* ret_conv = MALLOC(sizeof(LDKCResult_PendingHTLCInfoInboundHTLCErrZ), "LDKCResult_PendingHTLCInfoInboundHTLCErrZ"); - *ret_conv = peel_payment_onion(&msg_conv, node_signer_conv, logger_conv, cur_height, accept_mpp_keysend, allow_skimmed_fees); + *ret_conv = peel_payment_onion(&msg_conv, node_signer_conv, logger_conv, cur_height, allow_skimmed_fees); return tag_ptr(ret_conv, true); } @@ -42421,7 +44278,7 @@ uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive"))) TS_Pendi return ret_ref; } -uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) TS_PendingHTLCRouting_receive_keysend(uint64_t payment_data, int8_tArray payment_preimage, uint64_t payment_metadata, int32_t incoming_cltv_expiry, uint64_tArray custom_tlvs, jboolean requires_blinded_error) { +uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) TS_PendingHTLCRouting_receive_keysend(uint64_t payment_data, int8_tArray payment_preimage, uint64_t payment_metadata, int32_t incoming_cltv_expiry, uint64_tArray custom_tlvs, jboolean requires_blinded_error, jboolean has_recipient_created_payment_secret) { LDKFinalOnionHopData payment_data_conv; payment_data_conv.inner = untag_ptr(payment_data); payment_data_conv.is_owned = ptr_is_owned(payment_data); @@ -42451,7 +44308,7 @@ uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) } FREE(custom_tlvs); LDKPendingHTLCRouting *ret_copy = MALLOC(sizeof(LDKPendingHTLCRouting), "LDKPendingHTLCRouting"); - *ret_copy = PendingHTLCRouting_receive_keysend(payment_data_conv, payment_preimage_ref, payment_metadata_conv, incoming_cltv_expiry, custom_tlvs_constr, requires_blinded_error); + *ret_copy = PendingHTLCRouting_receive_keysend(payment_data_conv, payment_preimage_ref, payment_metadata_conv, incoming_cltv_expiry, custom_tlvs_constr, requires_blinded_error, has_recipient_created_payment_secret); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -42852,6 +44709,26 @@ jboolean __attribute__((export_name("TS_BlindedFailure_eq"))) TS_BlindedFailure return ret_conv; } +void __attribute__((export_name("TS_Verification_free"))) TS_Verification_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKVerification this_ptr_conv = *(LDKVerification*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + Verification_free(this_ptr_conv); +} + +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_as_Verification"))) TS_UnauthenticatedReceiveTlvs_as_Verification(uint64_t this_arg) { + LDKUnauthenticatedReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKVerification* ret_ret = MALLOC(sizeof(LDKVerification), "LDKVerification"); + *ret_ret = UnauthenticatedReceiveTlvs_as_Verification(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + void __attribute__((export_name("TS_FailureCode_free"))) TS_FailureCode_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -43255,7 +45132,7 @@ uint64_t __attribute__((export_name("TS_PhantomRouteHints_clone"))) TS_PhantomR return ret_ref; } -uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManager_new(uint64_t fee_est, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t logger, uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t config, uint64_t params, int32_t current_timestamp) { +uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManager_new(uint64_t fee_est, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t message_router, uint64_t logger, uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t config, uint64_t params, int32_t current_timestamp) { void* fee_est_ptr = untag_ptr(fee_est); CHECK_ACCESS(fee_est_ptr); LDKFeeEstimator fee_est_conv = *(LDKFeeEstimator*)(fee_est_ptr); @@ -43284,6 +45161,13 @@ uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManage // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKRouter_JCalls_cloned(&router_conv); } + void* message_router_ptr = untag_ptr(message_router); + CHECK_ACCESS(message_router_ptr); + LDKMessageRouter message_router_conv = *(LDKMessageRouter*)(message_router_ptr); + if (message_router_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&message_router_conv); + } void* logger_ptr = untag_ptr(logger); CHECK_ACCESS(logger_ptr); LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); @@ -43322,7 +45206,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManage params_conv.is_owned = ptr_is_owned(params); CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv = ChainParameters_clone(¶ms_conv); - LDKChannelManager ret_var = ChannelManager_new(fee_est_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, logger_conv, entropy_source_conv, node_signer_conv, signer_provider_conv, config_conv, params_conv, current_timestamp); + LDKChannelManager ret_var = ChannelManager_new(fee_est_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, message_router_conv, logger_conv, entropy_source_conv, node_signer_conv, signer_provider_conv, config_conv, params_conv, current_timestamp); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -43566,33 +45450,6 @@ void __attribute__((export_name("TS_ChannelManager_force_close_all_channels_wit ChannelManager_force_close_all_channels_without_broadcasting_txn(&this_arg_conv, error_message_conv); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_payment_with_route"))) TS_ChannelManager_send_payment_with_route(uint64_t this_arg, uint64_t route, int8_tArray payment_hash, uint64_t recipient_onion, int8_tArray payment_id) { - LDKChannelManager this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKRoute route_conv; - route_conv.inner = untag_ptr(route); - route_conv.is_owned = ptr_is_owned(route); - CHECK_INNER_FIELD_ACCESS_OR_NULL(route_conv); - route_conv = Route_clone(&route_conv); - LDKThirtyTwoBytes payment_hash_ref; - CHECK(payment_hash->arr_len == 32); - memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); - LDKRecipientOnionFields recipient_onion_conv; - recipient_onion_conv.inner = untag_ptr(recipient_onion); - recipient_onion_conv.is_owned = ptr_is_owned(recipient_onion); - CHECK_INNER_FIELD_ACCESS_OR_NULL(recipient_onion_conv); - recipient_onion_conv = RecipientOnionFields_clone(&recipient_onion_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = ChannelManager_send_payment_with_route(&this_arg_conv, route_conv, payment_hash_ref, recipient_onion_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_ChannelManager_send_payment"))) TS_ChannelManager_send_payment(uint64_t this_arg, int8_tArray payment_hash, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -43624,47 +45481,39 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_payment"))) TS_Chan return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_ChannelManager_abandon_payment"))) TS_ChannelManager_abandon_payment(uint64_t this_arg, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_ChannelManager_send_payment_for_bolt12_invoice"))) TS_ChannelManager_send_payment_for_bolt12_invoice(uint64_t this_arg, uint64_t invoice, uint64_t context) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - ChannelManager_abandon_payment(&this_arg_conv, payment_id_ref); + LDKBolt12Invoice invoice_conv; + invoice_conv.inner = untag_ptr(invoice); + invoice_conv.is_owned = ptr_is_owned(invoice); + CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_conv); + invoice_conv.is_owned = false; + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKCOption_OffersContextZ context_conv = *(LDKCOption_OffersContextZ*)(context_ptr); + context_conv = COption_OffersContextZ_clone((LDKCOption_OffersContextZ*)untag_ptr(context)); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = ChannelManager_send_payment_for_bolt12_invoice(&this_arg_conv, &invoice_conv, context_conv); + return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment"))) TS_ChannelManager_send_spontaneous_payment(uint64_t this_arg, uint64_t route, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id) { +void __attribute__((export_name("TS_ChannelManager_abandon_payment"))) TS_ChannelManager_abandon_payment(uint64_t this_arg, int8_tArray payment_id) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; - LDKRoute route_conv; - route_conv.inner = untag_ptr(route); - route_conv.is_owned = ptr_is_owned(route); - CHECK_INNER_FIELD_ACCESS_OR_NULL(route_conv); - route_conv.is_owned = false; - void* payment_preimage_ptr = untag_ptr(payment_preimage); - CHECK_ACCESS(payment_preimage_ptr); - LDKCOption_ThirtyTwoBytesZ payment_preimage_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_preimage_ptr); - payment_preimage_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_preimage)); - LDKRecipientOnionFields recipient_onion_conv; - recipient_onion_conv.inner = untag_ptr(recipient_onion); - recipient_onion_conv.is_owned = ptr_is_owned(recipient_onion); - CHECK_INNER_FIELD_ACCESS_OR_NULL(recipient_onion_conv); - recipient_onion_conv = RecipientOnionFields_clone(&recipient_onion_conv); LDKThirtyTwoBytes payment_id_ref; CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = ChannelManager_send_spontaneous_payment(&this_arg_conv, &route_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref); - return tag_ptr(ret_conv, true); + ChannelManager_abandon_payment(&this_arg_conv, payment_id_ref); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment_with_retry"))) TS_ChannelManager_send_spontaneous_payment_with_retry(uint64_t this_arg, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { +uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment"))) TS_ChannelManager_send_spontaneous_payment(uint64_t this_arg, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -43692,7 +45541,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment LDKRetry retry_strategy_conv = *(LDKRetry*)(retry_strategy_ptr); retry_strategy_conv = Retry_clone((LDKRetry*)untag_ptr(retry_strategy)); LDKCResult_ThirtyTwoBytesRetryableSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesRetryableSendFailureZ), "LDKCResult_ThirtyTwoBytesRetryableSendFailureZ"); - *ret_conv = ChannelManager_send_spontaneous_payment_with_retry(&this_arg_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref, route_params_conv, retry_strategy_conv); + *ret_conv = ChannelManager_send_spontaneous_payment(&this_arg_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref, route_params_conv, retry_strategy_conv); return tag_ptr(ret_conv, true); } @@ -43707,7 +45556,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_probe"))) TS_Channe path_conv.is_owned = ptr_is_owned(path); CHECK_INNER_FIELD_ACCESS_OR_NULL(path_conv); path_conv = Path_clone(&path_conv); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); *ret_conv = ChannelManager_send_probe(&this_arg_conv, path_conv); return tag_ptr(ret_conv, true); } @@ -44065,6 +45914,205 @@ uint64_t __attribute__((export_name("TS_ChannelManager_accept_inbound_channel_f return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_ChannelManager_signer_unblocked"))) TS_ChannelManager_signer_unblocked(uint64_t this_arg, uint64_t channel_opt) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + void* channel_opt_ptr = untag_ptr(channel_opt); + CHECK_ACCESS(channel_opt_ptr); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ channel_opt_conv = *(LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)(channel_opt_ptr); + channel_opt_conv = COption_C2Tuple_PublicKeyChannelIdZZ_clone((LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(channel_opt)); + ChannelManager_signer_unblocked(&this_arg_conv, channel_opt_conv); +} + +uint64_t __attribute__((export_name("TS_ChannelManager_create_bolt11_invoice"))) TS_ChannelManager_create_bolt11_invoice(uint64_t this_arg, uint64_t params) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKBolt11InvoiceParameters params_conv; + params_conv.inner = untag_ptr(params); + params_conv.is_owned = ptr_is_owned(params); + CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); + // WARNING: we need a move here but no clone is available for LDKBolt11InvoiceParameters + + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = ChannelManager_create_bolt11_invoice(&this_arg_conv, params_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_free"))) TS_Bolt11InvoiceParameters_free(uint64_t this_obj) { + LDKBolt11InvoiceParameters this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + Bolt11InvoiceParameters_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_amount_msats"))) TS_Bolt11InvoiceParameters_get_amount_msats(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u64Z *ret_copy = MALLOC(sizeof(LDKCOption_u64Z), "LDKCOption_u64Z"); + *ret_copy = Bolt11InvoiceParameters_get_amount_msats(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_amount_msats"))) TS_Bolt11InvoiceParameters_set_amount_msats(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u64Z val_conv = *(LDKCOption_u64Z*)(val_ptr); + val_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_amount_msats(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_description"))) TS_Bolt11InvoiceParameters_get_description(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceParameters_get_description(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_description"))) TS_Bolt11InvoiceParameters_set_description(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKBolt11InvoiceDescription val_conv = *(LDKBolt11InvoiceDescription*)(val_ptr); + val_conv = Bolt11InvoiceDescription_clone((LDKBolt11InvoiceDescription*)untag_ptr(val)); + Bolt11InvoiceParameters_set_description(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_invoice_expiry_delta_secs"))) TS_Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u32Z *ret_copy = MALLOC(sizeof(LDKCOption_u32Z), "LDKCOption_u32Z"); + *ret_copy = Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_invoice_expiry_delta_secs"))) TS_Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u32Z val_conv = *(LDKCOption_u32Z*)(val_ptr); + val_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta"))) TS_Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u16Z *ret_copy = MALLOC(sizeof(LDKCOption_u16Z), "LDKCOption_u16Z"); + *ret_copy = Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta"))) TS_Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u16Z val_conv = *(LDKCOption_u16Z*)(val_ptr); + val_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_payment_hash"))) TS_Bolt11InvoiceParameters_get_payment_hash(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_ThirtyTwoBytesZ *ret_copy = MALLOC(sizeof(LDKCOption_ThirtyTwoBytesZ), "LDKCOption_ThirtyTwoBytesZ"); + *ret_copy = Bolt11InvoiceParameters_get_payment_hash(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_payment_hash"))) TS_Bolt11InvoiceParameters_set_payment_hash(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_ThirtyTwoBytesZ val_conv = *(LDKCOption_ThirtyTwoBytesZ*)(val_ptr); + val_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(val)); + Bolt11InvoiceParameters_set_payment_hash(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_new"))) TS_Bolt11InvoiceParameters_new(uint64_t amount_msats_arg, uint64_t description_arg, uint64_t invoice_expiry_delta_secs_arg, uint64_t min_final_cltv_expiry_delta_arg, uint64_t payment_hash_arg) { + void* amount_msats_arg_ptr = untag_ptr(amount_msats_arg); + CHECK_ACCESS(amount_msats_arg_ptr); + LDKCOption_u64Z amount_msats_arg_conv = *(LDKCOption_u64Z*)(amount_msats_arg_ptr); + amount_msats_arg_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amount_msats_arg)); + void* description_arg_ptr = untag_ptr(description_arg); + CHECK_ACCESS(description_arg_ptr); + LDKBolt11InvoiceDescription description_arg_conv = *(LDKBolt11InvoiceDescription*)(description_arg_ptr); + description_arg_conv = Bolt11InvoiceDescription_clone((LDKBolt11InvoiceDescription*)untag_ptr(description_arg)); + void* invoice_expiry_delta_secs_arg_ptr = untag_ptr(invoice_expiry_delta_secs_arg); + CHECK_ACCESS(invoice_expiry_delta_secs_arg_ptr); + LDKCOption_u32Z invoice_expiry_delta_secs_arg_conv = *(LDKCOption_u32Z*)(invoice_expiry_delta_secs_arg_ptr); + invoice_expiry_delta_secs_arg_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(invoice_expiry_delta_secs_arg)); + void* min_final_cltv_expiry_delta_arg_ptr = untag_ptr(min_final_cltv_expiry_delta_arg); + CHECK_ACCESS(min_final_cltv_expiry_delta_arg_ptr); + LDKCOption_u16Z min_final_cltv_expiry_delta_arg_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_arg_ptr); + min_final_cltv_expiry_delta_arg_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta_arg)); + void* payment_hash_arg_ptr = untag_ptr(payment_hash_arg); + CHECK_ACCESS(payment_hash_arg_ptr); + LDKCOption_ThirtyTwoBytesZ payment_hash_arg_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_hash_arg_ptr); + payment_hash_arg_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_hash_arg)); + LDKBolt11InvoiceParameters ret_var = Bolt11InvoiceParameters_new(amount_msats_arg_conv, description_arg_conv, invoice_expiry_delta_secs_arg_conv, min_final_cltv_expiry_delta_arg_conv, payment_hash_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_default"))) TS_Bolt11InvoiceParameters_default() { + LDKBolt11InvoiceParameters ret_var = Bolt11InvoiceParameters_default(); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_ChannelManager_create_offer_builder"))) TS_ChannelManager_create_offer_builder(uint64_t this_arg, uint64_t absolute_expiry) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44157,6 +46205,49 @@ uint64_t __attribute__((export_name("TS_ChannelManager_request_refund_payment") return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_ChannelManager_pay_for_offer_from_human_readable_name"))) TS_ChannelManager_pay_for_offer_from_human_readable_name(uint64_t this_arg, uint64_t name, int64_t amount_msats, int8_tArray payment_id, uint64_t retry_strategy, uint64_t max_total_routing_fee_msat, uint64_tArray dns_resolvers) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName name_conv; + name_conv.inner = untag_ptr(name); + name_conv.is_owned = ptr_is_owned(name); + CHECK_INNER_FIELD_ACCESS_OR_NULL(name_conv); + name_conv = HumanReadableName_clone(&name_conv); + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + void* retry_strategy_ptr = untag_ptr(retry_strategy); + CHECK_ACCESS(retry_strategy_ptr); + LDKRetry retry_strategy_conv = *(LDKRetry*)(retry_strategy_ptr); + retry_strategy_conv = Retry_clone((LDKRetry*)untag_ptr(retry_strategy)); + void* max_total_routing_fee_msat_ptr = untag_ptr(max_total_routing_fee_msat); + CHECK_ACCESS(max_total_routing_fee_msat_ptr); + LDKCOption_u64Z max_total_routing_fee_msat_conv = *(LDKCOption_u64Z*)(max_total_routing_fee_msat_ptr); + max_total_routing_fee_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(max_total_routing_fee_msat)); + LDKCVec_DestinationZ dns_resolvers_constr; + dns_resolvers_constr.datalen = dns_resolvers->arr_len; + if (dns_resolvers_constr.datalen > 0) + dns_resolvers_constr.data = MALLOC(dns_resolvers_constr.datalen * sizeof(LDKDestination), "LDKCVec_DestinationZ Elements"); + else + dns_resolvers_constr.data = NULL; + uint64_t* dns_resolvers_vals = dns_resolvers->elems; + for (size_t n = 0; n < dns_resolvers_constr.datalen; n++) { + uint64_t dns_resolvers_conv_13 = dns_resolvers_vals[n]; + void* dns_resolvers_conv_13_ptr = untag_ptr(dns_resolvers_conv_13); + CHECK_ACCESS(dns_resolvers_conv_13_ptr); + LDKDestination dns_resolvers_conv_13_conv = *(LDKDestination*)(dns_resolvers_conv_13_ptr); + dns_resolvers_conv_13_conv = Destination_clone((LDKDestination*)untag_ptr(dns_resolvers_conv_13)); + dns_resolvers_constr.data[n] = dns_resolvers_conv_13_conv; + } + FREE(dns_resolvers); + LDKCResult_NoneNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneNoneZ), "LDKCResult_NoneNoneZ"); + *ret_conv = ChannelManager_pay_for_offer_from_human_readable_name(&this_arg_conv, name_conv, amount_msats, payment_id_ref, retry_strategy_conv, max_total_routing_fee_msat_conv, dns_resolvers_constr); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_ChannelManager_create_inbound_payment"))) TS_ChannelManager_create_inbound_payment(uint64_t this_arg, uint64_t min_value_msat, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44426,6 +46517,17 @@ uint64_t __attribute__((export_name("TS_ChannelManager_as_AsyncPaymentsMessageH return tag_ptr(ret_ret, true); } +uint64_t __attribute__((export_name("TS_ChannelManager_as_DNSResolverMessageHandler"))) TS_ChannelManager_as_DNSResolverMessageHandler(uint64_t this_arg) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSResolverMessageHandler* ret_ret = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *ret_ret = ChannelManager_as_DNSResolverMessageHandler(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + uint64_t __attribute__((export_name("TS_ChannelManager_as_NodeIdLookUp"))) TS_ChannelManager_as_NodeIdLookUp(uint64_t this_arg) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44767,6 +46869,33 @@ void __attribute__((export_name("TS_ChannelManagerReadArgs_set_router"))) TS_Ch ChannelManagerReadArgs_set_router(&this_ptr_conv, val_conv); } +uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_get_message_router"))) TS_ChannelManagerReadArgs_get_message_router(uint64_t this_ptr) { + LDKChannelManagerReadArgs this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + // WARNING: This object doesn't live past this scope, needs clone! + uint64_t ret_ret = tag_ptr(ChannelManagerReadArgs_get_message_router(&this_ptr_conv), false); + return ret_ret; +} + +void __attribute__((export_name("TS_ChannelManagerReadArgs_set_message_router"))) TS_ChannelManagerReadArgs_set_message_router(uint64_t this_ptr, uint64_t val) { + LDKChannelManagerReadArgs this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKMessageRouter val_conv = *(LDKMessageRouter*)(val_ptr); + if (val_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&val_conv); + } + ChannelManagerReadArgs_set_message_router(&this_ptr_conv, val_conv); +} + uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_get_logger"))) TS_ChannelManagerReadArgs_get_logger(uint64_t this_ptr) { LDKChannelManagerReadArgs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -44821,7 +46950,7 @@ void __attribute__((export_name("TS_ChannelManagerReadArgs_set_default_config") ChannelManagerReadArgs_set_default_config(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_ChannelManagerReadArgs_new(uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t fee_estimator, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t logger, uint64_t default_config, uint64_tArray channel_monitors) { +uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_ChannelManagerReadArgs_new(uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t fee_estimator, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t message_router, uint64_t logger, uint64_t default_config, uint64_tArray channel_monitors) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -44871,6 +47000,13 @@ uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_Chann // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKRouter_JCalls_cloned(&router_conv); } + void* message_router_ptr = untag_ptr(message_router); + CHECK_ACCESS(message_router_ptr); + LDKMessageRouter message_router_conv = *(LDKMessageRouter*)(message_router_ptr); + if (message_router_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&message_router_conv); + } void* logger_ptr = untag_ptr(logger); CHECK_ACCESS(logger_ptr); LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); @@ -44900,7 +47036,7 @@ uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_Chann channel_monitors_constr.data[q] = channel_monitors_conv_16_conv; } FREE(channel_monitors); - LDKChannelManagerReadArgs ret_var = ChannelManagerReadArgs_new(entropy_source_conv, node_signer_conv, signer_provider_conv, fee_estimator_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, logger_conv, default_config_conv, channel_monitors_constr); + LDKChannelManagerReadArgs ret_var = ChannelManagerReadArgs_new(entropy_source_conv, node_signer_conv, signer_provider_conv, fee_estimator_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, message_router_conv, logger_conv, default_config_conv, channel_monitors_constr); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -46976,25 +49112,6 @@ void __attribute__((export_name("TS_ChannelDetails_set_feerate_sat_per_1000_wei ChannelDetails_set_feerate_sat_per_1000_weight(&this_ptr_conv, val_conv); } -int64_t __attribute__((export_name("TS_ChannelDetails_get_balance_msat"))) TS_ChannelDetails_get_balance_msat(uint64_t this_ptr) { - LDKChannelDetails this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int64_t ret_conv = ChannelDetails_get_balance_msat(&this_ptr_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_ChannelDetails_set_balance_msat"))) TS_ChannelDetails_set_balance_msat(uint64_t this_ptr, int64_t val) { - LDKChannelDetails this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - ChannelDetails_set_balance_msat(&this_ptr_conv, val); -} - int64_t __attribute__((export_name("TS_ChannelDetails_get_outbound_capacity_msat"))) TS_ChannelDetails_get_outbound_capacity_msat(uint64_t this_ptr) { LDKChannelDetails this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -47420,7 +49537,7 @@ void __attribute__((export_name("TS_ChannelDetails_set_pending_outbound_htlcs") ChannelDetails_set_pending_outbound_htlcs(&this_ptr_conv, val_constr); } -uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetails_new(uint64_t channel_id_arg, uint64_t counterparty_arg, uint64_t funding_txo_arg, uint64_t channel_type_arg, uint64_t short_channel_id_arg, uint64_t outbound_scid_alias_arg, uint64_t inbound_scid_alias_arg, int64_t channel_value_satoshis_arg, uint64_t unspendable_punishment_reserve_arg, int8_tArray user_channel_id_arg, uint64_t feerate_sat_per_1000_weight_arg, int64_t balance_msat_arg, int64_t outbound_capacity_msat_arg, int64_t next_outbound_htlc_limit_msat_arg, int64_t next_outbound_htlc_minimum_msat_arg, int64_t inbound_capacity_msat_arg, uint64_t confirmations_required_arg, uint64_t confirmations_arg, uint64_t force_close_spend_delay_arg, jboolean is_outbound_arg, jboolean is_channel_ready_arg, uint64_t channel_shutdown_state_arg, jboolean is_usable_arg, jboolean is_announced_arg, uint64_t inbound_htlc_minimum_msat_arg, uint64_t inbound_htlc_maximum_msat_arg, uint64_t config_arg, uint64_tArray pending_inbound_htlcs_arg, uint64_tArray pending_outbound_htlcs_arg) { +uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetails_new(uint64_t channel_id_arg, uint64_t counterparty_arg, uint64_t funding_txo_arg, uint64_t channel_type_arg, uint64_t short_channel_id_arg, uint64_t outbound_scid_alias_arg, uint64_t inbound_scid_alias_arg, int64_t channel_value_satoshis_arg, uint64_t unspendable_punishment_reserve_arg, int8_tArray user_channel_id_arg, uint64_t feerate_sat_per_1000_weight_arg, int64_t outbound_capacity_msat_arg, int64_t next_outbound_htlc_limit_msat_arg, int64_t next_outbound_htlc_minimum_msat_arg, int64_t inbound_capacity_msat_arg, uint64_t confirmations_required_arg, uint64_t confirmations_arg, uint64_t force_close_spend_delay_arg, jboolean is_outbound_arg, jboolean is_channel_ready_arg, uint64_t channel_shutdown_state_arg, jboolean is_usable_arg, jboolean is_announced_arg, uint64_t inbound_htlc_minimum_msat_arg, uint64_t inbound_htlc_maximum_msat_arg, uint64_t config_arg, uint64_tArray pending_inbound_htlcs_arg, uint64_tArray pending_outbound_htlcs_arg) { LDKChannelId channel_id_arg_conv; channel_id_arg_conv.inner = untag_ptr(channel_id_arg); channel_id_arg_conv.is_owned = ptr_is_owned(channel_id_arg); @@ -47527,7 +49644,7 @@ uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetail pending_outbound_htlcs_arg_constr.data[v] = pending_outbound_htlcs_arg_conv_21_conv; } FREE(pending_outbound_htlcs_arg); - LDKChannelDetails ret_var = ChannelDetails_new(channel_id_arg_conv, counterparty_arg_conv, funding_txo_arg_conv, channel_type_arg_conv, short_channel_id_arg_conv, outbound_scid_alias_arg_conv, inbound_scid_alias_arg_conv, channel_value_satoshis_arg, unspendable_punishment_reserve_arg_conv, user_channel_id_arg_ref, feerate_sat_per_1000_weight_arg_conv, balance_msat_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg_conv, confirmations_arg_conv, force_close_spend_delay_arg_conv, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg_conv, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg_conv, inbound_htlc_maximum_msat_arg_conv, config_arg_conv, pending_inbound_htlcs_arg_constr, pending_outbound_htlcs_arg_constr); + LDKChannelDetails ret_var = ChannelDetails_new(channel_id_arg_conv, counterparty_arg_conv, funding_txo_arg_conv, channel_type_arg_conv, short_channel_id_arg_conv, outbound_scid_alias_arg_conv, inbound_scid_alias_arg_conv, channel_value_satoshis_arg, unspendable_punishment_reserve_arg_conv, user_channel_id_arg_ref, feerate_sat_per_1000_weight_arg_conv, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg_conv, confirmations_arg_conv, force_close_spend_delay_arg_conv, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg_conv, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg_conv, inbound_htlc_maximum_msat_arg_conv, config_arg_conv, pending_inbound_htlcs_arg_constr, pending_outbound_htlcs_arg_constr); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -47676,11 +49793,65 @@ void __attribute__((export_name("TS_ExpandedKey_free"))) TS_ExpandedKey_free(ui ExpandedKey_free(this_obj_conv); } +int64_t __attribute__((export_name("TS_ExpandedKey_hash"))) TS_ExpandedKey_hash(uint64_t o) { + LDKExpandedKey o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = ExpandedKey_hash(&o_conv); + return ret_conv; +} + +static inline uint64_t ExpandedKey_clone_ptr(LDKExpandedKey *NONNULL_PTR arg) { + LDKExpandedKey ret_var = ExpandedKey_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_ExpandedKey_clone_ptr"))) TS_ExpandedKey_clone_ptr(uint64_t arg) { + LDKExpandedKey arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = ExpandedKey_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_ExpandedKey_clone"))) TS_ExpandedKey_clone(uint64_t orig) { + LDKExpandedKey orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKExpandedKey ret_var = ExpandedKey_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_ExpandedKey_eq"))) TS_ExpandedKey_eq(uint64_t a, uint64_t b) { + LDKExpandedKey a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKExpandedKey b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = ExpandedKey_eq(&a_conv, &b_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_ExpandedKey_new"))) TS_ExpandedKey_new(int8_tArray key_material) { - uint8_t key_material_arr[32]; + LDKThirtyTwoBytes key_material_ref; CHECK(key_material->arr_len == 32); - memcpy(key_material_arr, key_material->elems, 32); FREE(key_material); - uint8_t (*key_material_ref)[32] = &key_material_arr; + memcpy(key_material_ref.data, key_material->elems, 32); FREE(key_material); LDKExpandedKey ret_var = ExpandedKey_new(key_material_ref); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); @@ -57966,6 +60137,21 @@ uint64_t __attribute__((export_name("TS_FinalOnionHopData_clone"))) TS_FinalOni return ret_ref; } +jboolean __attribute__((export_name("TS_FinalOnionHopData_eq"))) TS_FinalOnionHopData_eq(uint64_t a, uint64_t b) { + LDKFinalOnionHopData a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKFinalOnionHopData b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = FinalOnionHopData_eq(&a_conv, &b_conv); + return ret_conv; +} + void __attribute__((export_name("TS_OnionPacket_free"))) TS_OnionPacket_free(uint64_t this_obj) { LDKOnionPacket this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -59574,6 +61760,17 @@ uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_AsyncPayments return tag_ptr(ret_ret, true); } +uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_DNSResolverMessageHandler"))) TS_IgnoringMessageHandler_as_DNSResolverMessageHandler(uint64_t this_arg) { + LDKIgnoringMessageHandler this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSResolverMessageHandler* ret_ret = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *ret_ret = IgnoringMessageHandler_as_DNSResolverMessageHandler(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_CustomOnionMessageHandler"))) TS_IgnoringMessageHandler_as_CustomOnionMessageHandler(uint64_t this_arg) { LDKIgnoringMessageHandler this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -62734,167 +64931,6 @@ int64_t __attribute__((export_name("TS_get_commitment_transaction_number_obscur return ret_conv; } -int8_tArray __attribute__((export_name("TS_InitFeatures_write"))) TS_InitFeatures_write(uint64_t obj) { - LDKInitFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = InitFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_InitFeatures_read"))) TS_InitFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = InitFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_ChannelFeatures_write"))) TS_ChannelFeatures_write(uint64_t obj) { - LDKChannelFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = ChannelFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_ChannelFeatures_read"))) TS_ChannelFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = ChannelFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_NodeFeatures_write"))) TS_NodeFeatures_write(uint64_t obj) { - LDKNodeFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = NodeFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_NodeFeatures_read"))) TS_NodeFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = NodeFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_Bolt11InvoiceFeatures_write"))) TS_Bolt11InvoiceFeatures_write(uint64_t obj) { - LDKBolt11InvoiceFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = Bolt11InvoiceFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_Bolt11InvoiceFeatures_read"))) TS_Bolt11InvoiceFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = Bolt11InvoiceFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_Bolt12InvoiceFeatures_write"))) TS_Bolt12InvoiceFeatures_write(uint64_t obj) { - LDKBolt12InvoiceFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = Bolt12InvoiceFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_Bolt12InvoiceFeatures_read"))) TS_Bolt12InvoiceFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = Bolt12InvoiceFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_BlindedHopFeatures_write"))) TS_BlindedHopFeatures_write(uint64_t obj) { - LDKBlindedHopFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = BlindedHopFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_BlindedHopFeatures_read"))) TS_BlindedHopFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = BlindedHopFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_ChannelTypeFeatures_write"))) TS_ChannelTypeFeatures_write(uint64_t obj) { - LDKChannelTypeFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = ChannelTypeFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_ChannelTypeFeatures_read"))) TS_ChannelTypeFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = ChannelTypeFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - void __attribute__((export_name("TS_ShutdownScript_free"))) TS_ShutdownScript_free(uint64_t this_obj) { LDKShutdownScript this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -63348,18 +65384,6 @@ uint64_t __attribute__((export_name("TS_ChannelId_read"))) TS_ChannelId_read(in return tag_ptr(ret_conv, true); } -jstring __attribute__((export_name("TS_ChannelId_to_str"))) TS_ChannelId_to_str(uint64_t o) { - LDKChannelId o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv.is_owned = false; - LDKStr ret_str = ChannelId_to_str(&o_conv); - jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); - Str_free(ret_str); - return ret_conv; -} - uint64_t __attribute__((export_name("TS_create_phantom_invoice"))) TS_create_phantom_invoice(uint64_t amt_msat, uint64_t payment_hash, jstring description, int32_t invoice_expiry_delta_secs, uint64_tArray phantom_route_hints, uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t min_final_cltv_expiry_delta, int64_t duration_since_epoch) { void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); @@ -63480,27 +65504,32 @@ uint64_t __attribute__((export_name("TS_create_phantom_invoice_with_description return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch"))) TS_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, uint64_t description_hash, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager"))) TS_create_invoice_from_channelmanager(uint64_t channelmanager, uint64_t amt_msat, jstring description, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { + LDKChannelManager channelmanager_conv; + channelmanager_conv.inner = untag_ptr(channelmanager); + channelmanager_conv.is_owned = ptr_is_owned(channelmanager); + CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); + channelmanager_conv.is_owned = false; + void* amt_msat_ptr = untag_ptr(amt_msat); + CHECK_ACCESS(amt_msat_ptr); + LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); + amt_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amt_msat)); + LDKStr description_conv = str_ref_to_owned_c(description); + void* min_final_cltv_expiry_delta_ptr = untag_ptr(min_final_cltv_expiry_delta); + CHECK_ACCESS(min_final_cltv_expiry_delta_ptr); + LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); + min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = create_invoice_from_channelmanager(&channelmanager_conv, amt_msat_conv, description_conv, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash"))) TS_create_invoice_from_channelmanager_with_description_hash(uint64_t channelmanager, uint64_t amt_msat, uint64_t description_hash, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); @@ -63515,66 +65544,43 @@ uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_hash_conv, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_description_hash(&channelmanager_conv, amt_msat_conv, description_hash_conv, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_duration_since_epoch"))) TS_create_invoice_from_channelmanager_and_duration_since_epoch(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, jstring description, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash_and_payment_hash"))) TS_create_invoice_from_channelmanager_with_description_hash_and_payment_hash(uint64_t channelmanager, uint64_t amt_msat, uint64_t description_hash, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); amt_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amt_msat)); - LDKStr description_conv = str_ref_to_owned_c(description); + LDKSha256 description_hash_conv; + description_hash_conv.inner = untag_ptr(description_hash); + description_hash_conv.is_owned = ptr_is_owned(description_hash); + CHECK_INNER_FIELD_ACCESS_OR_NULL(description_hash_conv); + description_hash_conv = Sha256_clone(&description_hash_conv); + LDKThirtyTwoBytes payment_hash_ref; + CHECK(payment_hash->arr_len == 32); + memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); void* min_final_cltv_expiry_delta_ptr = untag_ptr(min_final_cltv_expiry_delta); CHECK_ACCESS(min_final_cltv_expiry_delta_ptr); LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_and_duration_since_epoch(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_conv, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_description_hash_and_payment_hash(&channelmanager_conv, amt_msat_conv, description_hash_conv, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash"))) TS_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, jstring description, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_payment_hash"))) TS_create_invoice_from_channelmanager_with_payment_hash(uint64_t channelmanager, uint64_t amt_msat, jstring description, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); @@ -63588,18 +65594,18 @@ uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_ LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_conv, duration_since_epoch, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_payment_hash(&channelmanager_conv, amt_msat_conv, description_conv, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_payment_parameters_from_zero_amount_invoice"))) TS_payment_parameters_from_zero_amount_invoice(uint64_t invoice, int64_t amount_msat) { +uint64_t __attribute__((export_name("TS_payment_parameters_from_variable_amount_invoice"))) TS_payment_parameters_from_variable_amount_invoice(uint64_t invoice, int64_t amount_msat) { LDKBolt11Invoice invoice_conv; invoice_conv.inner = untag_ptr(invoice); invoice_conv.is_owned = ptr_is_owned(invoice); CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_conv); invoice_conv.is_owned = false; LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ), "LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ"); - *ret_conv = payment_parameters_from_zero_amount_invoice(&invoice_conv, amount_msat); + *ret_conv = payment_parameters_from_variable_amount_invoice(&invoice_conv, amount_msat); return tag_ptr(ret_conv, true); } @@ -63715,137 +65721,6 @@ jboolean __attribute__((export_name("TS_RetryableSendFailure_eq"))) TS_Retryabl return ret_conv; } -void __attribute__((export_name("TS_PaymentSendFailure_free"))) TS_PaymentSendFailure_free(uint64_t this_ptr) { - if (!ptr_is_owned(this_ptr)) return; - void* this_ptr_ptr = untag_ptr(this_ptr); - CHECK_ACCESS(this_ptr_ptr); - LDKPaymentSendFailure this_ptr_conv = *(LDKPaymentSendFailure*)(this_ptr_ptr); - FREE(untag_ptr(this_ptr)); - PaymentSendFailure_free(this_ptr_conv); -} - -static inline uint64_t PaymentSendFailure_clone_ptr(LDKPaymentSendFailure *NONNULL_PTR arg) { - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} -int64_t __attribute__((export_name("TS_PaymentSendFailure_clone_ptr"))) TS_PaymentSendFailure_clone_ptr(uint64_t arg) { - LDKPaymentSendFailure* arg_conv = (LDKPaymentSendFailure*)untag_ptr(arg); - int64_t ret_conv = PaymentSendFailure_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_clone"))) TS_PaymentSendFailure_clone(uint64_t orig) { - LDKPaymentSendFailure* orig_conv = (LDKPaymentSendFailure*)untag_ptr(orig); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_parameter_error"))) TS_PaymentSendFailure_parameter_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKAPIError a_conv = *(LDKAPIError*)(a_ptr); - a_conv = APIError_clone((LDKAPIError*)untag_ptr(a)); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_parameter_error(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_path_parameter_error"))) TS_PaymentSendFailure_path_parameter_error(uint64_tArray a) { - LDKCVec_CResult_NoneAPIErrorZZ a_constr; - a_constr.datalen = a->arr_len; - if (a_constr.datalen > 0) - a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - a_constr.data = NULL; - uint64_t* a_vals = a->elems; - for (size_t w = 0; w < a_constr.datalen; w++) { - uint64_t a_conv_22 = a_vals[w]; - void* a_conv_22_ptr = untag_ptr(a_conv_22); - CHECK_ACCESS(a_conv_22_ptr); - LDKCResult_NoneAPIErrorZ a_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(a_conv_22_ptr); - a_conv_22_conv = CResult_NoneAPIErrorZ_clone((LDKCResult_NoneAPIErrorZ*)untag_ptr(a_conv_22)); - a_constr.data[w] = a_conv_22_conv; - } - FREE(a); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_path_parameter_error(a_constr); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_all_failed_resend_safe"))) TS_PaymentSendFailure_all_failed_resend_safe(uint64_tArray a) { - LDKCVec_APIErrorZ a_constr; - a_constr.datalen = a->arr_len; - if (a_constr.datalen > 0) - a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKAPIError), "LDKCVec_APIErrorZ Elements"); - else - a_constr.data = NULL; - uint64_t* a_vals = a->elems; - for (size_t k = 0; k < a_constr.datalen; k++) { - uint64_t a_conv_10 = a_vals[k]; - void* a_conv_10_ptr = untag_ptr(a_conv_10); - CHECK_ACCESS(a_conv_10_ptr); - LDKAPIError a_conv_10_conv = *(LDKAPIError*)(a_conv_10_ptr); - a_conv_10_conv = APIError_clone((LDKAPIError*)untag_ptr(a_conv_10)); - a_constr.data[k] = a_conv_10_conv; - } - FREE(a); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_all_failed_resend_safe(a_constr); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_duplicate_payment"))) TS_PaymentSendFailure_duplicate_payment() { - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_duplicate_payment(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_partial_failure"))) TS_PaymentSendFailure_partial_failure(uint64_tArray results, uint64_t failed_paths_retry, int8_tArray payment_id) { - LDKCVec_CResult_NoneAPIErrorZZ results_constr; - results_constr.datalen = results->arr_len; - if (results_constr.datalen > 0) - results_constr.data = MALLOC(results_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - results_constr.data = NULL; - uint64_t* results_vals = results->elems; - for (size_t w = 0; w < results_constr.datalen; w++) { - uint64_t results_conv_22 = results_vals[w]; - void* results_conv_22_ptr = untag_ptr(results_conv_22); - CHECK_ACCESS(results_conv_22_ptr); - LDKCResult_NoneAPIErrorZ results_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(results_conv_22_ptr); - results_conv_22_conv = CResult_NoneAPIErrorZ_clone((LDKCResult_NoneAPIErrorZ*)untag_ptr(results_conv_22)); - results_constr.data[w] = results_conv_22_conv; - } - FREE(results); - LDKRouteParameters failed_paths_retry_conv; - failed_paths_retry_conv.inner = untag_ptr(failed_paths_retry); - failed_paths_retry_conv.is_owned = ptr_is_owned(failed_paths_retry); - CHECK_INNER_FIELD_ACCESS_OR_NULL(failed_paths_retry_conv); - failed_paths_retry_conv = RouteParameters_clone(&failed_paths_retry_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_partial_failure(results_constr, failed_paths_retry_conv, payment_id_ref); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -jboolean __attribute__((export_name("TS_PaymentSendFailure_eq"))) TS_PaymentSendFailure_eq(uint64_t a, uint64_t b) { - LDKPaymentSendFailure* a_conv = (LDKPaymentSendFailure*)untag_ptr(a); - LDKPaymentSendFailure* b_conv = (LDKPaymentSendFailure*)untag_ptr(b); - jboolean ret_conv = PaymentSendFailure_eq(a_conv, b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_Bolt12PaymentError_free"))) TS_Bolt12PaymentError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -63947,13 +65822,20 @@ uint64_t __attribute__((export_name("TS_ProbeSendFailure_route_not_found"))) TS return ret_ref; } -uint64_t __attribute__((export_name("TS_ProbeSendFailure_sending_failed"))) TS_ProbeSendFailure_sending_failed(uint64_t a) { +uint64_t __attribute__((export_name("TS_ProbeSendFailure_parameter_error"))) TS_ProbeSendFailure_parameter_error(uint64_t a) { void* a_ptr = untag_ptr(a); CHECK_ACCESS(a_ptr); - LDKPaymentSendFailure a_conv = *(LDKPaymentSendFailure*)(a_ptr); - a_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(a)); + LDKAPIError a_conv = *(LDKAPIError*)(a_ptr); + a_conv = APIError_clone((LDKAPIError*)untag_ptr(a)); LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); - *ret_copy = ProbeSendFailure_sending_failed(a_conv); + *ret_copy = ProbeSendFailure_parameter_error(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ProbeSendFailure_duplicate_probe"))) TS_ProbeSendFailure_duplicate_probe() { + LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); + *ret_copy = ProbeSendFailure_duplicate_probe(); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -64197,6 +66079,167 @@ void __attribute__((export_name("TS_Type_free"))) TS_Type_free(uint64_t this_pt Type_free(this_ptr_conv); } +int8_tArray __attribute__((export_name("TS_InitFeatures_write"))) TS_InitFeatures_write(uint64_t obj) { + LDKInitFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = InitFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_InitFeatures_read"))) TS_InitFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = InitFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_ChannelFeatures_write"))) TS_ChannelFeatures_write(uint64_t obj) { + LDKChannelFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = ChannelFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_ChannelFeatures_read"))) TS_ChannelFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = ChannelFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_NodeFeatures_write"))) TS_NodeFeatures_write(uint64_t obj) { + LDKNodeFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = NodeFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_NodeFeatures_read"))) TS_NodeFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = NodeFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_Bolt11InvoiceFeatures_write"))) TS_Bolt11InvoiceFeatures_write(uint64_t obj) { + LDKBolt11InvoiceFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = Bolt11InvoiceFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceFeatures_read"))) TS_Bolt11InvoiceFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = Bolt11InvoiceFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_Bolt12InvoiceFeatures_write"))) TS_Bolt12InvoiceFeatures_write(uint64_t obj) { + LDKBolt12InvoiceFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = Bolt12InvoiceFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Bolt12InvoiceFeatures_read"))) TS_Bolt12InvoiceFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = Bolt12InvoiceFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_BlindedHopFeatures_write"))) TS_BlindedHopFeatures_write(uint64_t obj) { + LDKBlindedHopFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = BlindedHopFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_BlindedHopFeatures_read"))) TS_BlindedHopFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = BlindedHopFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_ChannelTypeFeatures_write"))) TS_ChannelTypeFeatures_write(uint64_t obj) { + LDKChannelTypeFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = ChannelTypeFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_ChannelTypeFeatures_read"))) TS_ChannelTypeFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = ChannelTypeFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_OfferId_free"))) TS_OfferId_free(uint64_t this_obj) { LDKOfferId this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -64769,14 +66812,14 @@ uint64_t __attribute__((export_name("TS_Offer_supported_quantity"))) TS_Offer_s return ret_ref; } -int8_tArray __attribute__((export_name("TS_Offer_signing_pubkey"))) TS_Offer_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Offer_issuer_signing_pubkey"))) TS_Offer_issuer_signing_pubkey(uint64_t this_arg) { LDKOffer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Offer_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Offer_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -64836,7 +66879,7 @@ jboolean __attribute__((export_name("TS_Offer_expects_quantity"))) TS_Offer_exp return ret_conv; } -uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_payer_id"))) TS_Offer_request_invoice_deriving_payer_id(uint64_t this_arg, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_Offer_request_invoice"))) TS_Offer_request_invoice(uint64_t this_arg, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { LDKOffer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -64855,53 +66898,8 @@ uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_payer_id LDKThirtyTwoBytes payment_id_ref; CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice_deriving_payer_id(&this_arg_conv, &expanded_key_conv, nonce_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_metadata"))) TS_Offer_request_invoice_deriving_metadata(uint64_t this_arg, int8_tArray payer_id, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { - LDKOffer this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); - LDKExpandedKey expanded_key_conv; - expanded_key_conv.inner = untag_ptr(expanded_key); - expanded_key_conv.is_owned = ptr_is_owned(expanded_key); - CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); - expanded_key_conv.is_owned = false; - LDKNonce nonce_conv; - nonce_conv.inner = untag_ptr(nonce); - nonce_conv.is_owned = ptr_is_owned(nonce); - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); - nonce_conv = Nonce_clone(&nonce_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice_deriving_metadata(&this_arg_conv, payer_id_ref, &expanded_key_conv, nonce_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_Offer_request_invoice"))) TS_Offer_request_invoice(uint64_t this_arg, int8_tArray metadata, int8_tArray payer_id) { - LDKOffer this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKCVec_u8Z metadata_ref; - metadata_ref.datalen = metadata->arr_len; - metadata_ref.data = MALLOC(metadata_ref.datalen, "LDKCVec_u8Z Bytes"); - memcpy(metadata_ref.data, metadata->elems, metadata_ref.datalen); FREE(metadata); - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice(&this_arg_conv, metadata_ref, payer_id_ref); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = Offer_request_invoice(&this_arg_conv, &expanded_key_conv, nonce_conv, payment_id_ref); return tag_ptr(ret_conv, true); } @@ -65313,6 +67311,28 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_clone"))) TS_Bolt12Invoic return ret_ref; } +uint64_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payment_paths"))) TS_UnsignedBolt12Invoice_payment_paths(uint64_t this_arg) { + LDKUnsignedBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKCVec_BlindedPaymentPathZ ret_var = UnsignedBolt12Invoice_payment_paths(&this_arg_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedPaymentPath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + int64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_created_at"))) TS_UnsignedBolt12Invoice_created_at(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65510,6 +67530,17 @@ uint64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_supported_quantit return ret_ref; } +int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_issuer_signing_pubkey"))) TS_UnsignedBolt12Invoice_issuer_signing_pubkey(uint64_t this_arg) { + LDKUnsignedBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, UnsignedBolt12Invoice_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_metadata"))) TS_UnsignedBolt12Invoice_payer_metadata(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65547,14 +67578,14 @@ uint64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_quantity"))) TS_U return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_id"))) TS_UnsignedBolt12Invoice_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_signing_pubkey"))) TS_UnsignedBolt12Invoice_payer_signing_pubkey(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedBolt12Invoice_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedBolt12Invoice_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -65592,6 +67623,28 @@ int64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_amount_msats"))) T return ret_conv; } +uint64_tArray __attribute__((export_name("TS_Bolt12Invoice_payment_paths"))) TS_Bolt12Invoice_payment_paths(uint64_t this_arg) { + LDKBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKCVec_BlindedPaymentPathZ ret_var = Bolt12Invoice_payment_paths(&this_arg_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedPaymentPath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + int64_t __attribute__((export_name("TS_Bolt12Invoice_created_at"))) TS_Bolt12Invoice_created_at(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65789,6 +67842,17 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_supported_quantity"))) TS return ret_ref; } +int8_tArray __attribute__((export_name("TS_Bolt12Invoice_issuer_signing_pubkey"))) TS_Bolt12Invoice_issuer_signing_pubkey(uint64_t this_arg) { + LDKBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, Bolt12Invoice_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_metadata"))) TS_Bolt12Invoice_payer_metadata(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65826,14 +67890,14 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_quantity"))) TS_Bolt12Inv return ret_ref; } -int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_id"))) TS_Bolt12Invoice_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_signing_pubkey"))) TS_Bolt12Invoice_payer_signing_pubkey(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Bolt12Invoice_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Bolt12Invoice_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66227,140 +68291,87 @@ uint64_t __attribute__((export_name("TS_InvoiceError_read"))) TS_InvoiceError_r return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_free"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_free(uint64_t this_obj) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_obj_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(uint64_t this_obj) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); this_obj_conv.is_owned = ptr_is_owned(this_obj); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - InvoiceRequestWithExplicitPayerIdBuilder_free(this_obj_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(this_obj_conv); } -void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_free"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_free(uint64_t this_obj) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_obj_conv; - this_obj_conv.inner = untag_ptr(this_obj); - this_obj_conv.is_owned = ptr_is_owned(this_obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - InvoiceRequestWithDerivedPayerIdBuilder_free(this_obj_conv); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_build"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_build(uint64_t this_arg) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(uint64_t this_arg) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_build(this_arg_conv); + LDKCResult_InvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestBolt12SemanticErrorZ"); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(this_arg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_chain"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_chain(uint64_t this_arg, uint32_t network) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(uint64_t this_arg, uint32_t network) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKNetwork network_conv = LDKNetwork_from_js(network); LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_chain(this_arg_conv, network_conv); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(this_arg_conv, network_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_amount_msats"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(this_arg_conv, amount_msats); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(this_arg_conv, amount_msats); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_quantity"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_quantity(uint64_t this_arg, int64_t quantity) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(uint64_t this_arg, int64_t quantity) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_quantity(this_arg_conv, quantity); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(this_arg_conv, quantity); return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_payer_note"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_payer_note(uint64_t this_arg, jstring payer_note) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(uint64_t this_arg, jstring payer_note) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKStr payer_note_conv = str_ref_to_owned_c(payer_note); - InvoiceRequestWithExplicitPayerIdBuilder_payer_note(this_arg_conv, payer_note_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(this_arg_conv, payer_note_conv); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(uint64_t this_arg) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(uint64_t this_arg, uint64_t hrn) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_InvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(this_arg_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_chain"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_chain(uint64_t this_arg, uint32_t network) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKNetwork network_conv = LDKNetwork_from_js(network); - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_chain(this_arg_conv, network_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_amount_msats"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(this_arg_conv, amount_msats); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_quantity"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_quantity(uint64_t this_arg, int64_t quantity) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_quantity(this_arg_conv, quantity); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_payer_note"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_payer_note(uint64_t this_arg, jstring payer_note) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKStr payer_note_conv = str_ref_to_owned_c(payer_note); - InvoiceRequestWithDerivedPayerIdBuilder_payer_note(this_arg_conv, payer_note_conv); + LDKHumanReadableName hrn_conv; + hrn_conv.inner = untag_ptr(hrn); + hrn_conv.is_owned = ptr_is_owned(hrn); + CHECK_INNER_FIELD_ACCESS_OR_NULL(hrn_conv); + hrn_conv = HumanReadableName_clone(&hrn_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(this_arg_conv, hrn_conv); } void __attribute__((export_name("TS_UnsignedInvoiceRequest_free"))) TS_UnsignedInvoiceRequest_free(uint64_t this_obj) { @@ -66655,14 +68666,14 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_supported_quanti return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_signing_pubkey"))) TS_UnsignedInvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_issuer_signing_pubkey"))) TS_UnsignedInvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedInvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedInvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66701,6 +68712,16 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_amount_msats"))) return ret_ref; } +jboolean __attribute__((export_name("TS_UnsignedInvoiceRequest_has_amount_msats"))) TS_UnsignedInvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKUnsignedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = UnsignedInvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_invoice_request_features"))) TS_UnsignedInvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66726,14 +68747,14 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_quantity"))) TS_ return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_id"))) TS_UnsignedInvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_signing_pubkey"))) TS_UnsignedInvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedInvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedInvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66750,6 +68771,19 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_note"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_offer_from_hrn"))) TS_UnsignedInvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKUnsignedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = UnsignedInvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + ptrArray __attribute__((export_name("TS_InvoiceRequest_chains"))) TS_InvoiceRequest_chains(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66879,14 +68913,14 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_supported_quantity"))) T return ret_ref; } -int8_tArray __attribute__((export_name("TS_InvoiceRequest_signing_pubkey"))) TS_InvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_InvoiceRequest_issuer_signing_pubkey"))) TS_InvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66925,6 +68959,16 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_amount_msats"))) TS_Invo return ret_ref; } +jboolean __attribute__((export_name("TS_InvoiceRequest_has_amount_msats"))) TS_InvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_InvoiceRequest_invoice_request_features"))) TS_InvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66950,14 +68994,14 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_quantity"))) TS_InvoiceR return ret_ref; } -int8_tArray __attribute__((export_name("TS_InvoiceRequest_payer_id"))) TS_InvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_InvoiceRequest_payer_signing_pubkey"))) TS_InvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66974,6 +69018,19 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_payer_note"))) TS_Invoic return ret_ref; } +uint64_t __attribute__((export_name("TS_InvoiceRequest_offer_from_hrn"))) TS_InvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = InvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_InvoiceRequest_respond_with_no_std"))) TS_InvoiceRequest_respond_with_no_std(uint64_t this_arg, uint64_tArray payment_paths, int8_tArray payment_hash, int64_t created_at) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67182,14 +69239,14 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_supported_quanti return ret_ref; } -int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_signing_pubkey"))) TS_VerifiedInvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_issuer_signing_pubkey"))) TS_VerifiedInvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, VerifiedInvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, VerifiedInvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -67228,6 +69285,16 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_amount_msats"))) return ret_ref; } +jboolean __attribute__((export_name("TS_VerifiedInvoiceRequest_has_amount_msats"))) TS_VerifiedInvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKVerifiedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = VerifiedInvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_invoice_request_features"))) TS_VerifiedInvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67253,14 +69320,14 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_quantity"))) TS_ return ret_ref; } -int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_id"))) TS_VerifiedInvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_signing_pubkey"))) TS_VerifiedInvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, VerifiedInvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, VerifiedInvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -67277,6 +69344,19 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_note"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_offer_from_hrn"))) TS_VerifiedInvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKVerifiedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = VerifiedInvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_respond_with_no_std"))) TS_VerifiedInvoiceRequest_respond_with_no_std(uint64_t this_arg, uint64_tArray payment_paths, int8_tArray payment_hash, int64_t created_at) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67365,6 +69445,16 @@ int8_tArray __attribute__((export_name("TS_InvoiceRequest_write"))) TS_InvoiceR return ret_arr; } +uint64_t __attribute__((export_name("TS_InvoiceRequest_read"))) TS_InvoiceRequest_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = InvoiceRequest_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_InvoiceRequestFields_free"))) TS_InvoiceRequestFields_free(uint64_t this_obj) { LDKInvoiceRequestFields this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -67373,18 +69463,18 @@ void __attribute__((export_name("TS_InvoiceRequestFields_free"))) TS_InvoiceReq InvoiceRequestFields_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_InvoiceRequestFields_get_payer_id"))) TS_InvoiceRequestFields_get_payer_id(uint64_t this_ptr) { +int8_tArray __attribute__((export_name("TS_InvoiceRequestFields_get_payer_signing_pubkey"))) TS_InvoiceRequestFields_get_payer_signing_pubkey(uint64_t this_ptr) { LDKInvoiceRequestFields this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequestFields_get_payer_id(&this_ptr_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequestFields_get_payer_signing_pubkey(&this_ptr_conv).compressed_form, 33); return ret_arr; } -void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_id"))) TS_InvoiceRequestFields_set_payer_id(uint64_t this_ptr, int8_tArray val) { +void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_signing_pubkey"))) TS_InvoiceRequestFields_set_payer_signing_pubkey(uint64_t this_ptr, int8_tArray val) { LDKInvoiceRequestFields this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); @@ -67393,7 +69483,7 @@ void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_id"))) TS_In LDKPublicKey val_ref; CHECK(val->arr_len == 33); memcpy(val_ref.compressed_form, val->elems, 33); FREE(val); - InvoiceRequestFields_set_payer_id(&this_ptr_conv, val_ref); + InvoiceRequestFields_set_payer_signing_pubkey(&this_ptr_conv, val_ref); } uint64_t __attribute__((export_name("TS_InvoiceRequestFields_get_quantity"))) TS_InvoiceRequestFields_get_quantity(uint64_t this_ptr) { @@ -67448,10 +69538,37 @@ void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_note_truncat InvoiceRequestFields_set_payer_note_truncated(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_InvoiceRequestFields_new(int8_tArray payer_id_arg, uint64_t quantity_arg, uint64_t payer_note_truncated_arg) { - LDKPublicKey payer_id_arg_ref; - CHECK(payer_id_arg->arr_len == 33); - memcpy(payer_id_arg_ref.compressed_form, payer_id_arg->elems, 33); FREE(payer_id_arg); +uint64_t __attribute__((export_name("TS_InvoiceRequestFields_get_human_readable_name"))) TS_InvoiceRequestFields_get_human_readable_name(uint64_t this_ptr) { + LDKInvoiceRequestFields this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKHumanReadableName ret_var = InvoiceRequestFields_get_human_readable_name(&this_ptr_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_InvoiceRequestFields_set_human_readable_name"))) TS_InvoiceRequestFields_set_human_readable_name(uint64_t this_ptr, uint64_t val) { + LDKInvoiceRequestFields this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKHumanReadableName val_conv; + val_conv.inner = untag_ptr(val); + val_conv.is_owned = ptr_is_owned(val); + CHECK_INNER_FIELD_ACCESS_OR_NULL(val_conv); + val_conv = HumanReadableName_clone(&val_conv); + InvoiceRequestFields_set_human_readable_name(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_InvoiceRequestFields_new(int8_tArray payer_signing_pubkey_arg, uint64_t quantity_arg, uint64_t payer_note_truncated_arg, uint64_t human_readable_name_arg) { + LDKPublicKey payer_signing_pubkey_arg_ref; + CHECK(payer_signing_pubkey_arg->arr_len == 33); + memcpy(payer_signing_pubkey_arg_ref.compressed_form, payer_signing_pubkey_arg->elems, 33); FREE(payer_signing_pubkey_arg); void* quantity_arg_ptr = untag_ptr(quantity_arg); CHECK_ACCESS(quantity_arg_ptr); LDKCOption_u64Z quantity_arg_conv = *(LDKCOption_u64Z*)(quantity_arg_ptr); @@ -67461,7 +69578,12 @@ uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_Invoice payer_note_truncated_arg_conv.is_owned = ptr_is_owned(payer_note_truncated_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(payer_note_truncated_arg_conv); payer_note_truncated_arg_conv = UntrustedString_clone(&payer_note_truncated_arg_conv); - LDKInvoiceRequestFields ret_var = InvoiceRequestFields_new(payer_id_arg_ref, quantity_arg_conv, payer_note_truncated_arg_conv); + LDKHumanReadableName human_readable_name_arg_conv; + human_readable_name_arg_conv.inner = untag_ptr(human_readable_name_arg); + human_readable_name_arg_conv.is_owned = ptr_is_owned(human_readable_name_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(human_readable_name_arg_conv); + human_readable_name_arg_conv = HumanReadableName_clone(&human_readable_name_arg_conv); + LDKInvoiceRequestFields ret_var = InvoiceRequestFields_new(payer_signing_pubkey_arg_ref, quantity_arg_conv, payer_note_truncated_arg_conv, human_readable_name_arg_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -67854,18 +69976,13 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_description return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signing_pubkey"))) TS_Bolt12SemanticError_missing_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signing_pubkey()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_issuer_signing_pubkey"))) TS_Bolt12SemanticError_missing_issuer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_issuer_signing_pubkey()); return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_invalid_signing_pubkey"))) TS_Bolt12SemanticError_invalid_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_invalid_signing_pubkey()); - return ret_conv; -} - -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_signing_pubkey"))) TS_Bolt12SemanticError_unexpected_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_signing_pubkey()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_issuer_signing_pubkey"))) TS_Bolt12SemanticError_unexpected_issuer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_issuer_signing_pubkey()); return ret_conv; } @@ -67899,8 +70016,8 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_metad return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_id"))) TS_Bolt12SemanticError_missing_payer_id() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_payer_id()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_signing_pubkey"))) TS_Bolt12SemanticError_missing_payer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_payer_signing_pubkey()); return ret_conv; } @@ -67939,11 +70056,26 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_payment_ return ret_conv; } +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signing_pubkey"))) TS_Bolt12SemanticError_missing_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signing_pubkey()); + return ret_conv; +} + +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_invalid_signing_pubkey"))) TS_Bolt12SemanticError_invalid_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_invalid_signing_pubkey()); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signature"))) TS_Bolt12SemanticError_missing_signature() { uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signature()); return ret_conv; } +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_human_readable_name"))) TS_Bolt12SemanticError_unexpected_human_readable_name() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_human_readable_name()); + return ret_conv; +} + void __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_free"))) TS_RefundMaybeWithDerivedMetadataBuilder_free(uint64_t this_obj) { LDKRefundMaybeWithDerivedMetadataBuilder this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -67982,20 +70114,20 @@ uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_c return ret_ref; } -uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_new"))) TS_RefundMaybeWithDerivedMetadataBuilder_new(int8_tArray metadata, int8_tArray payer_id, int64_t amount_msats) { +uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_new"))) TS_RefundMaybeWithDerivedMetadataBuilder_new(int8_tArray metadata, int8_tArray signing_pubkey, int64_t amount_msats) { LDKCVec_u8Z metadata_ref; metadata_ref.datalen = metadata->arr_len; metadata_ref.data = MALLOC(metadata_ref.datalen, "LDKCVec_u8Z Bytes"); memcpy(metadata_ref.data, metadata->elems, metadata_ref.datalen); FREE(metadata); - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); + LDKPublicKey signing_pubkey_ref; + CHECK(signing_pubkey->arr_len == 33); + memcpy(signing_pubkey_ref.compressed_form, signing_pubkey->elems, 33); FREE(signing_pubkey); LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ), "LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ"); - *ret_conv = RefundMaybeWithDerivedMetadataBuilder_new(metadata_ref, payer_id_ref, amount_msats); + *ret_conv = RefundMaybeWithDerivedMetadataBuilder_new(metadata_ref, signing_pubkey_ref, amount_msats); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id"))) TS_RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(int8_tArray node_id, uint64_t expanded_key, uint64_t nonce, int64_t amount_msats, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey"))) TS_RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(int8_tArray node_id, uint64_t expanded_key, uint64_t nonce, int64_t amount_msats, int8_tArray payment_id) { LDKPublicKey node_id_ref; CHECK(node_id->arr_len == 33); memcpy(node_id_ref.compressed_form, node_id->elems, 33); FREE(node_id); @@ -68013,7 +70145,7 @@ uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_d CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ), "LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ"); - *ret_conv = RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(node_id_ref, &expanded_key_conv, nonce_conv, amount_msats, payment_id_ref); + *ret_conv = RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(node_id_ref, &expanded_key_conv, nonce_conv, amount_msats, payment_id_ref); return tag_ptr(ret_conv, true); } @@ -68266,14 +70398,14 @@ uint64_t __attribute__((export_name("TS_Refund_quantity"))) TS_Refund_quantity( return ret_ref; } -int8_tArray __attribute__((export_name("TS_Refund_payer_id"))) TS_Refund_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Refund_payer_signing_pubkey"))) TS_Refund_payer_signing_pubkey(uint64_t this_arg) { LDKRefund this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Refund_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Refund_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -70705,17 +72837,6 @@ uint64_t __attribute__((export_name("TS_DefaultRouter_as_Router"))) TS_DefaultR return tag_ptr(ret_ret, true); } -uint64_t __attribute__((export_name("TS_DefaultRouter_as_MessageRouter"))) TS_DefaultRouter_as_MessageRouter(uint64_t this_arg) { - LDKDefaultRouter this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKMessageRouter* ret_ret = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); - *ret_ret = DefaultRouter_as_MessageRouter(&this_arg_conv); - return tag_ptr(ret_ret, true); -} - void __attribute__((export_name("TS_Router_free"))) TS_Router_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -73825,7 +75946,29 @@ uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimate return ret_ref; } -uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimated_payment_success_probability"))) TS_ProbabilisticScorer_historical_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params) { +uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimated_payment_success_probability"))) TS_ProbabilisticScorer_historical_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params, jboolean allow_fallback_estimation) { + LDKProbabilisticScorer this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKNodeId target_conv; + target_conv.inner = untag_ptr(target); + target_conv.is_owned = ptr_is_owned(target); + CHECK_INNER_FIELD_ACCESS_OR_NULL(target_conv); + target_conv.is_owned = false; + LDKProbabilisticScoringFeeParameters params_conv; + params_conv.inner = untag_ptr(params); + params_conv.is_owned = ptr_is_owned(params); + CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); + params_conv.is_owned = false; + LDKCOption_f64Z *ret_copy = MALLOC(sizeof(LDKCOption_f64Z), "LDKCOption_f64Z"); + *ret_copy = ProbabilisticScorer_historical_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv, allow_fallback_estimation); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ProbabilisticScorer_live_estimated_payment_success_probability"))) TS_ProbabilisticScorer_live_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params) { LDKProbabilisticScorer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -73842,7 +75985,7 @@ uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimate CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv.is_owned = false; LDKCOption_f64Z *ret_copy = MALLOC(sizeof(LDKCOption_f64Z), "LDKCOption_f64Z"); - *ret_copy = ProbabilisticScorer_historical_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv); + *ret_copy = ProbabilisticScorer_live_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -76010,34 +78153,8 @@ void __attribute__((export_name("TS_HeldHtlcAvailable_free"))) TS_HeldHtlcAvail HeldHtlcAvailable_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_HeldHtlcAvailable_get_payment_release_secret"))) TS_HeldHtlcAvailable_get_payment_release_secret(uint64_t this_ptr) { - LDKHeldHtlcAvailable this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *HeldHtlcAvailable_get_payment_release_secret(&this_ptr_conv), 32); - return ret_arr; -} - -void __attribute__((export_name("TS_HeldHtlcAvailable_set_payment_release_secret"))) TS_HeldHtlcAvailable_set_payment_release_secret(uint64_t this_ptr, int8_tArray val) { - LDKHeldHtlcAvailable this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - LDKThirtyTwoBytes val_ref; - CHECK(val->arr_len == 32); - memcpy(val_ref.data, val->elems, 32); FREE(val); - HeldHtlcAvailable_set_payment_release_secret(&this_ptr_conv, val_ref); -} - -uint64_t __attribute__((export_name("TS_HeldHtlcAvailable_new"))) TS_HeldHtlcAvailable_new(int8_tArray payment_release_secret_arg) { - LDKThirtyTwoBytes payment_release_secret_arg_ref; - CHECK(payment_release_secret_arg->arr_len == 32); - memcpy(payment_release_secret_arg_ref.data, payment_release_secret_arg->elems, 32); FREE(payment_release_secret_arg); - LDKHeldHtlcAvailable ret_var = HeldHtlcAvailable_new(payment_release_secret_arg_ref); +uint64_t __attribute__((export_name("TS_HeldHtlcAvailable_new"))) TS_HeldHtlcAvailable_new() { + LDKHeldHtlcAvailable ret_var = HeldHtlcAvailable_new(); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -76082,34 +78199,8 @@ void __attribute__((export_name("TS_ReleaseHeldHtlc_free"))) TS_ReleaseHeldHtlc ReleaseHeldHtlc_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_ReleaseHeldHtlc_get_payment_release_secret"))) TS_ReleaseHeldHtlc_get_payment_release_secret(uint64_t this_ptr) { - LDKReleaseHeldHtlc this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *ReleaseHeldHtlc_get_payment_release_secret(&this_ptr_conv), 32); - return ret_arr; -} - -void __attribute__((export_name("TS_ReleaseHeldHtlc_set_payment_release_secret"))) TS_ReleaseHeldHtlc_set_payment_release_secret(uint64_t this_ptr, int8_tArray val) { - LDKReleaseHeldHtlc this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - LDKThirtyTwoBytes val_ref; - CHECK(val->arr_len == 32); - memcpy(val_ref.data, val->elems, 32); FREE(val); - ReleaseHeldHtlc_set_payment_release_secret(&this_ptr_conv, val_ref); -} - -uint64_t __attribute__((export_name("TS_ReleaseHeldHtlc_new"))) TS_ReleaseHeldHtlc_new(int8_tArray payment_release_secret_arg) { - LDKThirtyTwoBytes payment_release_secret_arg_ref; - CHECK(payment_release_secret_arg->arr_len == 32); - memcpy(payment_release_secret_arg_ref.data, payment_release_secret_arg->elems, 32); FREE(payment_release_secret_arg); - LDKReleaseHeldHtlc ret_var = ReleaseHeldHtlc_new(payment_release_secret_arg_ref); +uint64_t __attribute__((export_name("TS_ReleaseHeldHtlc_new"))) TS_ReleaseHeldHtlc_new() { + LDKReleaseHeldHtlc ret_var = ReleaseHeldHtlc_new(); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -76234,6 +78325,480 @@ uint64_t __attribute__((export_name("TS_AsyncPaymentsMessage_read"))) TS_AsyncP return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_DNSResolverMessageHandler_free"))) TS_DNSResolverMessageHandler_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKDNSResolverMessageHandler this_ptr_conv = *(LDKDNSResolverMessageHandler*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + DNSResolverMessageHandler_free(this_ptr_conv); +} + +void __attribute__((export_name("TS_DNSResolverMessage_free"))) TS_DNSResolverMessage_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKDNSResolverMessage this_ptr_conv = *(LDKDNSResolverMessage*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + DNSResolverMessage_free(this_ptr_conv); +} + +static inline uint64_t DNSResolverMessage_clone_ptr(LDKDNSResolverMessage *NONNULL_PTR arg) { + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSResolverMessage_clone_ptr"))) TS_DNSResolverMessage_clone_ptr(uint64_t arg) { + LDKDNSResolverMessage* arg_conv = (LDKDNSResolverMessage*)untag_ptr(arg); + int64_t ret_conv = DNSResolverMessage_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_clone"))) TS_DNSResolverMessage_clone(uint64_t orig) { + LDKDNSResolverMessage* orig_conv = (LDKDNSResolverMessage*)untag_ptr(orig); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_dnssecquery"))) TS_DNSResolverMessage_dnssecquery(uint64_t a) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECQuery_clone(&a_conv); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_dnssecquery(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_dnssecproof"))) TS_DNSResolverMessage_dnssecproof(uint64_t a) { + LDKDNSSECProof a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECProof_clone(&a_conv); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_dnssecproof(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSResolverMessage_hash"))) TS_DNSResolverMessage_hash(uint64_t o) { + LDKDNSResolverMessage* o_conv = (LDKDNSResolverMessage*)untag_ptr(o); + int64_t ret_conv = DNSResolverMessage_hash(o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverMessage_eq"))) TS_DNSResolverMessage_eq(uint64_t a, uint64_t b) { + LDKDNSResolverMessage* a_conv = (LDKDNSResolverMessage*)untag_ptr(a); + LDKDNSResolverMessage* b_conv = (LDKDNSResolverMessage*)untag_ptr(b); + jboolean ret_conv = DNSResolverMessage_eq(a_conv, b_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_DNSSECQuery_free"))) TS_DNSSECQuery_free(uint64_t this_obj) { + LDKDNSSECQuery this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSSECQuery_free(this_obj_conv); +} + +static inline uint64_t DNSSECQuery_clone_ptr(LDKDNSSECQuery *NONNULL_PTR arg) { + LDKDNSSECQuery ret_var = DNSSECQuery_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSSECQuery_clone_ptr"))) TS_DNSSECQuery_clone_ptr(uint64_t arg) { + LDKDNSSECQuery arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSSECQuery_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSSECQuery_clone"))) TS_DNSSECQuery_clone(uint64_t orig) { + LDKDNSSECQuery orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSSECQuery ret_var = DNSSECQuery_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSSECQuery_hash"))) TS_DNSSECQuery_hash(uint64_t o) { + LDKDNSSECQuery o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSSECQuery_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSSECQuery_eq"))) TS_DNSSECQuery_eq(uint64_t a, uint64_t b) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSSECQuery b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSSECQuery_eq(&a_conv, &b_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_DNSSECProof_free"))) TS_DNSSECProof_free(uint64_t this_obj) { + LDKDNSSECProof this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSSECProof_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_DNSSECProof_get_proof"))) TS_DNSSECProof_get_proof(uint64_t this_ptr) { + LDKDNSSECProof this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCVec_u8Z ret_var = DNSSECProof_get_proof(&this_ptr_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +void __attribute__((export_name("TS_DNSSECProof_set_proof"))) TS_DNSSECProof_set_proof(uint64_t this_ptr, int8_tArray val) { + LDKDNSSECProof this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCVec_u8Z val_ref; + val_ref.datalen = val->arr_len; + val_ref.data = MALLOC(val_ref.datalen, "LDKCVec_u8Z Bytes"); + memcpy(val_ref.data, val->elems, val_ref.datalen); FREE(val); + DNSSECProof_set_proof(&this_ptr_conv, val_ref); +} + +static inline uint64_t DNSSECProof_clone_ptr(LDKDNSSECProof *NONNULL_PTR arg) { + LDKDNSSECProof ret_var = DNSSECProof_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSSECProof_clone_ptr"))) TS_DNSSECProof_clone_ptr(uint64_t arg) { + LDKDNSSECProof arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSSECProof_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSSECProof_clone"))) TS_DNSSECProof_clone(uint64_t orig) { + LDKDNSSECProof orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSSECProof ret_var = DNSSECProof_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSSECProof_hash"))) TS_DNSSECProof_hash(uint64_t o) { + LDKDNSSECProof o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSSECProof_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSSECProof_eq"))) TS_DNSSECProof_eq(uint64_t a, uint64_t b) { + LDKDNSSECProof a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSSECProof b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSSECProof_eq(&a_conv, &b_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverMessage_is_known_type"))) TS_DNSResolverMessage_is_known_type(int64_t tlv_type) { + jboolean ret_conv = DNSResolverMessage_is_known_type(tlv_type); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_DNSResolverMessage_write"))) TS_DNSResolverMessage_write(uint64_t obj) { + LDKDNSResolverMessage* obj_conv = (LDKDNSResolverMessage*)untag_ptr(obj); + LDKCVec_u8Z ret_var = DNSResolverMessage_write(obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_read"))) TS_DNSResolverMessage_read(int8_tArray ser, int64_t arg) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = DNSResolverMessage_read(ser_ref, arg); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_as_OnionMessageContents"))) TS_DNSResolverMessage_as_OnionMessageContents(uint64_t this_arg) { + LDKDNSResolverMessage* this_arg_conv = (LDKDNSResolverMessage*)untag_ptr(this_arg); + LDKOnionMessageContents* ret_ret = MALLOC(sizeof(LDKOnionMessageContents), "LDKOnionMessageContents"); + *ret_ret = DNSResolverMessage_as_OnionMessageContents(this_arg_conv); + return tag_ptr(ret_ret, true); +} + +void __attribute__((export_name("TS_HumanReadableName_free"))) TS_HumanReadableName_free(uint64_t this_obj) { + LDKHumanReadableName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + HumanReadableName_free(this_obj_conv); +} + +static inline uint64_t HumanReadableName_clone_ptr(LDKHumanReadableName *NONNULL_PTR arg) { + LDKHumanReadableName ret_var = HumanReadableName_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_HumanReadableName_clone_ptr"))) TS_HumanReadableName_clone_ptr(uint64_t arg) { + LDKHumanReadableName arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = HumanReadableName_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_clone"))) TS_HumanReadableName_clone(uint64_t orig) { + LDKHumanReadableName orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKHumanReadableName ret_var = HumanReadableName_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_HumanReadableName_hash"))) TS_HumanReadableName_hash(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = HumanReadableName_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_HumanReadableName_eq"))) TS_HumanReadableName_eq(uint64_t a, uint64_t b) { + LDKHumanReadableName a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKHumanReadableName b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = HumanReadableName_eq(&a_conv, &b_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_new"))) TS_HumanReadableName_new(jstring user, jstring domain) { + LDKStr user_conv = str_ref_to_owned_c(user); + LDKStr domain_conv = str_ref_to_owned_c(domain); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = HumanReadableName_new(user_conv, domain_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_from_encoded"))) TS_HumanReadableName_from_encoded(jstring encoded) { + LDKStr encoded_conv = str_ref_to_owned_c(encoded); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = HumanReadableName_from_encoded(encoded_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_HumanReadableName_user"))) TS_HumanReadableName_user(uint64_t this_arg) { + LDKHumanReadableName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = HumanReadableName_user(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +jstring __attribute__((export_name("TS_HumanReadableName_domain"))) TS_HumanReadableName_domain(uint64_t this_arg) { + LDKHumanReadableName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = HumanReadableName_domain(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_HumanReadableName_write"))) TS_HumanReadableName_write(uint64_t obj) { + LDKHumanReadableName obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = HumanReadableName_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_read"))) TS_HumanReadableName_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = HumanReadableName_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_OMNameResolver_free"))) TS_OMNameResolver_free(uint64_t this_obj) { + LDKOMNameResolver this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + OMNameResolver_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_new"))) TS_OMNameResolver_new(int32_t latest_block_time, int32_t latest_block_height) { + LDKOMNameResolver ret_var = OMNameResolver_new(latest_block_time, latest_block_height); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_OMNameResolver_new_best_block"))) TS_OMNameResolver_new_best_block(uint64_t this_arg, int32_t height, int32_t time) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + OMNameResolver_new_best_block(&this_arg_conv, height, time); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_resolve_name"))) TS_OMNameResolver_resolve_name(uint64_t this_arg, int8_tArray payment_id, uint64_t name, uint64_t entropy_source) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + LDKHumanReadableName name_conv; + name_conv.inner = untag_ptr(name); + name_conv.is_owned = ptr_is_owned(name); + CHECK_INNER_FIELD_ACCESS_OR_NULL(name_conv); + name_conv = HumanReadableName_clone(&name_conv); + void* entropy_source_ptr = untag_ptr(entropy_source); + if (ptr_is_owned(entropy_source)) { CHECK_ACCESS(entropy_source_ptr); } + LDKEntropySource* entropy_source_conv = (LDKEntropySource*)entropy_source_ptr; + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = OMNameResolver_resolve_name(&this_arg_conv, payment_id_ref, name_conv, entropy_source_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_handle_dnssec_proof_for_offer"))) TS_OMNameResolver_handle_dnssec_proof_for_offer(uint64_t this_arg, uint64_t msg, uint64_t context) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSSECProof msg_conv; + msg_conv.inner = untag_ptr(msg); + msg_conv.is_owned = ptr_is_owned(msg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); + msg_conv = DNSSECProof_clone(&msg_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = OMNameResolver_handle_dnssec_proof_for_offer(&this_arg_conv, msg_conv, context_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_handle_dnssec_proof_for_uri"))) TS_OMNameResolver_handle_dnssec_proof_for_uri(uint64_t this_arg, uint64_t msg, uint64_t context) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSSECProof msg_conv; + msg_conv.inner = untag_ptr(msg); + msg_conv.is_owned = ptr_is_owned(msg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); + msg_conv = DNSSECProof_clone(&msg_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = OMNameResolver_handle_dnssec_proof_for_uri(&this_arg_conv, msg_conv, context_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + void __attribute__((export_name("TS_OnionMessenger_free"))) TS_OnionMessenger_free(uint64_t this_obj) { LDKOnionMessenger this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -76386,6 +78951,18 @@ uint64_t __attribute__((export_name("TS_ResponseInstruction_clone"))) TS_Respon return ret_ref; } +uint64_t __attribute__((export_name("TS_ResponseInstruction_into_instructions"))) TS_ResponseInstruction_into_instructions(uint64_t this_arg) { + LDKResponseInstruction this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv = ResponseInstruction_clone(&this_arg_conv); + LDKMessageSendInstructions *ret_copy = MALLOC(sizeof(LDKMessageSendInstructions), "LDKMessageSendInstructions"); + *ret_copy = ResponseInstruction_into_instructions(this_arg_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + void __attribute__((export_name("TS_MessageSendInstructions_free"))) TS_MessageSendInstructions_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -77115,7 +79692,7 @@ uint64_t __attribute__((export_name("TS_peel_onion_message"))) TS_peel_onion_me return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenger_new(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t custom_handler) { +uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenger_new(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t dns_resolver, uint64_t custom_handler) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -77165,6 +79742,13 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenge // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKAsyncPaymentsMessageHandler_JCalls_cloned(&async_payments_handler_conv); } + void* dns_resolver_ptr = untag_ptr(dns_resolver); + CHECK_ACCESS(dns_resolver_ptr); + LDKDNSResolverMessageHandler dns_resolver_conv = *(LDKDNSResolverMessageHandler*)(dns_resolver_ptr); + if (dns_resolver_conv.free == LDKDNSResolverMessageHandler_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKDNSResolverMessageHandler_JCalls_cloned(&dns_resolver_conv); + } void* custom_handler_ptr = untag_ptr(custom_handler); CHECK_ACCESS(custom_handler_ptr); LDKCustomOnionMessageHandler custom_handler_conv = *(LDKCustomOnionMessageHandler*)(custom_handler_ptr); @@ -77172,14 +79756,14 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenge // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKCustomOnionMessageHandler_JCalls_cloned(&custom_handler_conv); } - LDKOnionMessenger ret_var = OnionMessenger_new(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, custom_handler_conv); + LDKOnionMessenger ret_var = OnionMessenger_new(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, dns_resolver_conv, custom_handler_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_interception"))) TS_OnionMessenger_new_with_offline_peer_interception(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t custom_handler) { +uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_interception"))) TS_OnionMessenger_new_with_offline_peer_interception(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t dns_resolver, uint64_t custom_handler) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -77229,6 +79813,13 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_in // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKAsyncPaymentsMessageHandler_JCalls_cloned(&async_payments_handler_conv); } + void* dns_resolver_ptr = untag_ptr(dns_resolver); + CHECK_ACCESS(dns_resolver_ptr); + LDKDNSResolverMessageHandler dns_resolver_conv = *(LDKDNSResolverMessageHandler*)(dns_resolver_ptr); + if (dns_resolver_conv.free == LDKDNSResolverMessageHandler_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKDNSResolverMessageHandler_JCalls_cloned(&dns_resolver_conv); + } void* custom_handler_ptr = untag_ptr(custom_handler); CHECK_ACCESS(custom_handler_ptr); LDKCustomOnionMessageHandler custom_handler_conv = *(LDKCustomOnionMessageHandler*)(custom_handler_ptr); @@ -77236,7 +79827,7 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_in // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKCustomOnionMessageHandler_JCalls_cloned(&custom_handler_conv); } - LDKOnionMessenger ret_var = OnionMessenger_new_with_offline_peer_interception(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, custom_handler_conv); + LDKOnionMessenger ret_var = OnionMessenger_new_with_offline_peer_interception(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, dns_resolver_conv, custom_handler_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -77675,6 +80266,17 @@ uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_offers"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_dnsresolver"))) TS_ParsedOnionMessageContents_dnsresolver(uint64_t a) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + LDKParsedOnionMessageContents *ret_copy = MALLOC(sizeof(LDKParsedOnionMessageContents), "LDKParsedOnionMessageContents"); + *ret_copy = ParsedOnionMessageContents_dnsresolver(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_custom"))) TS_ParsedOnionMessageContents_custom(uint64_t a) { void* a_ptr = untag_ptr(a); CHECK_ACCESS(a_ptr); @@ -78779,19 +81381,70 @@ void __attribute__((export_name("TS_ReceiveTlvs_free"))) TS_ReceiveTlvs_free(ui ReceiveTlvs_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_ReceiveTlvs_get_payment_secret"))) TS_ReceiveTlvs_get_payment_secret(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +static inline uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg) { + LDKReceiveTlvs ret_var = ReceiveTlvs_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_ReceiveTlvs_clone_ptr"))) TS_ReceiveTlvs_clone_ptr(uint64_t arg) { + LDKReceiveTlvs arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = ReceiveTlvs_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_ReceiveTlvs_clone"))) TS_ReceiveTlvs_clone(uint64_t orig) { + LDKReceiveTlvs orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKReceiveTlvs ret_var = ReceiveTlvs_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ReceiveTlvs_tlvs"))) TS_ReceiveTlvs_tlvs(uint64_t this_arg) { + LDKReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKUnauthenticatedReceiveTlvs ret_var = ReceiveTlvs_tlvs(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_free"))) TS_UnauthenticatedReceiveTlvs_free(uint64_t this_obj) { + LDKUnauthenticatedReceiveTlvs this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + UnauthenticatedReceiveTlvs_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_secret"))) TS_UnauthenticatedReceiveTlvs_get_payment_secret(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *ReceiveTlvs_get_payment_secret(&this_ptr_conv), 32); + memcpy(ret_arr->elems, *UnauthenticatedReceiveTlvs_get_payment_secret(&this_ptr_conv), 32); return ret_arr; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_secret"))) TS_ReceiveTlvs_set_payment_secret(uint64_t this_ptr, int8_tArray val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_secret"))) TS_UnauthenticatedReceiveTlvs_set_payment_secret(uint64_t this_ptr, int8_tArray val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78799,24 +81452,24 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_secret"))) TS_Recei LDKThirtyTwoBytes val_ref; CHECK(val->arr_len == 32); memcpy(val_ref.data, val->elems, 32); FREE(val); - ReceiveTlvs_set_payment_secret(&this_ptr_conv, val_ref); + UnauthenticatedReceiveTlvs_set_payment_secret(&this_ptr_conv, val_ref); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_get_payment_constraints"))) TS_ReceiveTlvs_get_payment_constraints(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_constraints"))) TS_UnauthenticatedReceiveTlvs_get_payment_constraints(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; - LDKPaymentConstraints ret_var = ReceiveTlvs_get_payment_constraints(&this_ptr_conv); + LDKPaymentConstraints ret_var = UnauthenticatedReceiveTlvs_get_payment_constraints(&this_ptr_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_constraints"))) TS_ReceiveTlvs_set_payment_constraints(uint64_t this_ptr, uint64_t val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_constraints"))) TS_UnauthenticatedReceiveTlvs_set_payment_constraints(uint64_t this_ptr, uint64_t val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78826,23 +81479,23 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_constraints"))) TS_ val_conv.is_owned = ptr_is_owned(val); CHECK_INNER_FIELD_ACCESS_OR_NULL(val_conv); val_conv = PaymentConstraints_clone(&val_conv); - ReceiveTlvs_set_payment_constraints(&this_ptr_conv, val_conv); + UnauthenticatedReceiveTlvs_set_payment_constraints(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_get_payment_context"))) TS_ReceiveTlvs_get_payment_context(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_context"))) TS_UnauthenticatedReceiveTlvs_get_payment_context(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; LDKPaymentContext *ret_copy = MALLOC(sizeof(LDKPaymentContext), "LDKPaymentContext"); - *ret_copy = ReceiveTlvs_get_payment_context(&this_ptr_conv); + *ret_copy = UnauthenticatedReceiveTlvs_get_payment_context(&this_ptr_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_context"))) TS_ReceiveTlvs_set_payment_context(uint64_t this_ptr, uint64_t val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_context"))) TS_UnauthenticatedReceiveTlvs_set_payment_context(uint64_t this_ptr, uint64_t val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78851,10 +81504,10 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_context"))) TS_Rece CHECK_ACCESS(val_ptr); LDKPaymentContext val_conv = *(LDKPaymentContext*)(val_ptr); val_conv = PaymentContext_clone((LDKPaymentContext*)untag_ptr(val)); - ReceiveTlvs_set_payment_context(&this_ptr_conv, val_conv); + UnauthenticatedReceiveTlvs_set_payment_context(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_new"))) TS_ReceiveTlvs_new(int8_tArray payment_secret_arg, uint64_t payment_constraints_arg, uint64_t payment_context_arg) { +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_new"))) TS_UnauthenticatedReceiveTlvs_new(int8_tArray payment_secret_arg, uint64_t payment_constraints_arg, uint64_t payment_context_arg) { LDKThirtyTwoBytes payment_secret_arg_ref; CHECK(payment_secret_arg->arr_len == 32); memcpy(payment_secret_arg_ref.data, payment_secret_arg->elems, 32); FREE(payment_secret_arg); @@ -78867,37 +81520,60 @@ uint64_t __attribute__((export_name("TS_ReceiveTlvs_new"))) TS_ReceiveTlvs_new( CHECK_ACCESS(payment_context_arg_ptr); LDKPaymentContext payment_context_arg_conv = *(LDKPaymentContext*)(payment_context_arg_ptr); payment_context_arg_conv = PaymentContext_clone((LDKPaymentContext*)untag_ptr(payment_context_arg)); - LDKReceiveTlvs ret_var = ReceiveTlvs_new(payment_secret_arg_ref, payment_constraints_arg_conv, payment_context_arg_conv); + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_new(payment_secret_arg_ref, payment_constraints_arg_conv, payment_context_arg_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg) { - LDKReceiveTlvs ret_var = ReceiveTlvs_clone(arg); +static inline uint64_t UnauthenticatedReceiveTlvs_clone_ptr(LDKUnauthenticatedReceiveTlvs *NONNULL_PTR arg) { + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_clone(arg); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -int64_t __attribute__((export_name("TS_ReceiveTlvs_clone_ptr"))) TS_ReceiveTlvs_clone_ptr(uint64_t arg) { - LDKReceiveTlvs arg_conv; +int64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_clone_ptr"))) TS_UnauthenticatedReceiveTlvs_clone_ptr(uint64_t arg) { + LDKUnauthenticatedReceiveTlvs arg_conv; arg_conv.inner = untag_ptr(arg); arg_conv.is_owned = ptr_is_owned(arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); arg_conv.is_owned = false; - int64_t ret_conv = ReceiveTlvs_clone_ptr(&arg_conv); + int64_t ret_conv = UnauthenticatedReceiveTlvs_clone_ptr(&arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_clone"))) TS_ReceiveTlvs_clone(uint64_t orig) { - LDKReceiveTlvs orig_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_clone"))) TS_UnauthenticatedReceiveTlvs_clone(uint64_t orig) { + LDKUnauthenticatedReceiveTlvs orig_conv; orig_conv.inner = untag_ptr(orig); orig_conv.is_owned = ptr_is_owned(orig); CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); orig_conv.is_owned = false; - LDKReceiveTlvs ret_var = ReceiveTlvs_clone(&orig_conv); + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_authenticate"))) TS_UnauthenticatedReceiveTlvs_authenticate(uint64_t this_arg, uint64_t nonce, uint64_t expanded_key) { + LDKUnauthenticatedReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv = UnauthenticatedReceiveTlvs_clone(&this_arg_conv); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + LDKReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_authenticate(this_arg_conv, nonce_conv, &expanded_key_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -79120,18 +81796,6 @@ uint64_t __attribute__((export_name("TS_PaymentContext_clone"))) TS_PaymentCont return ret_ref; } -uint64_t __attribute__((export_name("TS_PaymentContext_unknown"))) TS_PaymentContext_unknown(uint64_t a) { - LDKUnknownPaymentContext a_conv; - a_conv.inner = untag_ptr(a); - a_conv.is_owned = ptr_is_owned(a); - CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); - a_conv = UnknownPaymentContext_clone(&a_conv); - LDKPaymentContext *ret_copy = MALLOC(sizeof(LDKPaymentContext), "LDKPaymentContext"); - *ret_copy = PaymentContext_unknown(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - uint64_t __attribute__((export_name("TS_PaymentContext_bolt12_offer"))) TS_PaymentContext_bolt12_offer(uint64_t a) { LDKBolt12OfferContext a_conv; a_conv.inner = untag_ptr(a); @@ -79163,59 +81827,6 @@ jboolean __attribute__((export_name("TS_PaymentContext_eq"))) TS_PaymentContext return ret_conv; } -void __attribute__((export_name("TS_UnknownPaymentContext_free"))) TS_UnknownPaymentContext_free(uint64_t this_obj) { - LDKUnknownPaymentContext this_obj_conv; - this_obj_conv.inner = untag_ptr(this_obj); - this_obj_conv.is_owned = ptr_is_owned(this_obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - UnknownPaymentContext_free(this_obj_conv); -} - -static inline uint64_t UnknownPaymentContext_clone_ptr(LDKUnknownPaymentContext *NONNULL_PTR arg) { - LDKUnknownPaymentContext ret_var = UnknownPaymentContext_clone(arg); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} -int64_t __attribute__((export_name("TS_UnknownPaymentContext_clone_ptr"))) TS_UnknownPaymentContext_clone_ptr(uint64_t arg) { - LDKUnknownPaymentContext arg_conv; - arg_conv.inner = untag_ptr(arg); - arg_conv.is_owned = ptr_is_owned(arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); - arg_conv.is_owned = false; - int64_t ret_conv = UnknownPaymentContext_clone_ptr(&arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_UnknownPaymentContext_clone"))) TS_UnknownPaymentContext_clone(uint64_t orig) { - LDKUnknownPaymentContext orig_conv; - orig_conv.inner = untag_ptr(orig); - orig_conv.is_owned = ptr_is_owned(orig); - CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); - orig_conv.is_owned = false; - LDKUnknownPaymentContext ret_var = UnknownPaymentContext_clone(&orig_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -jboolean __attribute__((export_name("TS_UnknownPaymentContext_eq"))) TS_UnknownPaymentContext_eq(uint64_t a, uint64_t b) { - LDKUnknownPaymentContext a_conv; - a_conv.inner = untag_ptr(a); - a_conv.is_owned = ptr_is_owned(a); - CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); - a_conv.is_owned = false; - LDKUnknownPaymentContext b_conv; - b_conv.inner = untag_ptr(b); - b_conv.is_owned = ptr_is_owned(b); - CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); - b_conv.is_owned = false; - jboolean ret_conv = UnknownPaymentContext_eq(&a_conv, &b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_Bolt12OfferContext_free"))) TS_Bolt12OfferContext_free(uint64_t this_obj) { LDKBolt12OfferContext this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -79428,6 +82039,19 @@ int8_tArray __attribute__((export_name("TS_ReceiveTlvs_write"))) TS_ReceiveTlvs return ret_arr; } +int8_tArray __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_write"))) TS_UnauthenticatedReceiveTlvs_write(uint64_t obj) { + LDKUnauthenticatedReceiveTlvs obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = UnauthenticatedReceiveTlvs_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_PaymentRelay_write"))) TS_PaymentRelay_write(uint64_t obj) { LDKPaymentRelay obj_conv; obj_conv.inner = untag_ptr(obj); @@ -79493,29 +82117,6 @@ uint64_t __attribute__((export_name("TS_PaymentContext_read"))) TS_PaymentConte return tag_ptr(ret_conv, true); } -int8_tArray __attribute__((export_name("TS_UnknownPaymentContext_write"))) TS_UnknownPaymentContext_write(uint64_t obj) { - LDKUnknownPaymentContext obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = UnknownPaymentContext_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_UnknownPaymentContext_read"))) TS_UnknownPaymentContext_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = UnknownPaymentContext_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - int8_tArray __attribute__((export_name("TS_Bolt12OfferContext_write"))) TS_Bolt12OfferContext_write(uint64_t obj) { LDKBolt12OfferContext obj_conv; obj_conv.inner = untag_ptr(obj); @@ -80024,6 +82625,29 @@ uint64_t __attribute__((export_name("TS_MessageContext_offers"))) TS_MessageCon return ret_ref; } +uint64_t __attribute__((export_name("TS_MessageContext_async_payments"))) TS_MessageContext_async_payments(uint64_t a) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKAsyncPaymentsContext a_conv = *(LDKAsyncPaymentsContext*)(a_ptr); + a_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(a)); + LDKMessageContext *ret_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *ret_copy = MessageContext_async_payments(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_MessageContext_dnsresolver"))) TS_MessageContext_dnsresolver(uint64_t a) { + LDKDNSResolverContext a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSResolverContext_clone(&a_conv); + LDKMessageContext *ret_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *ret_copy = MessageContext_dnsresolver(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_MessageContext_custom"))) TS_MessageContext_custom(int8_tArray a) { LDKCVec_u8Z a_ref; a_ref.datalen = a->arr_len; @@ -80094,12 +82718,20 @@ uint64_t __attribute__((export_name("TS_OffersContext_outbound_payment"))) TS_O return ret_ref; } -uint64_t __attribute__((export_name("TS_OffersContext_inbound_payment"))) TS_OffersContext_inbound_payment(int8_tArray payment_hash) { +uint64_t __attribute__((export_name("TS_OffersContext_inbound_payment"))) TS_OffersContext_inbound_payment(int8_tArray payment_hash, uint64_t nonce, int8_tArray hmac) { LDKThirtyTwoBytes payment_hash_ref; CHECK(payment_hash->arr_len == 32); memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); LDKOffersContext *ret_copy = MALLOC(sizeof(LDKOffersContext), "LDKOffersContext"); - *ret_copy = OffersContext_inbound_payment(payment_hash_ref); + *ret_copy = OffersContext_inbound_payment(payment_hash_ref, nonce_conv, hmac_ref); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -80111,6 +82743,53 @@ jboolean __attribute__((export_name("TS_OffersContext_eq"))) TS_OffersContext_e return ret_conv; } +void __attribute__((export_name("TS_AsyncPaymentsContext_free"))) TS_AsyncPaymentsContext_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKAsyncPaymentsContext this_ptr_conv = *(LDKAsyncPaymentsContext*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + AsyncPaymentsContext_free(this_ptr_conv); +} + +static inline uint64_t AsyncPaymentsContext_clone_ptr(LDKAsyncPaymentsContext *NONNULL_PTR arg) { + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_AsyncPaymentsContext_clone_ptr"))) TS_AsyncPaymentsContext_clone_ptr(uint64_t arg) { + LDKAsyncPaymentsContext* arg_conv = (LDKAsyncPaymentsContext*)untag_ptr(arg); + int64_t ret_conv = AsyncPaymentsContext_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_clone"))) TS_AsyncPaymentsContext_clone(uint64_t orig) { + LDKAsyncPaymentsContext* orig_conv = (LDKAsyncPaymentsContext*)untag_ptr(orig); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_outbound_payment"))) TS_AsyncPaymentsContext_outbound_payment(int8_tArray payment_id, uint64_t nonce, int8_tArray hmac) { + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_outbound_payment(payment_id_ref, nonce_conv, hmac_ref); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + int8_tArray __attribute__((export_name("TS_MessageContext_write"))) TS_MessageContext_write(uint64_t obj) { LDKMessageContext* obj_conv = (LDKMessageContext*)untag_ptr(obj); LDKCVec_u8Z ret_var = MessageContext_write(obj_conv); @@ -80149,6 +82828,145 @@ uint64_t __attribute__((export_name("TS_OffersContext_read"))) TS_OffersContext return tag_ptr(ret_conv, true); } +int8_tArray __attribute__((export_name("TS_AsyncPaymentsContext_write"))) TS_AsyncPaymentsContext_write(uint64_t obj) { + LDKAsyncPaymentsContext* obj_conv = (LDKAsyncPaymentsContext*)untag_ptr(obj); + LDKCVec_u8Z ret_var = AsyncPaymentsContext_write(obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_read"))) TS_AsyncPaymentsContext_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = AsyncPaymentsContext_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_DNSResolverContext_free"))) TS_DNSResolverContext_free(uint64_t this_obj) { + LDKDNSResolverContext this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSResolverContext_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_DNSResolverContext_get_nonce"))) TS_DNSResolverContext_get_nonce(uint64_t this_ptr) { + LDKDNSResolverContext this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(16, __LINE__); + memcpy(ret_arr->elems, *DNSResolverContext_get_nonce(&this_ptr_conv), 16); + return ret_arr; +} + +void __attribute__((export_name("TS_DNSResolverContext_set_nonce"))) TS_DNSResolverContext_set_nonce(uint64_t this_ptr, int8_tArray val) { + LDKDNSResolverContext this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKSixteenBytes val_ref; + CHECK(val->arr_len == 16); + memcpy(val_ref.data, val->elems, 16); FREE(val); + DNSResolverContext_set_nonce(&this_ptr_conv, val_ref); +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_new"))) TS_DNSResolverContext_new(int8_tArray nonce_arg) { + LDKSixteenBytes nonce_arg_ref; + CHECK(nonce_arg->arr_len == 16); + memcpy(nonce_arg_ref.data, nonce_arg->elems, 16); FREE(nonce_arg); + LDKDNSResolverContext ret_var = DNSResolverContext_new(nonce_arg_ref); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline uint64_t DNSResolverContext_clone_ptr(LDKDNSResolverContext *NONNULL_PTR arg) { + LDKDNSResolverContext ret_var = DNSResolverContext_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSResolverContext_clone_ptr"))) TS_DNSResolverContext_clone_ptr(uint64_t arg) { + LDKDNSResolverContext arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSResolverContext_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_clone"))) TS_DNSResolverContext_clone(uint64_t orig) { + LDKDNSResolverContext orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSResolverContext ret_var = DNSResolverContext_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSResolverContext_hash"))) TS_DNSResolverContext_hash(uint64_t o) { + LDKDNSResolverContext o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSResolverContext_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverContext_eq"))) TS_DNSResolverContext_eq(uint64_t a, uint64_t b) { + LDKDNSResolverContext a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSResolverContext b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSResolverContext_eq(&a_conv, &b_conv); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_DNSResolverContext_write"))) TS_DNSResolverContext_write(uint64_t obj) { + LDKDNSResolverContext obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = DNSResolverContext_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_read"))) TS_DNSResolverContext_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = DNSResolverContext_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_FundingInfo_free"))) TS_FundingInfo_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -80952,6 +83770,11 @@ uint32_t __attribute__((export_name("TS_PaymentFailureReason_invoice_request_re return ret_conv; } +uint32_t __attribute__((export_name("TS_PaymentFailureReason_blinded_path_creation_failed"))) TS_PaymentFailureReason_blinded_path_creation_failed() { + uint32_t ret_conv = LDKPaymentFailureReason_to_js(PaymentFailureReason_blinded_path_creation_failed()); + return ret_conv; +} + jboolean __attribute__((export_name("TS_PaymentFailureReason_eq"))) TS_PaymentFailureReason_eq(uint64_t a, uint64_t b) { LDKPaymentFailureReason* a_conv = (LDKPaymentFailureReason*)untag_ptr(a); LDKPaymentFailureReason* b_conv = (LDKPaymentFailureReason*)untag_ptr(b); @@ -80978,6 +83801,56 @@ uint64_t __attribute__((export_name("TS_PaymentFailureReason_read"))) TS_Paymen return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_InboundChannelFunds_free"))) TS_InboundChannelFunds_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKInboundChannelFunds this_ptr_conv = *(LDKInboundChannelFunds*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + InboundChannelFunds_free(this_ptr_conv); +} + +static inline uint64_t InboundChannelFunds_clone_ptr(LDKInboundChannelFunds *NONNULL_PTR arg) { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_InboundChannelFunds_clone_ptr"))) TS_InboundChannelFunds_clone_ptr(uint64_t arg) { + LDKInboundChannelFunds* arg_conv = (LDKInboundChannelFunds*)untag_ptr(arg); + int64_t ret_conv = InboundChannelFunds_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_clone"))) TS_InboundChannelFunds_clone(uint64_t orig) { + LDKInboundChannelFunds* orig_conv = (LDKInboundChannelFunds*)untag_ptr(orig); + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_push_msat"))) TS_InboundChannelFunds_push_msat(int64_t a) { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_push_msat(a); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_dual_funded"))) TS_InboundChannelFunds_dual_funded() { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_dual_funded(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_InboundChannelFunds_eq"))) TS_InboundChannelFunds_eq(uint64_t a, uint64_t b) { + LDKInboundChannelFunds* a_conv = (LDKInboundChannelFunds*)untag_ptr(a); + LDKInboundChannelFunds* b_conv = (LDKInboundChannelFunds*)untag_ptr(b); + jboolean ret_conv = InboundChannelFunds_eq(a_conv, b_conv); + return ret_conv; +} + void __attribute__((export_name("TS_Event_free"))) TS_Event_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -81057,7 +83930,7 @@ uint64_t __attribute__((export_name("TS_Event_funding_tx_broadcast_safe"))) TS_ return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_payment_claimable(int8_tArray receiver_node_id, int8_tArray payment_hash, uint64_t onion_fields, int64_t amount_msat, int64_t counterparty_skimmed_fee_msat, uint64_t purpose, uint64_t via_channel_id, uint64_t via_user_channel_id, uint64_t claim_deadline) { +uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_payment_claimable(int8_tArray receiver_node_id, int8_tArray payment_hash, uint64_t onion_fields, int64_t amount_msat, int64_t counterparty_skimmed_fee_msat, uint64_t purpose, uint64_t via_channel_id, uint64_t via_user_channel_id, uint64_t claim_deadline, uint64_t payment_id) { LDKPublicKey receiver_node_id_ref; CHECK(receiver_node_id->arr_len == 33); memcpy(receiver_node_id_ref.compressed_form, receiver_node_id->elems, 33); FREE(receiver_node_id); @@ -81086,13 +83959,17 @@ uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_pa CHECK_ACCESS(claim_deadline_ptr); LDKCOption_u32Z claim_deadline_conv = *(LDKCOption_u32Z*)(claim_deadline_ptr); claim_deadline_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(claim_deadline)); + void* payment_id_ptr = untag_ptr(payment_id); + CHECK_ACCESS(payment_id_ptr); + LDKCOption_ThirtyTwoBytesZ payment_id_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_id_ptr); + payment_id_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_id)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_claimable(receiver_node_id_ref, payment_hash_ref, onion_fields_conv, amount_msat, counterparty_skimmed_fee_msat, purpose_conv, via_channel_id_conv, via_user_channel_id_conv, claim_deadline_conv); + *ret_copy = Event_payment_claimable(receiver_node_id_ref, payment_hash_ref, onion_fields_conv, amount_msat, counterparty_skimmed_fee_msat, purpose_conv, via_channel_id_conv, via_user_channel_id_conv, claim_deadline_conv, payment_id_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_payment_claimed(int8_tArray receiver_node_id, int8_tArray payment_hash, int64_t amount_msat, uint64_t purpose, uint64_tArray htlcs, uint64_t sender_intended_total_msat, uint64_t onion_fields) { +uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_payment_claimed(int8_tArray receiver_node_id, int8_tArray payment_hash, int64_t amount_msat, uint64_t purpose, uint64_tArray htlcs, uint64_t sender_intended_total_msat, uint64_t onion_fields, uint64_t payment_id) { LDKPublicKey receiver_node_id_ref; CHECK(receiver_node_id->arr_len == 33); memcpy(receiver_node_id_ref.compressed_form, receiver_node_id->elems, 33); FREE(receiver_node_id); @@ -81129,8 +84006,12 @@ uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_paym onion_fields_conv.is_owned = ptr_is_owned(onion_fields); CHECK_INNER_FIELD_ACCESS_OR_NULL(onion_fields_conv); onion_fields_conv = RecipientOnionFields_clone(&onion_fields_conv); + void* payment_id_ptr = untag_ptr(payment_id); + CHECK_ACCESS(payment_id_ptr); + LDKCOption_ThirtyTwoBytesZ payment_id_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_id_ptr); + payment_id_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_id)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_claimed(receiver_node_id_ref, payment_hash_ref, amount_msat, purpose_conv, htlcs_constr, sender_intended_total_msat_conv, onion_fields_conv); + *ret_copy = Event_payment_claimed(receiver_node_id_ref, payment_hash_ref, amount_msat, purpose_conv, htlcs_constr, sender_intended_total_msat_conv, onion_fields_conv, payment_id_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81358,7 +84239,7 @@ uint64_t __attribute__((export_name("TS_Event_spendable_outputs"))) TS_Event_sp return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_payment_forwarded(uint64_t prev_channel_id, uint64_t next_channel_id, uint64_t prev_user_channel_id, uint64_t next_user_channel_id, uint64_t total_fee_earned_msat, uint64_t skimmed_fee_msat, jboolean claim_from_onchain_tx, uint64_t outbound_amount_forwarded_msat) { +uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_payment_forwarded(uint64_t prev_channel_id, uint64_t next_channel_id, uint64_t prev_user_channel_id, uint64_t next_user_channel_id, int8_tArray prev_node_id, int8_tArray next_node_id, uint64_t total_fee_earned_msat, uint64_t skimmed_fee_msat, jboolean claim_from_onchain_tx, uint64_t outbound_amount_forwarded_msat) { LDKChannelId prev_channel_id_conv; prev_channel_id_conv.inner = untag_ptr(prev_channel_id); prev_channel_id_conv.is_owned = ptr_is_owned(prev_channel_id); @@ -81377,6 +84258,12 @@ uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_pa CHECK_ACCESS(next_user_channel_id_ptr); LDKCOption_U128Z next_user_channel_id_conv = *(LDKCOption_U128Z*)(next_user_channel_id_ptr); next_user_channel_id_conv = COption_U128Z_clone((LDKCOption_U128Z*)untag_ptr(next_user_channel_id)); + LDKPublicKey prev_node_id_ref; + CHECK(prev_node_id->arr_len == 33); + memcpy(prev_node_id_ref.compressed_form, prev_node_id->elems, 33); FREE(prev_node_id); + LDKPublicKey next_node_id_ref; + CHECK(next_node_id->arr_len == 33); + memcpy(next_node_id_ref.compressed_form, next_node_id->elems, 33); FREE(next_node_id); void* total_fee_earned_msat_ptr = untag_ptr(total_fee_earned_msat); CHECK_ACCESS(total_fee_earned_msat_ptr); LDKCOption_u64Z total_fee_earned_msat_conv = *(LDKCOption_u64Z*)(total_fee_earned_msat_ptr); @@ -81390,7 +84277,7 @@ uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_pa LDKCOption_u64Z outbound_amount_forwarded_msat_conv = *(LDKCOption_u64Z*)(outbound_amount_forwarded_msat_ptr); outbound_amount_forwarded_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(outbound_amount_forwarded_msat)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_forwarded(prev_channel_id_conv, next_channel_id_conv, prev_user_channel_id_conv, next_user_channel_id_conv, total_fee_earned_msat_conv, skimmed_fee_msat_conv, claim_from_onchain_tx, outbound_amount_forwarded_msat_conv); + *ret_copy = Event_payment_forwarded(prev_channel_id_conv, next_channel_id_conv, prev_user_channel_id_conv, next_user_channel_id_conv, prev_node_id_ref, next_node_id_ref, total_fee_earned_msat_conv, skimmed_fee_msat_conv, claim_from_onchain_tx, outbound_amount_forwarded_msat_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81451,7 +84338,7 @@ uint64_t __attribute__((export_name("TS_Event_channel_ready"))) TS_Event_channe return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_channel_closed(uint64_t channel_id, int8_tArray user_channel_id, uint64_t reason, int8_tArray counterparty_node_id, uint64_t channel_capacity_sats, uint64_t channel_funding_txo) { +uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_channel_closed(uint64_t channel_id, int8_tArray user_channel_id, uint64_t reason, int8_tArray counterparty_node_id, uint64_t channel_capacity_sats, uint64_t channel_funding_txo, uint64_t last_local_balance_msat) { LDKChannelId channel_id_conv; channel_id_conv.inner = untag_ptr(channel_id); channel_id_conv.is_owned = ptr_is_owned(channel_id); @@ -81476,8 +84363,12 @@ uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_chann channel_funding_txo_conv.is_owned = ptr_is_owned(channel_funding_txo); CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_funding_txo_conv); channel_funding_txo_conv = OutPoint_clone(&channel_funding_txo_conv); + void* last_local_balance_msat_ptr = untag_ptr(last_local_balance_msat); + CHECK_ACCESS(last_local_balance_msat_ptr); + LDKCOption_u64Z last_local_balance_msat_conv = *(LDKCOption_u64Z*)(last_local_balance_msat_ptr); + last_local_balance_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(last_local_balance_msat)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_channel_closed(channel_id_conv, user_channel_id_ref, reason_conv, counterparty_node_id_ref, channel_capacity_sats_conv, channel_funding_txo_conv); + *ret_copy = Event_channel_closed(channel_id_conv, user_channel_id_ref, reason_conv, counterparty_node_id_ref, channel_capacity_sats_conv, channel_funding_txo_conv, last_local_balance_msat_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81498,7 +84389,7 @@ uint64_t __attribute__((export_name("TS_Event_discard_funding"))) TS_Event_disc return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event_open_channel_request(uint64_t temporary_channel_id, int8_tArray counterparty_node_id, int64_t funding_satoshis, int64_t push_msat, uint64_t channel_type, jboolean is_announced, uint64_t params) { +uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event_open_channel_request(uint64_t temporary_channel_id, int8_tArray counterparty_node_id, int64_t funding_satoshis, uint64_t channel_negotiation_type, uint64_t channel_type, jboolean is_announced, uint64_t params) { LDKChannelId temporary_channel_id_conv; temporary_channel_id_conv.inner = untag_ptr(temporary_channel_id); temporary_channel_id_conv.is_owned = ptr_is_owned(temporary_channel_id); @@ -81507,6 +84398,10 @@ uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event LDKPublicKey counterparty_node_id_ref; CHECK(counterparty_node_id->arr_len == 33); memcpy(counterparty_node_id_ref.compressed_form, counterparty_node_id->elems, 33); FREE(counterparty_node_id); + void* channel_negotiation_type_ptr = untag_ptr(channel_negotiation_type); + CHECK_ACCESS(channel_negotiation_type_ptr); + LDKInboundChannelFunds channel_negotiation_type_conv = *(LDKInboundChannelFunds*)(channel_negotiation_type_ptr); + channel_negotiation_type_conv = InboundChannelFunds_clone((LDKInboundChannelFunds*)untag_ptr(channel_negotiation_type)); LDKChannelTypeFeatures channel_type_conv; channel_type_conv.inner = untag_ptr(channel_type); channel_type_conv.is_owned = ptr_is_owned(channel_type); @@ -81518,7 +84413,7 @@ uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv = ChannelParameters_clone(¶ms_conv); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_open_channel_request(temporary_channel_id_conv, counterparty_node_id_ref, funding_satoshis, push_msat, channel_type_conv, is_announced, params_conv); + *ret_copy = Event_open_channel_request(temporary_channel_id_conv, counterparty_node_id_ref, funding_satoshis, channel_negotiation_type_conv, channel_type_conv, is_announced, params_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -86263,6 +89158,82 @@ jboolean __attribute__((export_name("TS_NodeFeatures_requires_shutdown_anysegwi return ret_conv; } +void __attribute__((export_name("TS_InitFeatures_set_dual_fund_optional"))) TS_InitFeatures_set_dual_fund_optional(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + InitFeatures_set_dual_fund_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_InitFeatures_set_dual_fund_required"))) TS_InitFeatures_set_dual_fund_required(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + InitFeatures_set_dual_fund_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_InitFeatures_supports_dual_fund"))) TS_InitFeatures_supports_dual_fund(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InitFeatures_supports_dual_fund(&this_arg_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_NodeFeatures_set_dual_fund_optional"))) TS_NodeFeatures_set_dual_fund_optional(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dual_fund_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_NodeFeatures_set_dual_fund_required"))) TS_NodeFeatures_set_dual_fund_required(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dual_fund_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_NodeFeatures_supports_dual_fund"))) TS_NodeFeatures_supports_dual_fund(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_supports_dual_fund(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_InitFeatures_requires_dual_fund"))) TS_InitFeatures_requires_dual_fund(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InitFeatures_requires_dual_fund(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_NodeFeatures_requires_dual_fund"))) TS_NodeFeatures_requires_dual_fund(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_requires_dual_fund(&this_arg_conv); + return ret_conv; +} + void __attribute__((export_name("TS_InitFeatures_set_taproot_optional"))) TS_InitFeatures_set_taproot_optional(uint64_t this_arg) { LDKInitFeatures this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -86917,6 +89888,34 @@ jboolean __attribute__((export_name("TS_Bolt11InvoiceFeatures_supports_trampoli return ret_conv; } +void __attribute__((export_name("TS_Bolt12InvoiceFeatures_set_trampoline_routing_optional"))) TS_Bolt12InvoiceFeatures_set_trampoline_routing_optional(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + Bolt12InvoiceFeatures_set_trampoline_routing_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_Bolt12InvoiceFeatures_set_trampoline_routing_required"))) TS_Bolt12InvoiceFeatures_set_trampoline_routing_required(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + Bolt12InvoiceFeatures_set_trampoline_routing_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_Bolt12InvoiceFeatures_supports_trampoline_routing"))) TS_Bolt12InvoiceFeatures_supports_trampoline_routing(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = Bolt12InvoiceFeatures_supports_trampoline_routing(&this_arg_conv); + return ret_conv; +} + jboolean __attribute__((export_name("TS_InitFeatures_requires_trampoline_routing"))) TS_InitFeatures_requires_trampoline_routing(uint64_t this_arg) { LDKInitFeatures this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -86947,6 +89946,54 @@ jboolean __attribute__((export_name("TS_Bolt11InvoiceFeatures_requires_trampoli return ret_conv; } +jboolean __attribute__((export_name("TS_Bolt12InvoiceFeatures_requires_trampoline_routing"))) TS_Bolt12InvoiceFeatures_requires_trampoline_routing(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = Bolt12InvoiceFeatures_requires_trampoline_routing(&this_arg_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_NodeFeatures_set_dns_resolution_optional"))) TS_NodeFeatures_set_dns_resolution_optional(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dns_resolution_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_NodeFeatures_set_dns_resolution_required"))) TS_NodeFeatures_set_dns_resolution_required(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dns_resolution_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_NodeFeatures_supports_dns_resolution"))) TS_NodeFeatures_supports_dns_resolution(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_supports_dns_resolution(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_NodeFeatures_requires_dns_resolution"))) TS_NodeFeatures_requires_dns_resolution(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_requires_dns_resolution(&this_arg_conv); + return ret_conv; +} + void __attribute__((export_name("TS_RoutingFees_free"))) TS_RoutingFees_free(uint64_t this_obj) { LDKRoutingFees this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -87723,176 +90770,59 @@ jboolean __attribute__((export_name("TS_RapidGossipSync_is_initial_sync_complet return ret_conv; } -void __attribute__((export_name("TS_Bolt11ParseError_free"))) TS_Bolt11ParseError_free(uint64_t this_ptr) { - if (!ptr_is_owned(this_ptr)) return; - void* this_ptr_ptr = untag_ptr(this_ptr); - CHECK_ACCESS(this_ptr_ptr); - LDKBolt11ParseError this_ptr_conv = *(LDKBolt11ParseError*)(this_ptr_ptr); - FREE(untag_ptr(this_ptr)); - Bolt11ParseError_free(this_ptr_conv); +void __attribute__((export_name("TS_Bolt11ParseError_free"))) TS_Bolt11ParseError_free(uint64_t this_obj) { + LDKBolt11ParseError this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + Bolt11ParseError_free(this_obj_conv); +} + +jboolean __attribute__((export_name("TS_Bolt11ParseError_eq"))) TS_Bolt11ParseError_eq(uint64_t a, uint64_t b) { + LDKBolt11ParseError a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKBolt11ParseError b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = Bolt11ParseError_eq(&a_conv, &b_conv); + return ret_conv; } static inline uint64_t Bolt11ParseError_clone_ptr(LDKBolt11ParseError *NONNULL_PTR arg) { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = Bolt11ParseError_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } int64_t __attribute__((export_name("TS_Bolt11ParseError_clone_ptr"))) TS_Bolt11ParseError_clone_ptr(uint64_t arg) { - LDKBolt11ParseError* arg_conv = (LDKBolt11ParseError*)untag_ptr(arg); - int64_t ret_conv = Bolt11ParseError_clone_ptr(arg_conv); + LDKBolt11ParseError arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = Bolt11ParseError_clone_ptr(&arg_conv); return ret_conv; } uint64_t __attribute__((export_name("TS_Bolt11ParseError_clone"))) TS_Bolt11ParseError_clone(uint64_t orig) { - LDKBolt11ParseError* orig_conv = (LDKBolt11ParseError*)untag_ptr(orig); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_bech32_error"))) TS_Bolt11ParseError_bech32_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKBech32Error a_conv = *(LDKBech32Error*)(a_ptr); - a_conv = Bech32Error_clone((LDKBech32Error*)untag_ptr(a)); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_bech32_error(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_parse_amount_error"))) TS_Bolt11ParseError_parse_amount_error(int32_t a) { - - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_parse_amount_error((LDKError){ ._dummy = 0 }); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_malformed_signature"))) TS_Bolt11ParseError_malformed_signature(uint32_t a) { - LDKSecp256k1Error a_conv = LDKSecp256k1Error_from_js(a); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_malformed_signature(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_bad_prefix"))) TS_Bolt11ParseError_bad_prefix() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_bad_prefix(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unknown_currency"))) TS_Bolt11ParseError_unknown_currency() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unknown_currency(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unknown_si_prefix"))) TS_Bolt11ParseError_unknown_si_prefix() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unknown_si_prefix(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_malformed_hrp"))) TS_Bolt11ParseError_malformed_hrp() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_malformed_hrp(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_too_short_data_part"))) TS_Bolt11ParseError_too_short_data_part() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_too_short_data_part(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unexpected_end_of_tagged_fields"))) TS_Bolt11ParseError_unexpected_end_of_tagged_fields() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unexpected_end_of_tagged_fields(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_description_decode_error"))) TS_Bolt11ParseError_description_decode_error(int32_t a) { - - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_description_decode_error((LDKError){ ._dummy = 0 }); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_padding_error"))) TS_Bolt11ParseError_padding_error() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_padding_error(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_integer_overflow_error"))) TS_Bolt11ParseError_integer_overflow_error() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_integer_overflow_error(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_seg_wit_program_length"))) TS_Bolt11ParseError_invalid_seg_wit_program_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_seg_wit_program_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_pub_key_hash_length"))) TS_Bolt11ParseError_invalid_pub_key_hash_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_pub_key_hash_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_script_hash_length"))) TS_Bolt11ParseError_invalid_script_hash_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_script_hash_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_recovery_id"))) TS_Bolt11ParseError_invalid_recovery_id() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_recovery_id(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_slice_length"))) TS_Bolt11ParseError_invalid_slice_length(jstring a) { - LDKStr a_conv = str_ref_to_owned_c(a); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_slice_length(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_skip"))) TS_Bolt11ParseError_skip() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_skip(); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKBolt11ParseError ret_var = Bolt11ParseError_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -jboolean __attribute__((export_name("TS_Bolt11ParseError_eq"))) TS_Bolt11ParseError_eq(uint64_t a, uint64_t b) { - LDKBolt11ParseError* a_conv = (LDKBolt11ParseError*)untag_ptr(a); - LDKBolt11ParseError* b_conv = (LDKBolt11ParseError*)untag_ptr(b); - jboolean ret_conv = Bolt11ParseError_eq(a_conv, b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_ParseOrSemanticError_free"))) TS_ParseOrSemanticError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -87923,10 +90853,11 @@ uint64_t __attribute__((export_name("TS_ParseOrSemanticError_clone"))) TS_Parse } uint64_t __attribute__((export_name("TS_ParseOrSemanticError_parse_error"))) TS_ParseOrSemanticError_parse_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKBolt11ParseError a_conv = *(LDKBolt11ParseError*)(a_ptr); - a_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(a)); + LDKBolt11ParseError a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Bolt11ParseError_clone(&a_conv); LDKParseOrSemanticError *ret_copy = MALLOC(sizeof(LDKParseOrSemanticError), "LDKParseOrSemanticError"); *ret_copy = ParseOrSemanticError_parse_error(a_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); @@ -88011,6 +90942,74 @@ int64_t __attribute__((export_name("TS_Bolt11Invoice_hash"))) TS_Bolt11Invoice_ return ret_conv; } +void __attribute__((export_name("TS_Bolt11InvoiceDescription_free"))) TS_Bolt11InvoiceDescription_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKBolt11InvoiceDescription this_ptr_conv = *(LDKBolt11InvoiceDescription*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + Bolt11InvoiceDescription_free(this_ptr_conv); +} + +static inline uint64_t Bolt11InvoiceDescription_clone_ptr(LDKBolt11InvoiceDescription *NONNULL_PTR arg) { + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_clone_ptr"))) TS_Bolt11InvoiceDescription_clone_ptr(uint64_t arg) { + LDKBolt11InvoiceDescription* arg_conv = (LDKBolt11InvoiceDescription*)untag_ptr(arg); + int64_t ret_conv = Bolt11InvoiceDescription_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_clone"))) TS_Bolt11InvoiceDescription_clone(uint64_t orig) { + LDKBolt11InvoiceDescription* orig_conv = (LDKBolt11InvoiceDescription*)untag_ptr(orig); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_direct"))) TS_Bolt11InvoiceDescription_direct(uint64_t a) { + LDKDescription a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Description_clone(&a_conv); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_direct(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_hash"))) TS_Bolt11InvoiceDescription_hash(uint64_t a) { + LDKSha256 a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Sha256_clone(&a_conv); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_hash(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_Bolt11InvoiceDescription_eq"))) TS_Bolt11InvoiceDescription_eq(uint64_t a, uint64_t b) { + LDKBolt11InvoiceDescription* a_conv = (LDKBolt11InvoiceDescription*)untag_ptr(a); + LDKBolt11InvoiceDescription* b_conv = (LDKBolt11InvoiceDescription*)untag_ptr(b); + jboolean ret_conv = Bolt11InvoiceDescription_eq(a_conv, b_conv); + return ret_conv; +} + +jstring __attribute__((export_name("TS_Bolt11InvoiceDescription_to_str"))) TS_Bolt11InvoiceDescription_to_str(uint64_t o) { + LDKBolt11InvoiceDescription* o_conv = (LDKBolt11InvoiceDescription*)untag_ptr(o); + LDKStr ret_str = Bolt11InvoiceDescription_to_str(o_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + void __attribute__((export_name("TS_SignedRawBolt11Invoice_free"))) TS_SignedRawBolt11Invoice_free(uint64_t this_obj) { LDKSignedRawBolt11Invoice this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -89581,6 +92580,14 @@ uint64_t __attribute__((export_name("TS_Description_new"))) TS_Description_new( return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_Description_empty"))) TS_Description_empty() { + LDKDescription ret_var = Description_empty(); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_Description_into_inner"))) TS_Description_into_inner(uint64_t this_arg) { LDKDescription this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -89882,8 +92889,12 @@ uint64_t __attribute__((export_name("TS_SignedRawBolt11Invoice_from_str"))) TS_ } jstring __attribute__((export_name("TS_Bolt11ParseError_to_str"))) TS_Bolt11ParseError_to_str(uint64_t o) { - LDKBolt11ParseError* o_conv = (LDKBolt11ParseError*)untag_ptr(o); - LDKStr ret_str = Bolt11ParseError_to_str(o_conv); + LDKBolt11ParseError o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + LDKStr ret_str = Bolt11ParseError_to_str(&o_conv); jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); Str_free(ret_str); return ret_conv; diff --git a/ts/bindings.c.body b/ts/bindings.c.body index 2eb2a16b..6f92f4ac 100644 --- a/ts/bindings.c.body +++ b/ts/bindings.c.body @@ -225,24 +225,26 @@ static inline LDKBolt12SemanticError LDKBolt12SemanticError_from_js(int32_t ord) case 8: return LDKBolt12SemanticError_UnknownRequiredFeatures; case 9: return LDKBolt12SemanticError_UnexpectedFeatures; case 10: return LDKBolt12SemanticError_MissingDescription; - case 11: return LDKBolt12SemanticError_MissingSigningPubkey; - case 12: return LDKBolt12SemanticError_InvalidSigningPubkey; - case 13: return LDKBolt12SemanticError_UnexpectedSigningPubkey; - case 14: return LDKBolt12SemanticError_MissingQuantity; - case 15: return LDKBolt12SemanticError_InvalidQuantity; - case 16: return LDKBolt12SemanticError_UnexpectedQuantity; - case 17: return LDKBolt12SemanticError_InvalidMetadata; - case 18: return LDKBolt12SemanticError_UnexpectedMetadata; - case 19: return LDKBolt12SemanticError_MissingPayerMetadata; - case 20: return LDKBolt12SemanticError_MissingPayerId; - case 21: return LDKBolt12SemanticError_DuplicatePaymentId; - case 22: return LDKBolt12SemanticError_MissingPaths; - case 23: return LDKBolt12SemanticError_UnexpectedPaths; - case 24: return LDKBolt12SemanticError_InvalidPayInfo; - case 25: return LDKBolt12SemanticError_MissingCreationTime; - case 26: return LDKBolt12SemanticError_MissingPaymentHash; - case 27: return LDKBolt12SemanticError_UnexpectedPaymentHash; - case 28: return LDKBolt12SemanticError_MissingSignature; + case 11: return LDKBolt12SemanticError_MissingIssuerSigningPubkey; + case 12: return LDKBolt12SemanticError_UnexpectedIssuerSigningPubkey; + case 13: return LDKBolt12SemanticError_MissingQuantity; + case 14: return LDKBolt12SemanticError_InvalidQuantity; + case 15: return LDKBolt12SemanticError_UnexpectedQuantity; + case 16: return LDKBolt12SemanticError_InvalidMetadata; + case 17: return LDKBolt12SemanticError_UnexpectedMetadata; + case 18: return LDKBolt12SemanticError_MissingPayerMetadata; + case 19: return LDKBolt12SemanticError_MissingPayerSigningPubkey; + case 20: return LDKBolt12SemanticError_DuplicatePaymentId; + case 21: return LDKBolt12SemanticError_MissingPaths; + case 22: return LDKBolt12SemanticError_UnexpectedPaths; + case 23: return LDKBolt12SemanticError_InvalidPayInfo; + case 24: return LDKBolt12SemanticError_MissingCreationTime; + case 25: return LDKBolt12SemanticError_MissingPaymentHash; + case 26: return LDKBolt12SemanticError_UnexpectedPaymentHash; + case 27: return LDKBolt12SemanticError_MissingSigningPubkey; + case 28: return LDKBolt12SemanticError_InvalidSigningPubkey; + case 29: return LDKBolt12SemanticError_MissingSignature; + case 30: return LDKBolt12SemanticError_UnexpectedHumanReadableName; } abort(); } @@ -259,24 +261,26 @@ static inline int32_t LDKBolt12SemanticError_to_js(LDKBolt12SemanticError val) { case LDKBolt12SemanticError_UnknownRequiredFeatures: return 8; case LDKBolt12SemanticError_UnexpectedFeatures: return 9; case LDKBolt12SemanticError_MissingDescription: return 10; - case LDKBolt12SemanticError_MissingSigningPubkey: return 11; - case LDKBolt12SemanticError_InvalidSigningPubkey: return 12; - case LDKBolt12SemanticError_UnexpectedSigningPubkey: return 13; - case LDKBolt12SemanticError_MissingQuantity: return 14; - case LDKBolt12SemanticError_InvalidQuantity: return 15; - case LDKBolt12SemanticError_UnexpectedQuantity: return 16; - case LDKBolt12SemanticError_InvalidMetadata: return 17; - case LDKBolt12SemanticError_UnexpectedMetadata: return 18; - case LDKBolt12SemanticError_MissingPayerMetadata: return 19; - case LDKBolt12SemanticError_MissingPayerId: return 20; - case LDKBolt12SemanticError_DuplicatePaymentId: return 21; - case LDKBolt12SemanticError_MissingPaths: return 22; - case LDKBolt12SemanticError_UnexpectedPaths: return 23; - case LDKBolt12SemanticError_InvalidPayInfo: return 24; - case LDKBolt12SemanticError_MissingCreationTime: return 25; - case LDKBolt12SemanticError_MissingPaymentHash: return 26; - case LDKBolt12SemanticError_UnexpectedPaymentHash: return 27; - case LDKBolt12SemanticError_MissingSignature: return 28; + case LDKBolt12SemanticError_MissingIssuerSigningPubkey: return 11; + case LDKBolt12SemanticError_UnexpectedIssuerSigningPubkey: return 12; + case LDKBolt12SemanticError_MissingQuantity: return 13; + case LDKBolt12SemanticError_InvalidQuantity: return 14; + case LDKBolt12SemanticError_UnexpectedQuantity: return 15; + case LDKBolt12SemanticError_InvalidMetadata: return 16; + case LDKBolt12SemanticError_UnexpectedMetadata: return 17; + case LDKBolt12SemanticError_MissingPayerMetadata: return 18; + case LDKBolt12SemanticError_MissingPayerSigningPubkey: return 19; + case LDKBolt12SemanticError_DuplicatePaymentId: return 20; + case LDKBolt12SemanticError_MissingPaths: return 21; + case LDKBolt12SemanticError_UnexpectedPaths: return 22; + case LDKBolt12SemanticError_InvalidPayInfo: return 23; + case LDKBolt12SemanticError_MissingCreationTime: return 24; + case LDKBolt12SemanticError_MissingPaymentHash: return 25; + case LDKBolt12SemanticError_UnexpectedPaymentHash: return 26; + case LDKBolt12SemanticError_MissingSigningPubkey: return 27; + case LDKBolt12SemanticError_InvalidSigningPubkey: return 28; + case LDKBolt12SemanticError_MissingSignature: return 29; + case LDKBolt12SemanticError_UnexpectedHumanReadableName: return 30; default: abort(); } } @@ -565,6 +569,7 @@ static inline LDKPaymentFailureReason LDKPaymentFailureReason_from_js(int32_t or case 6: return LDKPaymentFailureReason_UnknownRequiredFeatures; case 7: return LDKPaymentFailureReason_InvoiceRequestExpired; case 8: return LDKPaymentFailureReason_InvoiceRequestRejected; + case 9: return LDKPaymentFailureReason_BlindedPathCreationFailed; } abort(); } @@ -579,6 +584,7 @@ static inline int32_t LDKPaymentFailureReason_to_js(LDKPaymentFailureReason val) case LDKPaymentFailureReason_UnknownRequiredFeatures: return 6; case LDKPaymentFailureReason_InvoiceRequestExpired: return 7; case LDKPaymentFailureReason_InvoiceRequestRejected: return 8; + case LDKPaymentFailureReason_BlindedPathCreationFailed: return 9; default: abort(); } } @@ -945,96 +951,6 @@ uint64_t __attribute__((export_name("TS_CResult_RetryDecodeErrorZ_get_err"))) T return ret_ref; } -uint32_t __attribute__((export_name("TS_LDKAPIError_ty_from_ptr"))) TS_LDKAPIError_ty_from_ptr(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKAPIError_APIMisuseError: return 0; - case LDKAPIError_FeeRateTooHigh: return 1; - case LDKAPIError_InvalidRoute: return 2; - case LDKAPIError_ChannelUnavailable: return 3; - case LDKAPIError_MonitorUpdateInProgress: return 4; - case LDKAPIError_IncompatibleShutdownScript: return 5; - default: abort(); - } -} -jstring __attribute__((export_name("TS_LDKAPIError_APIMisuseError_get_err"))) TS_LDKAPIError_APIMisuseError_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_APIMisuseError); - LDKStr err_str = obj->api_misuse_error.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_err"))) TS_LDKAPIError_FeeRateTooHigh_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_FeeRateTooHigh); - LDKStr err_str = obj->fee_rate_too_high.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -int32_t __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_feerate"))) TS_LDKAPIError_FeeRateTooHigh_get_feerate(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_FeeRateTooHigh); - int32_t feerate_conv = obj->fee_rate_too_high.feerate; - return feerate_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_InvalidRoute_get_err"))) TS_LDKAPIError_InvalidRoute_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_InvalidRoute); - LDKStr err_str = obj->invalid_route.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -jstring __attribute__((export_name("TS_LDKAPIError_ChannelUnavailable_get_err"))) TS_LDKAPIError_ChannelUnavailable_get_err(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_ChannelUnavailable); - LDKStr err_str = obj->channel_unavailable.err; - jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); - return err_conv; -} -uint64_t __attribute__((export_name("TS_LDKAPIError_IncompatibleShutdownScript_get_script"))) TS_LDKAPIError_IncompatibleShutdownScript_get_script(uint64_t ptr) { - LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); - assert(obj->tag == LDKAPIError_IncompatibleShutdownScript); - LDKShutdownScript script_var = obj->incompatible_shutdown_script.script; - uint64_t script_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(script_var); - script_ref = tag_ptr(script_var.inner, false); - return script_ref; -} -static inline void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ -CHECK(owner->result_ok); - return *owner->contents.result; -} -void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_ok"))) TS_CResult_NoneAPIErrorZ_get_ok(uint64_t owner) { - LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); - CResult_NoneAPIErrorZ_get_ok(owner_conv); -} - -static inline struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return APIError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_err"))) TS_CResult_NoneAPIErrorZ_get_err(uint64_t owner) { - LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); - LDKAPIError *ret_copy = MALLOC(sizeof(LDKAPIError), "LDKAPIError"); - *ret_copy = CResult_NoneAPIErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline LDKCVec_CResult_NoneAPIErrorZZ CVec_CResult_NoneAPIErrorZZ_clone(const LDKCVec_CResult_NoneAPIErrorZZ *orig) { - LDKCVec_CResult_NoneAPIErrorZZ ret = { .data = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ) * orig->datalen, "LDKCVec_CResult_NoneAPIErrorZZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = CResult_NoneAPIErrorZ_clone(&orig->data[i]); - } - return ret; -} -static inline LDKCVec_APIErrorZ CVec_APIErrorZ_clone(const LDKCVec_APIErrorZ *orig) { - LDKCVec_APIErrorZ ret = { .data = MALLOC(sizeof(LDKAPIError) * orig->datalen, "LDKCVec_APIErrorZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = APIError_clone(&orig->data[i]); - } - return ret; -} uint32_t __attribute__((export_name("TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr"))) TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(uint64_t ptr) { LDKCOption_ThirtyTwoBytesZ *obj = (LDKCOption_ThirtyTwoBytesZ*)untag_ptr(ptr); switch(obj->tag) { @@ -1143,6 +1059,557 @@ void __attribute__((export_name("TS_CResult_RecipientOnionFieldsNoneZ_get_err") CResult_RecipientOnionFieldsNoneZ_get_err(owner_conv); } +uint32_t __attribute__((export_name("TS_LDKDNSResolverMessage_ty_from_ptr"))) TS_LDKDNSResolverMessage_ty_from_ptr(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + switch(obj->tag) { + case LDKDNSResolverMessage_DNSSECQuery: return 0; + case LDKDNSResolverMessage_DNSSECProof: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query"))) TS_LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + assert(obj->tag == LDKDNSResolverMessage_DNSSECQuery); + LDKDNSSECQuery dnssec_query_var = obj->dnssec_query; + uint64_t dnssec_query_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dnssec_query_var); + dnssec_query_ref = tag_ptr(dnssec_query_var.inner, false); + return dnssec_query_ref; +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof"))) TS_LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof(uint64_t ptr) { + LDKDNSResolverMessage *obj = (LDKDNSResolverMessage*)untag_ptr(ptr); + assert(obj->tag == LDKDNSResolverMessage_DNSSECProof); + LDKDNSSECProof dnssec_proof_var = obj->dnssec_proof; + uint64_t dnssec_proof_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dnssec_proof_var); + dnssec_proof_ref = tag_ptr(dnssec_proof_var.inner, false); + return dnssec_proof_ref; +} +static inline struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner){ + return DNSResolverMessage_clone(&owner->a); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_a"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* owner_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKResponseInstruction C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner){ + LDKResponseInstruction ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_b"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* owner_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(owner); + LDKResponseInstruction ret_var = C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *obj = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some: return 0; + case LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *obj = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* some_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +uint32_t __attribute__((export_name("TS_LDKDestination_ty_from_ptr"))) TS_LDKDestination_ty_from_ptr(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + switch(obj->tag) { + case LDKDestination_Node: return 0; + case LDKDestination_BlindedPath: return 1; + default: abort(); + } +} +int8_tArray __attribute__((export_name("TS_LDKDestination_Node_get_node"))) TS_LDKDestination_Node_get_node(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + assert(obj->tag == LDKDestination_Node); + int8_tArray node_arr = init_int8_tArray(33, __LINE__); + memcpy(node_arr->elems, obj->node.compressed_form, 33); + return node_arr; +} +uint64_t __attribute__((export_name("TS_LDKDestination_BlindedPath_get_blinded_path"))) TS_LDKDestination_BlindedPath_get_blinded_path(uint64_t ptr) { + LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); + assert(obj->tag == LDKDestination_BlindedPath); + LDKBlindedMessagePath blinded_path_var = obj->blinded_path; + uint64_t blinded_path_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(blinded_path_var); + blinded_path_ref = tag_ptr(blinded_path_var.inner, false); + return blinded_path_ref; +} +uint32_t __attribute__((export_name("TS_LDKOffersContext_ty_from_ptr"))) TS_LDKOffersContext_ty_from_ptr(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKOffersContext_InvoiceRequest: return 0; + case LDKOffersContext_OutboundPayment: return 1; + case LDKOffersContext_InboundPayment: return 2; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_InvoiceRequest_get_nonce"))) TS_LDKOffersContext_InvoiceRequest_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InvoiceRequest); + LDKNonce nonce_var = obj->invoice_request.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_payment_id"))) TS_LDKOffersContext_OutboundPayment_get_payment_id(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); + return payment_id_arr; +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_nonce"))) TS_LDKOffersContext_OutboundPayment_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + LDKNonce nonce_var = obj->outbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_hmac"))) TS_LDKOffersContext_OutboundPayment_get_hmac(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_OutboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); + return hmac_arr; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_payment_hash"))) TS_LDKOffersContext_InboundPayment_get_payment_hash(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + int8_tArray payment_hash_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_hash_arr->elems, obj->inbound_payment.payment_hash.data, 32); + return payment_hash_arr; +} +uint64_t __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_nonce"))) TS_LDKOffersContext_InboundPayment_get_nonce(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + LDKNonce nonce_var = obj->inbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_hmac"))) TS_LDKOffersContext_InboundPayment_get_hmac(uint64_t ptr) { + LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); + assert(obj->tag == LDKOffersContext_InboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->inbound_payment.hmac.data, 32); + return hmac_arr; +} +uint32_t __attribute__((export_name("TS_LDKAsyncPaymentsContext_ty_from_ptr"))) TS_LDKAsyncPaymentsContext_ty_from_ptr(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKAsyncPaymentsContext_OutboundPayment: return 0; + default: abort(); + } +} +int8_tArray __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_payment_id"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_payment_id(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); + memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); + return payment_id_arr; +} +uint64_t __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_nonce"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_nonce(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + LDKNonce nonce_var = obj->outbound_payment.nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, false); + return nonce_ref; +} +int8_tArray __attribute__((export_name("TS_LDKAsyncPaymentsContext_OutboundPayment_get_hmac"))) TS_LDKAsyncPaymentsContext_OutboundPayment_get_hmac(uint64_t ptr) { + LDKAsyncPaymentsContext *obj = (LDKAsyncPaymentsContext*)untag_ptr(ptr); + assert(obj->tag == LDKAsyncPaymentsContext_OutboundPayment); + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); + return hmac_arr; +} +uint32_t __attribute__((export_name("TS_LDKMessageContext_ty_from_ptr"))) TS_LDKMessageContext_ty_from_ptr(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + switch(obj->tag) { + case LDKMessageContext_Offers: return 0; + case LDKMessageContext_AsyncPayments: return 1; + case LDKMessageContext_DNSResolver: return 2; + case LDKMessageContext_Custom: return 3; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_Offers_get_offers"))) TS_LDKMessageContext_Offers_get_offers(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_Offers); + uint64_t offers_ref = tag_ptr(&obj->offers, false); + return offers_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_AsyncPayments_get_async_payments"))) TS_LDKMessageContext_AsyncPayments_get_async_payments(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_AsyncPayments); + uint64_t async_payments_ref = tag_ptr(&obj->async_payments, false); + return async_payments_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageContext_DNSResolver_get_dns_resolver"))) TS_LDKMessageContext_DNSResolver_get_dns_resolver(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_DNSResolver); + LDKDNSResolverContext dns_resolver_var = obj->dns_resolver; + uint64_t dns_resolver_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(dns_resolver_var); + dns_resolver_ref = tag_ptr(dns_resolver_var.inner, false); + return dns_resolver_ref; +} +int8_tArray __attribute__((export_name("TS_LDKMessageContext_Custom_get_custom"))) TS_LDKMessageContext_Custom_get_custom(uint64_t ptr) { + LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); + assert(obj->tag == LDKMessageContext_Custom); + LDKCVec_u8Z custom_var = obj->custom; + int8_tArray custom_arr = init_int8_tArray(custom_var.datalen, __LINE__); + memcpy(custom_arr->elems, custom_var.data, custom_var.datalen); + return custom_arr; +} +uint32_t __attribute__((export_name("TS_LDKMessageSendInstructions_ty_from_ptr"))) TS_LDKMessageSendInstructions_ty_from_ptr(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + switch(obj->tag) { + case LDKMessageSendInstructions_WithSpecifiedReplyPath: return 0; + case LDKMessageSendInstructions_WithReplyPath: return 1; + case LDKMessageSendInstructions_WithoutReplyPath: return 2; + case LDKMessageSendInstructions_ForReply: return 3; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); + uint64_t destination_ref = tag_ptr(&obj->with_specified_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); + LDKBlindedMessagePath reply_path_var = obj->with_specified_reply_path.reply_path; + uint64_t reply_path_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(reply_path_var); + reply_path_ref = tag_ptr(reply_path_var.inner, false); + return reply_path_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); + uint64_t destination_ref = tag_ptr(&obj->with_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_context"))) TS_LDKMessageSendInstructions_WithReplyPath_get_context(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); + uint64_t context_ref = tag_ptr(&obj->with_reply_path.context, false); + return context_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_WithoutReplyPath); + uint64_t destination_ref = tag_ptr(&obj->without_reply_path.destination, false); + return destination_ref; +} +uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_ForReply_get_instructions"))) TS_LDKMessageSendInstructions_ForReply_get_instructions(uint64_t ptr) { + LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); + assert(obj->tag == LDKMessageSendInstructions_ForReply); + LDKResponseInstruction instructions_var = obj->for_reply.instructions; + uint64_t instructions_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(instructions_var); + instructions_ref = tag_ptr(instructions_var.inner, false); + return instructions_ref; +} +static inline struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner){ + return DNSResolverMessage_clone(&owner->a); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* owner_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKMessageSendInstructions C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner){ + return MessageSendInstructions_clone(&owner->b); +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* owner_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(owner); + LDKMessageSendInstructions *ret_copy = MALLOC(sizeof(LDKMessageSendInstructions), "LDKMessageSendInstructions"); + *ret_copy = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_clone(const LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ *orig) { + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ) * orig->datalen, "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKDNSResolverMessage CResult_DNSResolverMessageDecodeErrorZ_get_ok(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return DNSResolverMessage_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_get_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_DNSResolverMessageDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(owner); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = CResult_DNSResolverMessageDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_DNSResolverMessageDecodeErrorZ_get_err(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_get_err"))) TS_CResult_DNSResolverMessageDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_DNSResolverMessageDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_DNSResolverMessageDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKHumanReadableName CResult_HumanReadableNameNoneZ_get_ok(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_get_ok"))) TS_CResult_HumanReadableNameNoneZ_get_ok(uint64_t owner) { + LDKCResult_HumanReadableNameNoneZ* owner_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = CResult_HumanReadableNameNoneZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline void CResult_HumanReadableNameNoneZ_get_err(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_get_err"))) TS_CResult_HumanReadableNameNoneZ_get_err(uint64_t owner) { + LDKCResult_HumanReadableNameNoneZ* owner_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(owner); + CResult_HumanReadableNameNoneZ_get_err(owner_conv); +} + +static inline struct LDKHumanReadableName CResult_HumanReadableNameDecodeErrorZ_get_ok(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_get_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_HumanReadableNameDecodeErrorZ* owner_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = CResult_HumanReadableNameDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_HumanReadableNameDecodeErrorZ_get_err(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_get_err"))) TS_CResult_HumanReadableNameDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_HumanReadableNameDecodeErrorZ* owner_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_HumanReadableNameDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDNSSECQuery C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner){ + LDKDNSSECQuery ret = owner->a; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_a"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(uint64_t owner) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* owner_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(owner); + LDKDNSSECQuery ret_var = C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDNSResolverContext C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner){ + LDKDNSResolverContext ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_b"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(uint64_t owner) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* owner_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(owner); + LDKDNSResolverContext ret_var = C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return C2Tuple_DNSSECQueryDNSResolverContextZ_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(uint64_t owner) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* owner_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(owner); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(owner_conv); + return tag_ptr(ret_conv, true); +} + +static inline void CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(uint64_t owner) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* owner_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(owner); + CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(owner_conv); +} + +static inline struct LDKHumanReadableName C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner){ + LDKHumanReadableName ret = owner->a; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(uint64_t owner) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* owner_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(owner); + LDKHumanReadableName ret_var = C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKThirtyTwoBytes C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner){ + return ThirtyTwoBytes_clone(&owner->b); +} +int8_tArray __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(uint64_t owner) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* owner_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(owner); + int8_tArray ret_arr = init_int8_tArray(32, __LINE__); + memcpy(ret_arr->elems, C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(owner_conv).data, 32); + return ret_arr; +} + +static inline LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(const LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ *orig) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ) * orig->datalen, "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner){ + return CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(&owner->a); +} +uint64_tArray __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(owner); + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t r = 0; r < ret_var.datalen; r++) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv_43_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv_43_conv = ret_var.data[r]; + ret_arr_ptr[r] = tag_ptr(ret_conv_43_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline struct LDKOffer C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner){ + LDKOffer ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(owner); + LDKOffer ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some: return 0; + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* some_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +static inline struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner){ + return CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_clone(&owner->a); +} +uint64_tArray __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(owner); + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ ret_var = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t r = 0; r < ret_var.datalen; r++) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv_43_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv_43_conv = ret_var.data[r]; + ret_arr_ptr[r] = tag_ptr(ret_conv_43_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline struct LDKStr C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner){ + return owner->b; +} +jstring __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(uint64_t owner) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* owner_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(owner); + LDKStr ret_str = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some: return 0; + case LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *obj = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* some_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(some_conv); + return tag_ptr(some_conv, true); +} static inline struct LDKUnsignedBolt12Invoice CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ *NONNULL_PTR owner){ LDKUnsignedBolt12Invoice ret = *owner->contents.result; ret.is_owned = false; @@ -1211,6 +1678,13 @@ void __attribute__((export_name("TS_CResult_SchnorrSignatureNoneZ_get_err"))) T CResult_SchnorrSignatureNoneZ_get_err(owner_conv); } +static inline LDKCVec_BlindedPaymentPathZ CVec_BlindedPaymentPathZ_clone(const LDKCVec_BlindedPaymentPathZ *orig) { + LDKCVec_BlindedPaymentPathZ ret = { .data = MALLOC(sizeof(LDKBlindedPaymentPath) * orig->datalen, "LDKCVec_BlindedPaymentPathZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = BlindedPaymentPath_clone(&orig->data[i]); + } + return ret; +} static inline LDKCVec_ThirtyTwoBytesZ CVec_ThirtyTwoBytesZ_clone(const LDKCVec_ThirtyTwoBytesZ *orig) { LDKCVec_ThirtyTwoBytesZ ret = { .data = MALLOC(sizeof(LDKThirtyTwoBytes) * orig->datalen, "LDKCVec_ThirtyTwoBytesZ clone bytes"), .datalen = orig->datalen }; for (size_t i = 0; i < ret.datalen; i++) { @@ -2181,6 +2655,21 @@ LDKCResult_ECDSASignatureNoneZ sign_channel_announcement_with_funding_key_LDKEcd FREE(untag_ptr(ret)); return ret_conv; } +LDKCResult_ECDSASignatureNoneZ sign_splicing_funding_input_LDKEcdsaChannelSigner_jcall(const void* this_arg, LDKTransaction tx, uintptr_t input_index, uint64_t input_value) { + LDKEcdsaChannelSigner_JCalls *j_calls = (LDKEcdsaChannelSigner_JCalls*) this_arg; + LDKTransaction tx_var = tx; + int8_tArray tx_arr = init_int8_tArray(tx_var.datalen, __LINE__); + memcpy(tx_arr->elems, tx_var.data, tx_var.datalen); + Transaction_free(tx_var); + uint32_t input_index_conv = input_index; + int64_t input_value_conv = input_value; + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 15, (uint32_t)tx_arr, input_index_conv, input_value_conv, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_ECDSASignatureNoneZ ret_conv = *(LDKCResult_ECDSASignatureNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} static void LDKEcdsaChannelSigner_JCalls_cloned(LDKEcdsaChannelSigner* new_obj) { LDKEcdsaChannelSigner_JCalls *j_calls = (LDKEcdsaChannelSigner_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); @@ -2207,6 +2696,7 @@ static inline LDKEcdsaChannelSigner LDKEcdsaChannelSigner_init (JSValue o, JSVal .sign_closing_transaction = sign_closing_transaction_LDKEcdsaChannelSigner_jcall, .sign_holder_anchor_input = sign_holder_anchor_input_LDKEcdsaChannelSigner_jcall, .sign_channel_announcement_with_funding_key = sign_channel_announcement_with_funding_key_LDKEcdsaChannelSigner_jcall, + .sign_splicing_funding_input = sign_splicing_funding_input_LDKEcdsaChannelSigner_jcall, .cloned = LDKEcdsaChannelSigner_JCalls_cloned, .free = LDKEcdsaChannelSigner_JCalls_free, .ChannelSigner = LDKChannelSigner_init(ChannelSigner, pubkeys), @@ -2401,6 +2891,20 @@ uint64_t __attribute__((export_name("TS_EcdsaChannelSigner_sign_channel_announc return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_EcdsaChannelSigner_sign_splicing_funding_input"))) TS_EcdsaChannelSigner_sign_splicing_funding_input(uint64_t this_arg, int8_tArray tx, uint32_t input_index, int64_t input_value) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKEcdsaChannelSigner* this_arg_conv = (LDKEcdsaChannelSigner*)this_arg_ptr; + LDKTransaction tx_ref; + tx_ref.datalen = tx->arr_len; + tx_ref.data = MALLOC(tx_ref.datalen, "LDKTransaction Bytes"); + memcpy(tx_ref.data, tx->elems, tx_ref.datalen); FREE(tx); + tx_ref.data_is_owned = true; + LDKCResult_ECDSASignatureNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_ECDSASignatureNoneZ), "LDKCResult_ECDSASignatureNoneZ"); + *ret_conv = (this_arg_conv->sign_splicing_funding_input)(this_arg_conv->this_arg, tx_ref, input_index, input_value); + return tag_ptr(ret_conv, true); +} + static inline struct LDKEcdsaChannelSigner CResult_EcdsaChannelSignerDecodeErrorZ_get_ok(LDKCResult_EcdsaChannelSignerDecodeErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return EcdsaChannelSigner_clone(&*owner->contents.result); @@ -2638,13 +3142,6 @@ uint64_t __attribute__((export_name("TS_CResult_RouteLightningErrorZ_get_err")) return ret_ref; } -static inline LDKCVec_BlindedPaymentPathZ CVec_BlindedPaymentPathZ_clone(const LDKCVec_BlindedPaymentPathZ *orig) { - LDKCVec_BlindedPaymentPathZ ret = { .data = MALLOC(sizeof(LDKBlindedPaymentPath) * orig->datalen, "LDKCVec_BlindedPaymentPathZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = BlindedPaymentPath_clone(&orig->data[i]); - } - return ret; -} static inline struct LDKCVec_BlindedPaymentPathZ CResult_CVec_BlindedPaymentPathZNoneZ_get_ok(LDKCResult_CVec_BlindedPaymentPathZNoneZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return CVec_BlindedPaymentPathZ_clone(&*owner->contents.result); @@ -2676,67 +3173,6 @@ void __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_get_e CResult_CVec_BlindedPaymentPathZNoneZ_get_err(owner_conv); } -static inline struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ - LDKOnionMessagePath ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_ok"))) TS_CResult_OnionMessagePathNoneZ_get_ok(uint64_t owner) { - LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); - LDKOnionMessagePath ret_var = CResult_OnionMessagePathNoneZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return *owner->contents.err; -} -void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_err"))) TS_CResult_OnionMessagePathNoneZ_get_err(uint64_t owner) { - LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); - CResult_OnionMessagePathNoneZ_get_err(owner_conv); -} - -static inline struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ -CHECK(owner->result_ok); - return CVec_BlindedMessagePathZ_clone(&*owner->contents.result); -} -uint64_tArray __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(uint64_t owner) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); - LDKCVec_BlindedMessagePathZ ret_var = CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner_conv); - uint64_tArray ret_arr = NULL; - ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); - uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); - for (size_t u = 0; u < ret_var.datalen; u++) { - LDKBlindedMessagePath ret_conv_20_var = ret_var.data[u]; - uint64_t ret_conv_20_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); - ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); - ret_arr_ptr[u] = ret_conv_20_ref; - } - - FREE(ret_var.data); - return ret_arr; -} - -static inline void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return *owner->contents.err; -} -void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(uint64_t owner) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); - CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner_conv); -} - -static inline LDKCVec_MessageForwardNodeZ CVec_MessageForwardNodeZ_clone(const LDKCVec_MessageForwardNodeZ *orig) { - LDKCVec_MessageForwardNodeZ ret = { .data = MALLOC(sizeof(LDKMessageForwardNode) * orig->datalen, "LDKCVec_MessageForwardNodeZ clone bytes"), .datalen = orig->datalen }; - for (size_t i = 0; i < ret.datalen; i++) { - ret.data[i] = MessageForwardNode_clone(&orig->data[i]); - } - return ret; -} static inline struct LDKInFlightHtlcs CResult_InFlightHtlcsDecodeErrorZ_get_ok(LDKCResult_InFlightHtlcsDecodeErrorZ *NONNULL_PTR owner){ LDKInFlightHtlcs ret = *owner->contents.result; ret.is_owned = false; @@ -3130,7 +3566,7 @@ void log_LDKLogger_jcall(const void* this_arg, LDKRecord record) { uint64_t record_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(record_var); record_ref = tag_ptr(record_var.inner, record_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 15, record_ref, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 16, record_ref, 0, 0, 0, 0, 0); } static void LDKLogger_JCalls_cloned(LDKLogger* new_obj) { LDKLogger_JCalls *j_calls = (LDKLogger_JCalls*) new_obj->this_arg; @@ -3490,188 +3926,6 @@ static inline LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ CVe } return ret; } -static inline struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKInitFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKInitFeatures ret_var = CResult_InitFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_err"))) TS_CResult_InitFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_InitFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKChannelFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKChannelFeatures ret_var = CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_ChannelFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKNodeFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKNodeFeatures ret_var = CResult_NodeFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_NodeFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBolt11InvoiceFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBolt11InvoiceFeatures ret_var = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBolt12InvoiceFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBolt12InvoiceFeatures ret_var = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKBlindedHopFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKBlindedHopFeatures ret_var = CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -static inline struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ - LDKChannelTypeFeatures ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKChannelTypeFeatures ret_var = CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKOfferId CResult_OfferIdDecodeErrorZ_get_ok(LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR owner){ LDKOfferId ret = *owner->contents.result; ret.is_owned = false; @@ -3741,51 +3995,27 @@ uint32_t __attribute__((export_name("TS_CResult_OfferBolt12SemanticErrorZ_get_e return ret_conv; } -static inline struct LDKInvoiceRequestWithDerivedPayerIdBuilder CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKInvoiceRequestWithDerivedPayerIdBuilder ret = *owner->contents.result; +static inline struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder ret = *owner->contents.result; ret.is_owned = false; return ret; } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - LDKInvoiceRequestWithDerivedPayerIdBuilder ret_var = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(owner); + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder ret_var = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(owner_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ +static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); return Bolt12SemanticError_clone(&*owner->contents.err); } -uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(owner_conv)); - return ret_conv; -} - -static inline struct LDKInvoiceRequestWithExplicitPayerIdBuilder CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKInvoiceRequestWithExplicitPayerIdBuilder ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - LDKInvoiceRequestWithExplicitPayerIdBuilder ret_var = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline enum LDKBolt12SemanticError CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt12SemanticError_clone(&*owner->contents.err); -} -uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(owner_conv)); +uint32_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(uint64_t owner) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* owner_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(owner_conv)); return ret_conv; } @@ -4022,7 +4252,7 @@ LDKUtxoResult get_utxo_LDKUtxoLookup_jcall(const void* this_arg, const uint8_t ( int8_tArray chain_hash_arr = init_int8_tArray(32, __LINE__); memcpy(chain_hash_arr->elems, *chain_hash, 32); int64_t short_channel_id_conv = short_channel_id; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 16, (uint32_t)chain_hash_arr, short_channel_id_conv, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 17, (uint32_t)chain_hash_arr, short_channel_id_conv, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKUtxoResult ret_conv = *(LDKUtxoResult*)(ret_ptr); @@ -5349,21 +5579,11 @@ void __attribute__((export_name("TS_CResult_CVec_UtxoZNoneZ_get_err"))) TS_CRes uint32_t __attribute__((export_name("TS_LDKPaymentContext_ty_from_ptr"))) TS_LDKPaymentContext_ty_from_ptr(uint64_t ptr) { LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); switch(obj->tag) { - case LDKPaymentContext_Unknown: return 0; - case LDKPaymentContext_Bolt12Offer: return 1; - case LDKPaymentContext_Bolt12Refund: return 2; + case LDKPaymentContext_Bolt12Offer: return 0; + case LDKPaymentContext_Bolt12Refund: return 1; default: abort(); } } -uint64_t __attribute__((export_name("TS_LDKPaymentContext_Unknown_get_unknown"))) TS_LDKPaymentContext_Unknown_get_unknown(uint64_t ptr) { - LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentContext_Unknown); - LDKUnknownPaymentContext unknown_var = obj->unknown; - uint64_t unknown_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(unknown_var); - unknown_ref = tag_ptr(unknown_var.inner, false); - return unknown_ref; -} uint64_t __attribute__((export_name("TS_LDKPaymentContext_Bolt12Offer_get_bolt12_offer"))) TS_LDKPaymentContext_Bolt12Offer_get_bolt12_offer(uint64_t ptr) { LDKPaymentContext *obj = (LDKPaymentContext*)untag_ptr(ptr); assert(obj->tag == LDKPaymentContext_Bolt12Offer); @@ -5430,6 +5650,61 @@ uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_u64u16ZZ_Some_get_som *some_conv = C2Tuple_u64u16Z_clone(some_conv); return tag_ptr(some_conv, true); } +uint32_t __attribute__((export_name("TS_LDKAPIError_ty_from_ptr"))) TS_LDKAPIError_ty_from_ptr(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKAPIError_APIMisuseError: return 0; + case LDKAPIError_FeeRateTooHigh: return 1; + case LDKAPIError_InvalidRoute: return 2; + case LDKAPIError_ChannelUnavailable: return 3; + case LDKAPIError_MonitorUpdateInProgress: return 4; + case LDKAPIError_IncompatibleShutdownScript: return 5; + default: abort(); + } +} +jstring __attribute__((export_name("TS_LDKAPIError_APIMisuseError_get_err"))) TS_LDKAPIError_APIMisuseError_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_APIMisuseError); + LDKStr err_str = obj->api_misuse_error.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_err"))) TS_LDKAPIError_FeeRateTooHigh_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_FeeRateTooHigh); + LDKStr err_str = obj->fee_rate_too_high.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +int32_t __attribute__((export_name("TS_LDKAPIError_FeeRateTooHigh_get_feerate"))) TS_LDKAPIError_FeeRateTooHigh_get_feerate(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_FeeRateTooHigh); + int32_t feerate_conv = obj->fee_rate_too_high.feerate; + return feerate_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_InvalidRoute_get_err"))) TS_LDKAPIError_InvalidRoute_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_InvalidRoute); + LDKStr err_str = obj->invalid_route.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +jstring __attribute__((export_name("TS_LDKAPIError_ChannelUnavailable_get_err"))) TS_LDKAPIError_ChannelUnavailable_get_err(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_ChannelUnavailable); + LDKStr err_str = obj->channel_unavailable.err; + jstring err_conv = str_ref_to_ts(err_str.chars, err_str.len); + return err_conv; +} +uint64_t __attribute__((export_name("TS_LDKAPIError_IncompatibleShutdownScript_get_script"))) TS_LDKAPIError_IncompatibleShutdownScript_get_script(uint64_t ptr) { + LDKAPIError *obj = (LDKAPIError*)untag_ptr(ptr); + assert(obj->tag == LDKAPIError_IncompatibleShutdownScript); + LDKShutdownScript script_var = obj->incompatible_shutdown_script.script; + uint64_t script_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(script_var); + script_ref = tag_ptr(script_var.inner, false); + return script_ref; +} static inline struct LDKChannelId CResult_ChannelIdAPIErrorZ_get_ok(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner){ LDKChannelId ret = *owner->contents.result; ret.is_owned = false; @@ -5527,102 +5802,23 @@ static inline LDKCVec_RecentPaymentDetailsZ CVec_RecentPaymentDetailsZ_clone(con } return ret; } -uint32_t __attribute__((export_name("TS_LDKPaymentSendFailure_ty_from_ptr"))) TS_LDKPaymentSendFailure_ty_from_ptr(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - switch(obj->tag) { - case LDKPaymentSendFailure_ParameterError: return 0; - case LDKPaymentSendFailure_PathParameterError: return 1; - case LDKPaymentSendFailure_AllFailedResendSafe: return 2; - case LDKPaymentSendFailure_DuplicatePayment: return 3; - case LDKPaymentSendFailure_PartialFailure: return 4; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKPaymentSendFailure_ParameterError_get_parameter_error"))) TS_LDKPaymentSendFailure_ParameterError_get_parameter_error(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_ParameterError); - uint64_t parameter_error_ref = tag_ptr(&obj->parameter_error, false); - return parameter_error_ref; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PathParameterError_get_path_parameter_error"))) TS_LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PathParameterError); - LDKCVec_CResult_NoneAPIErrorZZ path_parameter_error_var = obj->path_parameter_error; - uint64_tArray path_parameter_error_arr = NULL; - path_parameter_error_arr = init_uint64_tArray(path_parameter_error_var.datalen, __LINE__); - uint64_t *path_parameter_error_arr_ptr = (uint64_t*)(((uint8_t*)path_parameter_error_arr) + 8); - for (size_t w = 0; w < path_parameter_error_var.datalen; w++) { - LDKCResult_NoneAPIErrorZ* path_parameter_error_conv_22_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *path_parameter_error_conv_22_conv = path_parameter_error_var.data[w]; - *path_parameter_error_conv_22_conv = CResult_NoneAPIErrorZ_clone(path_parameter_error_conv_22_conv); - path_parameter_error_arr_ptr[w] = tag_ptr(path_parameter_error_conv_22_conv, true); - } - - return path_parameter_error_arr; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe"))) TS_LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_AllFailedResendSafe); - LDKCVec_APIErrorZ all_failed_resend_safe_var = obj->all_failed_resend_safe; - uint64_tArray all_failed_resend_safe_arr = NULL; - all_failed_resend_safe_arr = init_uint64_tArray(all_failed_resend_safe_var.datalen, __LINE__); - uint64_t *all_failed_resend_safe_arr_ptr = (uint64_t*)(((uint8_t*)all_failed_resend_safe_arr) + 8); - for (size_t k = 0; k < all_failed_resend_safe_var.datalen; k++) { - uint64_t all_failed_resend_safe_conv_10_ref = tag_ptr(&all_failed_resend_safe_var.data[k], false); - all_failed_resend_safe_arr_ptr[k] = all_failed_resend_safe_conv_10_ref; - } - - return all_failed_resend_safe_arr; -} -uint64_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_results"))) TS_LDKPaymentSendFailure_PartialFailure_get_results(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - LDKCVec_CResult_NoneAPIErrorZZ results_var = obj->partial_failure.results; - uint64_tArray results_arr = NULL; - results_arr = init_uint64_tArray(results_var.datalen, __LINE__); - uint64_t *results_arr_ptr = (uint64_t*)(((uint8_t*)results_arr) + 8); - for (size_t w = 0; w < results_var.datalen; w++) { - LDKCResult_NoneAPIErrorZ* results_conv_22_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *results_conv_22_conv = results_var.data[w]; - *results_conv_22_conv = CResult_NoneAPIErrorZ_clone(results_conv_22_conv); - results_arr_ptr[w] = tag_ptr(results_conv_22_conv, true); - } - - return results_arr; -} -uint64_t __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry"))) TS_LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - LDKRouteParameters failed_paths_retry_var = obj->partial_failure.failed_paths_retry; - uint64_t failed_paths_retry_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(failed_paths_retry_var); - failed_paths_retry_ref = tag_ptr(failed_paths_retry_var.inner, false); - return failed_paths_retry_ref; -} -int8_tArray __attribute__((export_name("TS_LDKPaymentSendFailure_PartialFailure_get_payment_id"))) TS_LDKPaymentSendFailure_PartialFailure_get_payment_id(uint64_t ptr) { - LDKPaymentSendFailure *obj = (LDKPaymentSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKPaymentSendFailure_PartialFailure); - int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_id_arr->elems, obj->partial_failure.payment_id.data, 32); - return payment_id_arr; -} -static inline void CResult_NonePaymentSendFailureZ_get_ok(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner){ +static inline void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return *owner->contents.result; } -void __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_get_ok"))) TS_CResult_NonePaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_NonePaymentSendFailureZ* owner_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(owner); - CResult_NonePaymentSendFailureZ_get_ok(owner_conv); +void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_ok"))) TS_CResult_NoneAPIErrorZ_get_ok(uint64_t owner) { + LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); + CResult_NoneAPIErrorZ_get_ok(owner_conv); } -static inline struct LDKPaymentSendFailure CResult_NonePaymentSendFailureZ_get_err(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return APIError_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_get_err"))) TS_CResult_NonePaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_NonePaymentSendFailureZ* owner_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_NonePaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_get_err"))) TS_CResult_NoneAPIErrorZ_get_err(uint64_t owner) { + LDKCResult_NoneAPIErrorZ* owner_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(owner); + LDKAPIError *ret_copy = MALLOC(sizeof(LDKAPIError), "LDKAPIError"); + *ret_copy = CResult_NoneAPIErrorZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5646,25 +5842,53 @@ uint32_t __attribute__((export_name("TS_CResult_NoneRetryableSendFailureZ_get_e return ret_conv; } -static inline struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner){ +uint32_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_ty_from_ptr"))) TS_LDKCOption_OffersContextZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_OffersContextZ_Some: return 0; + case LDKCOption_OffersContextZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_Some_get_some"))) TS_LDKCOption_OffersContextZ_Some_get_some(uint64_t ptr) { + LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_OffersContextZ_Some); + uint64_t some_ref = tag_ptr(&obj->some, false); + return some_ref; +} +uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_ty_from_ptr"))) TS_LDKBolt12PaymentError_ty_from_ptr(uint64_t ptr) { + LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKBolt12PaymentError_UnexpectedInvoice: return 0; + case LDKBolt12PaymentError_DuplicateInvoice: return 1; + case LDKBolt12PaymentError_UnknownRequiredFeatures: return 2; + case LDKBolt12PaymentError_SendingFailed: return 3; + default: abort(); + } +} +uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed"))) TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(uint64_t ptr) { + LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); + assert(obj->tag == LDKBolt12PaymentError_SendingFailed); + uint32_t sending_failed_conv = LDKRetryableSendFailure_to_js(obj->sending_failed); + return sending_failed_conv; +} +static inline void CResult_NoneBolt12PaymentErrorZ_get_ok(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); - return ThirtyTwoBytes_clone(&*owner->contents.result); + return *owner->contents.result; } -int8_tArray __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* owner_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(owner); - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(owner_conv).data, 32); - return ret_arr; +void __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_get_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_get_ok(uint64_t owner) { + LDKCResult_NoneBolt12PaymentErrorZ* owner_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(owner); + CResult_NoneBolt12PaymentErrorZ_get_ok(owner_conv); } -static inline struct LDKPaymentSendFailure CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKBolt12PaymentError CResult_NoneBolt12PaymentErrorZ_get_err(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return Bolt12PaymentError_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* owner_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_get_err"))) TS_CResult_NoneBolt12PaymentErrorZ_get_err(uint64_t owner) { + LDKCResult_NoneBolt12PaymentErrorZ* owner_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(owner); + LDKBolt12PaymentError *ret_copy = MALLOC(sizeof(LDKBolt12PaymentError), "LDKBolt12PaymentError"); + *ret_copy = CResult_NoneBolt12PaymentErrorZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5710,25 +5934,40 @@ int8_tArray __attribute__((export_name("TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytes return ret_arr; } -static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner){ +uint32_t __attribute__((export_name("TS_LDKProbeSendFailure_ty_from_ptr"))) TS_LDKProbeSendFailure_ty_from_ptr(uint64_t ptr) { + LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); + switch(obj->tag) { + case LDKProbeSendFailure_RouteNotFound: return 0; + case LDKProbeSendFailure_ParameterError: return 1; + case LDKProbeSendFailure_DuplicateProbe: return 2; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKProbeSendFailure_ParameterError_get_parameter_error"))) TS_LDKProbeSendFailure_ParameterError_get_parameter_error(uint64_t ptr) { + LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); + assert(obj->tag == LDKProbeSendFailure_ParameterError); + uint64_t parameter_error_ref = tag_ptr(&obj->parameter_error, false); + return parameter_error_ref; +} +static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone(&*owner->contents.result); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(uint64_t owner) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(owner); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(uint64_t owner) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(owner); LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ), "LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(owner_conv); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(owner_conv); return tag_ptr(ret_conv, true); } -static inline struct LDKPaymentSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner){ +static inline struct LDKProbeSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return PaymentSendFailure_clone(&*owner->contents.err); + return ProbeSendFailure_clone(&*owner->contents.err); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(uint64_t owner) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(owner); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(uint64_t owner) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* owner_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(owner); + LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); + *ret_copy = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(owner_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -5740,20 +5979,6 @@ static inline LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ CVec_C2Tuple_Thirty } return ret; } -uint32_t __attribute__((export_name("TS_LDKProbeSendFailure_ty_from_ptr"))) TS_LDKProbeSendFailure_ty_from_ptr(uint64_t ptr) { - LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); - switch(obj->tag) { - case LDKProbeSendFailure_RouteNotFound: return 0; - case LDKProbeSendFailure_SendingFailed: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKProbeSendFailure_SendingFailed_get_sending_failed"))) TS_LDKProbeSendFailure_SendingFailed_get_sending_failed(uint64_t ptr) { - LDKProbeSendFailure *obj = (LDKProbeSendFailure*)untag_ptr(ptr); - assert(obj->tag == LDKProbeSendFailure_SendingFailed); - uint64_t sending_failed_ref = tag_ptr(&obj->sending_failed, false); - return sending_failed_ref; -} static inline struct LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ CResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ_get_ok(LDKCResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ_clone(&*owner->contents.result); @@ -5824,6 +6049,86 @@ static inline LDKCVec_ChannelIdZ CVec_ChannelIdZ_clone(const LDKCVec_ChannelIdZ } return ret; } +static inline struct LDKPublicKey C2Tuple_PublicKeyChannelIdZ_get_a(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner){ + return owner->a; +} +int8_tArray __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_get_a"))) TS_C2Tuple_PublicKeyChannelIdZ_get_a(uint64_t owner) { + LDKC2Tuple_PublicKeyChannelIdZ* owner_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(owner); + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, C2Tuple_PublicKeyChannelIdZ_get_a(owner_conv).compressed_form, 33); + return ret_arr; +} + +static inline struct LDKChannelId C2Tuple_PublicKeyChannelIdZ_get_b(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner){ + LDKChannelId ret = owner->b; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_get_b"))) TS_C2Tuple_PublicKeyChannelIdZ_get_b(uint64_t owner) { + LDKC2Tuple_PublicKeyChannelIdZ* owner_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(owner); + LDKChannelId ret_var = C2Tuple_PublicKeyChannelIdZ_get_b(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint32_t __attribute__((export_name("TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr"))) TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr(uint64_t ptr) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *obj = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(ptr); + switch(obj->tag) { + case LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some: return 0; + case LDKCOption_C2Tuple_PublicKeyChannelIdZZ_None: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some"))) TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some(uint64_t ptr) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *obj = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(ptr); + assert(obj->tag == LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some); + LDKC2Tuple_PublicKeyChannelIdZ* some_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *some_conv = obj->some; + *some_conv = C2Tuple_PublicKeyChannelIdZ_clone(some_conv); + return tag_ptr(some_conv, true); +} +uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_ty_from_ptr"))) TS_LDKSignOrCreationError_ty_from_ptr(uint64_t ptr) { + LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); + switch(obj->tag) { + case LDKSignOrCreationError_SignError: return 0; + case LDKSignOrCreationError_CreationError: return 1; + default: abort(); + } +} +uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_CreationError_get_creation_error"))) TS_LDKSignOrCreationError_CreationError_get_creation_error(uint64_t ptr) { + LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); + assert(obj->tag == LDKSignOrCreationError_CreationError); + uint32_t creation_error_conv = LDKCreationError_to_js(obj->creation_error); + return creation_error_conv; +} +static inline struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ + LDKBolt11Invoice ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); + LDKBolt11Invoice ret_var = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return SignOrCreationError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); + LDKSignOrCreationError *ret_copy = MALLOC(sizeof(LDKSignOrCreationError), "LDKSignOrCreationError"); + *ret_copy = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKOfferWithDerivedMetadataBuilder CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner){ LDKOfferWithDerivedMetadataBuilder ret = *owner->contents.result; ret.is_owned = false; @@ -5863,6 +6168,13 @@ jstring __attribute__((export_name("TS_LDKCOption_StrZ_Some_get_some"))) TS_LDKC jstring some_conv = str_ref_to_ts(some_str.chars, some_str.len); return some_conv; } +static inline LDKCVec_DestinationZ CVec_DestinationZ_clone(const LDKCVec_DestinationZ *orig) { + LDKCVec_DestinationZ ret = { .data = MALLOC(sizeof(LDKDestination) * orig->datalen, "LDKCVec_DestinationZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = Destination_clone(&orig->data[i]); + } + return ret; +} static inline struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone(&*owner->contents.result); @@ -5906,68 +6218,6 @@ uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesAPIErrorZ_get_err return ret_ref; } -uint32_t __attribute__((export_name("TS_LDKOffersContext_ty_from_ptr"))) TS_LDKOffersContext_ty_from_ptr(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - switch(obj->tag) { - case LDKOffersContext_InvoiceRequest: return 0; - case LDKOffersContext_OutboundPayment: return 1; - case LDKOffersContext_InboundPayment: return 2; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKOffersContext_InvoiceRequest_get_nonce"))) TS_LDKOffersContext_InvoiceRequest_get_nonce(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_InvoiceRequest); - LDKNonce nonce_var = obj->invoice_request.nonce; - uint64_t nonce_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); - nonce_ref = tag_ptr(nonce_var.inner, false); - return nonce_ref; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_payment_id"))) TS_LDKOffersContext_OutboundPayment_get_payment_id(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - int8_tArray payment_id_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_id_arr->elems, obj->outbound_payment.payment_id.data, 32); - return payment_id_arr; -} -uint64_t __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_nonce"))) TS_LDKOffersContext_OutboundPayment_get_nonce(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - LDKNonce nonce_var = obj->outbound_payment.nonce; - uint64_t nonce_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); - nonce_ref = tag_ptr(nonce_var.inner, false); - return nonce_ref; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_OutboundPayment_get_hmac"))) TS_LDKOffersContext_OutboundPayment_get_hmac(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_OutboundPayment); - int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); - memcpy(hmac_arr->elems, obj->outbound_payment.hmac.data, 32); - return hmac_arr; -} -int8_tArray __attribute__((export_name("TS_LDKOffersContext_InboundPayment_get_payment_hash"))) TS_LDKOffersContext_InboundPayment_get_payment_hash(uint64_t ptr) { - LDKOffersContext *obj = (LDKOffersContext*)untag_ptr(ptr); - assert(obj->tag == LDKOffersContext_InboundPayment); - int8_tArray payment_hash_arr = init_int8_tArray(32, __LINE__); - memcpy(payment_hash_arr->elems, obj->inbound_payment.payment_hash.data, 32); - return payment_hash_arr; -} -uint32_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_ty_from_ptr"))) TS_LDKCOption_OffersContextZ_ty_from_ptr(uint64_t ptr) { - LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); - switch(obj->tag) { - case LDKCOption_OffersContextZ_Some: return 0; - case LDKCOption_OffersContextZ_None: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKCOption_OffersContextZ_Some_get_some"))) TS_LDKCOption_OffersContextZ_Some_get_some(uint64_t ptr) { - LDKCOption_OffersContextZ *obj = (LDKCOption_OffersContextZ*)untag_ptr(ptr); - assert(obj->tag == LDKCOption_OffersContextZ_Some); - uint64_t some_ref = tag_ptr(&obj->some, false); - return some_ref; -} uint32_t __attribute__((export_name("TS_LDKOffersMessage_ty_from_ptr"))) TS_LDKOffersMessage_ty_from_ptr(uint64_t ptr) { LDKOffersMessage *obj = (LDKOffersMessage*)untag_ptr(ptr); switch(obj->tag) { @@ -6045,104 +6295,6 @@ uint64_t __attribute__((export_name("TS_LDKCOption_C2Tuple_OffersMessageResponse *some_conv = C2Tuple_OffersMessageResponseInstructionZ_clone(some_conv); return tag_ptr(some_conv, true); } -uint32_t __attribute__((export_name("TS_LDKDestination_ty_from_ptr"))) TS_LDKDestination_ty_from_ptr(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - switch(obj->tag) { - case LDKDestination_Node: return 0; - case LDKDestination_BlindedPath: return 1; - default: abort(); - } -} -int8_tArray __attribute__((export_name("TS_LDKDestination_Node_get_node"))) TS_LDKDestination_Node_get_node(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - assert(obj->tag == LDKDestination_Node); - int8_tArray node_arr = init_int8_tArray(33, __LINE__); - memcpy(node_arr->elems, obj->node.compressed_form, 33); - return node_arr; -} -uint64_t __attribute__((export_name("TS_LDKDestination_BlindedPath_get_blinded_path"))) TS_LDKDestination_BlindedPath_get_blinded_path(uint64_t ptr) { - LDKDestination *obj = (LDKDestination*)untag_ptr(ptr); - assert(obj->tag == LDKDestination_BlindedPath); - LDKBlindedMessagePath blinded_path_var = obj->blinded_path; - uint64_t blinded_path_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(blinded_path_var); - blinded_path_ref = tag_ptr(blinded_path_var.inner, false); - return blinded_path_ref; -} -uint32_t __attribute__((export_name("TS_LDKMessageContext_ty_from_ptr"))) TS_LDKMessageContext_ty_from_ptr(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - switch(obj->tag) { - case LDKMessageContext_Offers: return 0; - case LDKMessageContext_Custom: return 1; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKMessageContext_Offers_get_offers"))) TS_LDKMessageContext_Offers_get_offers(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - assert(obj->tag == LDKMessageContext_Offers); - uint64_t offers_ref = tag_ptr(&obj->offers, false); - return offers_ref; -} -int8_tArray __attribute__((export_name("TS_LDKMessageContext_Custom_get_custom"))) TS_LDKMessageContext_Custom_get_custom(uint64_t ptr) { - LDKMessageContext *obj = (LDKMessageContext*)untag_ptr(ptr); - assert(obj->tag == LDKMessageContext_Custom); - LDKCVec_u8Z custom_var = obj->custom; - int8_tArray custom_arr = init_int8_tArray(custom_var.datalen, __LINE__); - memcpy(custom_arr->elems, custom_var.data, custom_var.datalen); - return custom_arr; -} -uint32_t __attribute__((export_name("TS_LDKMessageSendInstructions_ty_from_ptr"))) TS_LDKMessageSendInstructions_ty_from_ptr(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - switch(obj->tag) { - case LDKMessageSendInstructions_WithSpecifiedReplyPath: return 0; - case LDKMessageSendInstructions_WithReplyPath: return 1; - case LDKMessageSendInstructions_WithoutReplyPath: return 2; - case LDKMessageSendInstructions_ForReply: return 3; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); - uint64_t destination_ref = tag_ptr(&obj->with_specified_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path"))) TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithSpecifiedReplyPath); - LDKBlindedMessagePath reply_path_var = obj->with_specified_reply_path.reply_path; - uint64_t reply_path_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(reply_path_var); - reply_path_ref = tag_ptr(reply_path_var.inner, false); - return reply_path_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); - uint64_t destination_ref = tag_ptr(&obj->with_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithReplyPath_get_context"))) TS_LDKMessageSendInstructions_WithReplyPath_get_context(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithReplyPath); - uint64_t context_ref = tag_ptr(&obj->with_reply_path.context, false); - return context_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination"))) TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_WithoutReplyPath); - uint64_t destination_ref = tag_ptr(&obj->without_reply_path.destination, false); - return destination_ref; -} -uint64_t __attribute__((export_name("TS_LDKMessageSendInstructions_ForReply_get_instructions"))) TS_LDKMessageSendInstructions_ForReply_get_instructions(uint64_t ptr) { - LDKMessageSendInstructions *obj = (LDKMessageSendInstructions*)untag_ptr(ptr); - assert(obj->tag == LDKMessageSendInstructions_ForReply); - LDKResponseInstruction instructions_var = obj->for_reply.instructions; - uint64_t instructions_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(instructions_var); - instructions_ref = tag_ptr(instructions_var.inner, false); - return instructions_ref; -} static inline struct LDKOffersMessage C2Tuple_OffersMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_OffersMessageMessageSendInstructionsZ *NONNULL_PTR owner){ return OffersMessage_clone(&owner->a); } @@ -6462,6 +6614,12 @@ jboolean __attribute__((export_name("TS_LDKPendingHTLCRouting_ReceiveKeysend_get jboolean requires_blinded_error_conv = obj->receive_keysend.requires_blinded_error; return requires_blinded_error_conv; } +jboolean __attribute__((export_name("TS_LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret"))) TS_LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret(uint64_t ptr) { + LDKPendingHTLCRouting *obj = (LDKPendingHTLCRouting*)untag_ptr(ptr); + assert(obj->tag == LDKPendingHTLCRouting_ReceiveKeysend); + jboolean has_recipient_created_payment_secret_conv = obj->receive_keysend.has_recipient_created_payment_secret; + return has_recipient_created_payment_secret_conv; +} static inline struct LDKPendingHTLCRouting CResult_PendingHTLCRoutingDecodeErrorZ_get_ok(LDKCResult_PendingHTLCRoutingDecodeErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return PendingHTLCRouting_clone(&*owner->contents.result); @@ -6561,7 +6719,7 @@ LDKCResult_ChannelMonitorUpdateStatusNoneZ watch_channel_LDKWatch_jcall(const vo uint64_t monitor_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 17, funding_txo_ref, monitor_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 18, funding_txo_ref, monitor_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_ChannelMonitorUpdateStatusNoneZ ret_conv = *(LDKCResult_ChannelMonitorUpdateStatusNoneZ*)(ret_ptr); @@ -6579,13 +6737,13 @@ LDKChannelMonitorUpdateStatus update_channel_LDKWatch_jcall(const void* this_arg update_var = ChannelMonitorUpdate_clone(&update_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(update_var); update_ref = tag_ptr(update_var.inner, update_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 18, funding_txo_ref, update_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 19, funding_txo_ref, update_ref, 0, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ release_pending_monitor_events_LDKWatch_jcall(const void* this_arg) { LDKWatch_JCalls *j_calls = (LDKWatch_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 19, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 20, 0, 0, 0, 0, 0, 0); LDKCVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -6707,7 +6865,7 @@ void broadcast_transactions_LDKBroadcasterInterface_jcall(const void* this_arg, } FREE(txs_var.data); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 20, (uint32_t)txs_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 21, (uint32_t)txs_arr, 0, 0, 0, 0, 0); } static void LDKBroadcasterInterface_JCalls_cloned(LDKBroadcasterInterface* new_obj) { LDKBroadcasterInterface_JCalls *j_calls = (LDKBroadcasterInterface_JCalls*) new_obj->this_arg; @@ -6766,7 +6924,7 @@ static void LDKEntropySource_JCalls_free(void* this_arg) { } LDKThirtyTwoBytes get_secure_random_bytes_LDKEntropySource_jcall(const void* this_arg) { LDKEntropySource_JCalls *j_calls = (LDKEntropySource_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 21, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 22, 0, 0, 0, 0, 0, 0); LDKThirtyTwoBytes ret_ref; CHECK(ret->arr_len == 32); memcpy(ret_ref.data, ret->elems, 32); FREE(ret); @@ -6848,18 +7006,19 @@ static void LDKNodeSigner_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKThirtyTwoBytes get_inbound_payment_key_material_LDKNodeSigner_jcall(const void* this_arg) { +LDKExpandedKey get_inbound_payment_key_LDKNodeSigner_jcall(const void* this_arg) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 22, 0, 0, 0, 0, 0, 0); - LDKThirtyTwoBytes ret_ref; - CHECK(ret->arr_len == 32); - memcpy(ret_ref.data, ret->elems, 32); FREE(ret); - return ret_ref; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 23, 0, 0, 0, 0, 0, 0); + LDKExpandedKey ret_conv; + ret_conv.inner = untag_ptr(ret); + ret_conv.is_owned = ptr_is_owned(ret); + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv); + return ret_conv; } LDKCResult_PublicKeyNoneZ get_node_id_LDKNodeSigner_jcall(const void* this_arg, LDKRecipient recipient) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; uint32_t recipient_conv = LDKRecipient_to_js(recipient); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 23, recipient_conv, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 24, recipient_conv, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_PublicKeyNoneZ ret_conv = *(LDKCResult_PublicKeyNoneZ*)(ret_ptr); @@ -6874,7 +7033,7 @@ LDKCResult_ThirtyTwoBytesNoneZ ecdh_LDKNodeSigner_jcall(const void* this_arg, LD LDKCOption_BigEndianScalarZ *tweak_copy = MALLOC(sizeof(LDKCOption_BigEndianScalarZ), "LDKCOption_BigEndianScalarZ"); *tweak_copy = tweak; uint64_t tweak_ref = tag_ptr(tweak_copy, true); - uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 24, recipient_conv, (uint32_t)other_key_arr, tweak_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 25, recipient_conv, (uint32_t)other_key_arr, tweak_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_ThirtyTwoBytesNoneZ ret_conv = *(LDKCResult_ThirtyTwoBytesNoneZ*)(ret_ptr); @@ -6889,27 +7048,13 @@ LDKCResult_RecoverableSignatureNoneZ sign_invoice_LDKNodeSigner_jcall(const void CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_var); invoice_ref = tag_ptr(invoice_var.inner, invoice_var.is_owned); uint32_t recipient_conv = LDKRecipient_to_js(recipient); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 25, invoice_ref, recipient_conv, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 26, invoice_ref, recipient_conv, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RecoverableSignatureNoneZ ret_conv = *(LDKCResult_RecoverableSignatureNoneZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_SchnorrSignatureNoneZ sign_bolt12_invoice_request_LDKNodeSigner_jcall(const void* this_arg, const LDKUnsignedInvoiceRequest * invoice_request) { - LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; - LDKUnsignedInvoiceRequest invoice_request_var = *invoice_request; - uint64_t invoice_request_ref = 0; - invoice_request_var = UnsignedInvoiceRequest_clone(&invoice_request_var); - CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_request_var); - invoice_request_ref = tag_ptr(invoice_request_var.inner, invoice_request_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 26, invoice_request_ref, 0, 0, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} LDKCResult_SchnorrSignatureNoneZ sign_bolt12_invoice_LDKNodeSigner_jcall(const void* this_arg, const LDKUnsignedBolt12Invoice * invoice) { LDKNodeSigner_JCalls *j_calls = (LDKNodeSigner_JCalls*) this_arg; LDKUnsignedBolt12Invoice invoice_var = *invoice; @@ -6947,11 +7092,10 @@ static inline LDKNodeSigner LDKNodeSigner_init (JSValue o) { LDKNodeSigner ret = { .this_arg = (void*) calls, - .get_inbound_payment_key_material = get_inbound_payment_key_material_LDKNodeSigner_jcall, + .get_inbound_payment_key = get_inbound_payment_key_LDKNodeSigner_jcall, .get_node_id = get_node_id_LDKNodeSigner_jcall, .ecdh = ecdh_LDKNodeSigner_jcall, .sign_invoice = sign_invoice_LDKNodeSigner_jcall, - .sign_bolt12_invoice_request = sign_bolt12_invoice_request_LDKNodeSigner_jcall, .sign_bolt12_invoice = sign_bolt12_invoice_LDKNodeSigner_jcall, .sign_gossip_message = sign_gossip_message_LDKNodeSigner_jcall, .free = LDKNodeSigner_JCalls_free, @@ -6963,13 +7107,15 @@ uint64_t __attribute__((export_name("TS_LDKNodeSigner_new"))) TS_LDKNodeSigner_ *res_ptr = LDKNodeSigner_init(o); return tag_ptr(res_ptr, true); } -int8_tArray __attribute__((export_name("TS_NodeSigner_get_inbound_payment_key_material"))) TS_NodeSigner_get_inbound_payment_key_material(uint64_t this_arg) { +uint64_t __attribute__((export_name("TS_NodeSigner_get_inbound_payment_key"))) TS_NodeSigner_get_inbound_payment_key(uint64_t this_arg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKNodeSigner* this_arg_conv = (LDKNodeSigner*)this_arg_ptr; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, (this_arg_conv->get_inbound_payment_key_material)(this_arg_conv->this_arg).data, 32); - return ret_arr; + LDKExpandedKey ret_var = (this_arg_conv->get_inbound_payment_key)(this_arg_conv->this_arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; } uint64_t __attribute__((export_name("TS_NodeSigner_get_node_id"))) TS_NodeSigner_get_node_id(uint64_t this_arg, uint32_t recipient) { @@ -7014,20 +7160,6 @@ uint64_t __attribute__((export_name("TS_NodeSigner_sign_invoice"))) TS_NodeSign return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_NodeSigner_sign_bolt12_invoice_request"))) TS_NodeSigner_sign_bolt12_invoice_request(uint64_t this_arg, uint64_t invoice_request) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKNodeSigner* this_arg_conv = (LDKNodeSigner*)this_arg_ptr; - LDKUnsignedInvoiceRequest invoice_request_conv; - invoice_request_conv.inner = untag_ptr(invoice_request); - invoice_request_conv.is_owned = ptr_is_owned(invoice_request); - CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_request_conv); - invoice_request_conv.is_owned = false; - LDKCResult_SchnorrSignatureNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_SchnorrSignatureNoneZ), "LDKCResult_SchnorrSignatureNoneZ"); - *ret_conv = (this_arg_conv->sign_bolt12_invoice_request)(this_arg_conv->this_arg, &invoice_request_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_NodeSigner_sign_bolt12_invoice"))) TS_NodeSigner_sign_bolt12_invoice(uint64_t this_arg, uint64_t invoice) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } @@ -7249,215 +7381,9 @@ int32_t __attribute__((export_name("TS_FeeEstimator_get_est_sat_per_1000_weight return ret_conv; } -typedef struct LDKMessageRouter_JCalls { - atomic_size_t refcnt; - uint32_t instance_ptr; -} LDKMessageRouter_JCalls; -static void LDKMessageRouter_JCalls_free(void* this_arg) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { - FREE(j_calls); - } -} -LDKCResult_OnionMessagePathNoneZ find_path_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey sender, LDKCVec_PublicKeyZ peers, LDKDestination destination) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray sender_arr = init_int8_tArray(33, __LINE__); - memcpy(sender_arr->elems, sender.compressed_form, 33); - LDKCVec_PublicKeyZ peers_var = peers; - ptrArray peers_arr = NULL; - peers_arr = init_ptrArray(peers_var.datalen, __LINE__); - int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); - for (size_t m = 0; m < peers_var.datalen; m++) { - int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); - memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); - peers_arr_ptr[m] = peers_conv_12_arr; - } - - FREE(peers_var.data); - LDKDestination *destination_copy = MALLOC(sizeof(LDKDestination), "LDKDestination"); - *destination_copy = destination; - uint64_t destination_ref = tag_ptr(destination_copy, true); - uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 35, (uint32_t)sender_arr, (uint32_t)peers_arr, destination_ref, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_OnionMessagePathNoneZ ret_conv = *(LDKCResult_OnionMessagePathNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -LDKCResult_CVec_BlindedMessagePathZNoneZ create_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_PublicKeyZ peers) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); - memcpy(recipient_arr->elems, recipient.compressed_form, 33); - LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); - *context_copy = context; - uint64_t context_ref = tag_ptr(context_copy, true); - LDKCVec_PublicKeyZ peers_var = peers; - ptrArray peers_arr = NULL; - peers_arr = init_ptrArray(peers_var.datalen, __LINE__); - int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); - for (size_t m = 0; m < peers_var.datalen; m++) { - int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); - memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); - peers_arr_ptr[m] = peers_conv_12_arr; - } - - FREE(peers_var.data); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 36, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -LDKCResult_CVec_BlindedMessagePathZNoneZ create_compact_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_MessageForwardNodeZ peers) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; - int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); - memcpy(recipient_arr->elems, recipient.compressed_form, 33); - LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); - *context_copy = context; - uint64_t context_ref = tag_ptr(context_copy, true); - LDKCVec_MessageForwardNodeZ peers_var = peers; - uint64_tArray peers_arr = NULL; - peers_arr = init_uint64_tArray(peers_var.datalen, __LINE__); - uint64_t *peers_arr_ptr = (uint64_t*)(((uint8_t*)peers_arr) + 8); - for (size_t u = 0; u < peers_var.datalen; u++) { - LDKMessageForwardNode peers_conv_20_var = peers_var.data[u]; - uint64_t peers_conv_20_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_var); - peers_conv_20_ref = tag_ptr(peers_conv_20_var.inner, peers_conv_20_var.is_owned); - peers_arr_ptr[u] = peers_conv_20_ref; - } - - FREE(peers_var.data); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 37, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); - void* ret_ptr = untag_ptr(ret); - CHECK_ACCESS(ret_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); - FREE(untag_ptr(ret)); - return ret_conv; -} -static void LDKMessageRouter_JCalls_cloned(LDKMessageRouter* new_obj) { - LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) new_obj->this_arg; - atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); -} -static inline LDKMessageRouter LDKMessageRouter_init (JSValue o) { - LDKMessageRouter_JCalls *calls = MALLOC(sizeof(LDKMessageRouter_JCalls), "LDKMessageRouter_JCalls"); - atomic_init(&calls->refcnt, 1); - calls->instance_ptr = o; - - LDKMessageRouter ret = { - .this_arg = (void*) calls, - .find_path = find_path_LDKMessageRouter_jcall, - .create_blinded_paths = create_blinded_paths_LDKMessageRouter_jcall, - .create_compact_blinded_paths = create_compact_blinded_paths_LDKMessageRouter_jcall, - .free = LDKMessageRouter_JCalls_free, - }; - return ret; -} -uint64_t __attribute__((export_name("TS_LDKMessageRouter_new"))) TS_LDKMessageRouter_new(JSValue o) { - LDKMessageRouter *res_ptr = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); - *res_ptr = LDKMessageRouter_init(o); - return tag_ptr(res_ptr, true); -} -uint64_t __attribute__((export_name("TS_MessageRouter_find_path"))) TS_MessageRouter_find_path(uint64_t this_arg, int8_tArray sender, ptrArray peers, uint64_t destination) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey sender_ref; - CHECK(sender->arr_len == 33); - memcpy(sender_ref.compressed_form, sender->elems, 33); FREE(sender); - LDKCVec_PublicKeyZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - peers_constr.data = NULL; - int8_tArray* peers_vals = (void*) peers->elems; - for (size_t m = 0; m < peers_constr.datalen; m++) { - int8_tArray peers_conv_12 = peers_vals[m]; - LDKPublicKey peers_conv_12_ref; - CHECK(peers_conv_12->arr_len == 33); - memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); - peers_constr.data[m] = peers_conv_12_ref; - } - FREE(peers); - void* destination_ptr = untag_ptr(destination); - CHECK_ACCESS(destination_ptr); - LDKDestination destination_conv = *(LDKDestination*)(destination_ptr); - destination_conv = Destination_clone((LDKDestination*)untag_ptr(destination)); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = (this_arg_conv->find_path)(this_arg_conv->this_arg, sender_ref, peers_constr, destination_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_MessageRouter_create_blinded_paths"))) TS_MessageRouter_create_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, ptrArray peers) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey recipient_ref; - CHECK(recipient->arr_len == 33); - memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); - void* context_ptr = untag_ptr(context); - CHECK_ACCESS(context_ptr); - LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); - context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); - LDKCVec_PublicKeyZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - peers_constr.data = NULL; - int8_tArray* peers_vals = (void*) peers->elems; - for (size_t m = 0; m < peers_constr.datalen; m++) { - int8_tArray peers_conv_12 = peers_vals[m]; - LDKPublicKey peers_conv_12_ref; - CHECK(peers_conv_12->arr_len == 33); - memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); - peers_constr.data[m] = peers_conv_12_ref; - } - FREE(peers); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = (this_arg_conv->create_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_MessageRouter_create_compact_blinded_paths"))) TS_MessageRouter_create_compact_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, uint64_tArray peers) { - void* this_arg_ptr = untag_ptr(this_arg); - if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } - LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; - LDKPublicKey recipient_ref; - CHECK(recipient->arr_len == 33); - memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); - void* context_ptr = untag_ptr(context); - CHECK_ACCESS(context_ptr); - LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); - context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); - LDKCVec_MessageForwardNodeZ peers_constr; - peers_constr.datalen = peers->arr_len; - if (peers_constr.datalen > 0) - peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); - else - peers_constr.data = NULL; - uint64_t* peers_vals = peers->elems; - for (size_t u = 0; u < peers_constr.datalen; u++) { - uint64_t peers_conv_20 = peers_vals[u]; - LDKMessageForwardNode peers_conv_20_conv; - peers_conv_20_conv.inner = untag_ptr(peers_conv_20); - peers_conv_20_conv.is_owned = ptr_is_owned(peers_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_conv); - peers_conv_20_conv = MessageForwardNode_clone(&peers_conv_20_conv); - peers_constr.data[u] = peers_conv_20_conv; - } - FREE(peers); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = (this_arg_conv->create_compact_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); - return tag_ptr(ret_conv, true); -} - typedef struct LDKRouter_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; - LDKMessageRouter_JCalls* MessageRouter; } LDKRouter_JCalls; static void LDKRouter_JCalls_free(void* this_arg) { LDKRouter_JCalls *j_calls = (LDKRouter_JCalls*) this_arg; @@ -7493,7 +7419,7 @@ LDKCResult_RouteLightningErrorZ find_route_LDKRouter_jcall(const void* this_arg, uint64_t inflight_htlcs_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(inflight_htlcs_var); inflight_htlcs_ref = tag_ptr(inflight_htlcs_var.inner, inflight_htlcs_var.is_owned); - uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 38, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, 0, 0); + uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 35, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RouteLightningErrorZ ret_conv = *(LDKCResult_RouteLightningErrorZ*)(ret_ptr); @@ -7532,7 +7458,7 @@ LDKCResult_RouteLightningErrorZ find_route_with_id_LDKRouter_jcall(const void* t memcpy(_payment_hash_arr->elems, _payment_hash.data, 32); int8_tArray _payment_id_arr = init_int8_tArray(32, __LINE__); memcpy(_payment_id_arr->elems, _payment_id.data, 32); - uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 39, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, (uint32_t)_payment_hash_arr, (uint32_t)_payment_id_arr); + uint64_t ret = js_invoke_function_ububuu(j_calls->instance_ptr, 36, (uint32_t)payer_arr, route_params_ref, (uint32_t)first_hops_arr, inflight_htlcs_ref, (uint32_t)_payment_hash_arr, (uint32_t)_payment_id_arr); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_RouteLightningErrorZ ret_conv = *(LDKCResult_RouteLightningErrorZ*)(ret_ptr); @@ -7561,7 +7487,7 @@ LDKCResult_CVec_BlindedPaymentPathZNoneZ create_blinded_payment_paths_LDKRouter_ CHECK_INNER_FIELD_ACCESS_OR_NULL(tlvs_var); tlvs_ref = tag_ptr(tlvs_var.inner, tlvs_var.is_owned); int64_t amount_msats_conv = amount_msats; - uint64_t ret = js_invoke_function_uubbuu(j_calls->instance_ptr, 40, (uint32_t)recipient_arr, (uint32_t)first_hops_arr, tlvs_ref, amount_msats_conv, 0, 0); + uint64_t ret = js_invoke_function_uubbuu(j_calls->instance_ptr, 37, (uint32_t)recipient_arr, (uint32_t)first_hops_arr, tlvs_ref, amount_msats_conv, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_BlindedPaymentPathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedPaymentPathZNoneZ*)(ret_ptr); @@ -7571,9 +7497,8 @@ LDKCResult_CVec_BlindedPaymentPathZNoneZ create_blinded_payment_paths_LDKRouter_ static void LDKRouter_JCalls_cloned(LDKRouter* new_obj) { LDKRouter_JCalls *j_calls = (LDKRouter_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); - atomic_fetch_add_explicit(&j_calls->MessageRouter->refcnt, 1, memory_order_release); } -static inline LDKRouter LDKRouter_init (JSValue o, JSValue MessageRouter) { +static inline LDKRouter LDKRouter_init (JSValue o) { LDKRouter_JCalls *calls = MALLOC(sizeof(LDKRouter_JCalls), "LDKRouter_JCalls"); atomic_init(&calls->refcnt, 1); calls->instance_ptr = o; @@ -7584,14 +7509,12 @@ static inline LDKRouter LDKRouter_init (JSValue o, JSValue MessageRouter) { .find_route_with_id = find_route_with_id_LDKRouter_jcall, .create_blinded_payment_paths = create_blinded_payment_paths_LDKRouter_jcall, .free = LDKRouter_JCalls_free, - .MessageRouter = LDKMessageRouter_init(MessageRouter), }; - calls->MessageRouter = ret.MessageRouter.this_arg; return ret; } -uint64_t __attribute__((export_name("TS_LDKRouter_new"))) TS_LDKRouter_new(JSValue o, JSValue MessageRouter) { +uint64_t __attribute__((export_name("TS_LDKRouter_new"))) TS_LDKRouter_new(JSValue o) { LDKRouter *res_ptr = MALLOC(sizeof(LDKRouter), "LDKRouter"); - *res_ptr = LDKRouter_init(o, MessageRouter); + *res_ptr = LDKRouter_init(o); return tag_ptr(res_ptr, true); } uint64_t __attribute__((export_name("TS_Router_find_route"))) TS_Router_find_route(uint64_t this_arg, int8_tArray payer, uint64_t route_params, uint64_tArray first_hops, uint64_t inflight_htlcs) { @@ -7722,6 +7645,272 @@ uint64_t __attribute__((export_name("TS_Router_create_blinded_payment_paths"))) return tag_ptr(ret_conv, true); } +static inline struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ + LDKOnionMessagePath ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_ok"))) TS_CResult_OnionMessagePathNoneZ_get_ok(uint64_t owner) { + LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); + LDKOnionMessagePath ret_var = CResult_OnionMessagePathNoneZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_get_err"))) TS_CResult_OnionMessagePathNoneZ_get_err(uint64_t owner) { + LDKCResult_OnionMessagePathNoneZ* owner_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(owner); + CResult_OnionMessagePathNoneZ_get_err(owner_conv); +} + +static inline struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return CVec_BlindedMessagePathZ_clone(&*owner->contents.result); +} +uint64_tArray __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(uint64_t owner) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); + LDKCVec_BlindedMessagePathZ ret_var = CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedMessagePath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(uint64_t owner) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* owner_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(owner); + CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner_conv); +} + +static inline LDKCVec_MessageForwardNodeZ CVec_MessageForwardNodeZ_clone(const LDKCVec_MessageForwardNodeZ *orig) { + LDKCVec_MessageForwardNodeZ ret = { .data = MALLOC(sizeof(LDKMessageForwardNode) * orig->datalen, "LDKCVec_MessageForwardNodeZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = MessageForwardNode_clone(&orig->data[i]); + } + return ret; +} +typedef struct LDKMessageRouter_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKMessageRouter_JCalls; +static void LDKMessageRouter_JCalls_free(void* this_arg) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCResult_OnionMessagePathNoneZ find_path_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey sender, LDKCVec_PublicKeyZ peers, LDKDestination destination) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray sender_arr = init_int8_tArray(33, __LINE__); + memcpy(sender_arr->elems, sender.compressed_form, 33); + LDKCVec_PublicKeyZ peers_var = peers; + ptrArray peers_arr = NULL; + peers_arr = init_ptrArray(peers_var.datalen, __LINE__); + int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); + for (size_t m = 0; m < peers_var.datalen; m++) { + int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); + memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); + peers_arr_ptr[m] = peers_conv_12_arr; + } + + FREE(peers_var.data); + LDKDestination *destination_copy = MALLOC(sizeof(LDKDestination), "LDKDestination"); + *destination_copy = destination; + uint64_t destination_ref = tag_ptr(destination_copy, true); + uint64_t ret = js_invoke_function_uubuuu(j_calls->instance_ptr, 38, (uint32_t)sender_arr, (uint32_t)peers_arr, destination_ref, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_OnionMessagePathNoneZ ret_conv = *(LDKCResult_OnionMessagePathNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +LDKCResult_CVec_BlindedMessagePathZNoneZ create_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_PublicKeyZ peers) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); + memcpy(recipient_arr->elems, recipient.compressed_form, 33); + LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + LDKCVec_PublicKeyZ peers_var = peers; + ptrArray peers_arr = NULL; + peers_arr = init_ptrArray(peers_var.datalen, __LINE__); + int8_tArray *peers_arr_ptr = (int8_tArray*)(((uint8_t*)peers_arr) + 8); + for (size_t m = 0; m < peers_var.datalen; m++) { + int8_tArray peers_conv_12_arr = init_int8_tArray(33, __LINE__); + memcpy(peers_conv_12_arr->elems, peers_var.data[m].compressed_form, 33); + peers_arr_ptr[m] = peers_conv_12_arr; + } + + FREE(peers_var.data); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 39, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +LDKCResult_CVec_BlindedMessagePathZNoneZ create_compact_blinded_paths_LDKMessageRouter_jcall(const void* this_arg, LDKPublicKey recipient, LDKMessageContext context, LDKCVec_MessageForwardNodeZ peers) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) this_arg; + int8_tArray recipient_arr = init_int8_tArray(33, __LINE__); + memcpy(recipient_arr->elems, recipient.compressed_form, 33); + LDKMessageContext *context_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + LDKCVec_MessageForwardNodeZ peers_var = peers; + uint64_tArray peers_arr = NULL; + peers_arr = init_uint64_tArray(peers_var.datalen, __LINE__); + uint64_t *peers_arr_ptr = (uint64_t*)(((uint8_t*)peers_arr) + 8); + for (size_t u = 0; u < peers_var.datalen; u++) { + LDKMessageForwardNode peers_conv_20_var = peers_var.data[u]; + uint64_t peers_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_var); + peers_conv_20_ref = tag_ptr(peers_conv_20_var.inner, peers_conv_20_var.is_owned); + peers_arr_ptr[u] = peers_conv_20_ref; + } + + FREE(peers_var.data); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 40, (uint32_t)recipient_arr, context_ref, (uint32_t)peers_arr, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ ret_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKMessageRouter_JCalls_cloned(LDKMessageRouter* new_obj) { + LDKMessageRouter_JCalls *j_calls = (LDKMessageRouter_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKMessageRouter LDKMessageRouter_init (JSValue o) { + LDKMessageRouter_JCalls *calls = MALLOC(sizeof(LDKMessageRouter_JCalls), "LDKMessageRouter_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKMessageRouter ret = { + .this_arg = (void*) calls, + .find_path = find_path_LDKMessageRouter_jcall, + .create_blinded_paths = create_blinded_paths_LDKMessageRouter_jcall, + .create_compact_blinded_paths = create_compact_blinded_paths_LDKMessageRouter_jcall, + .free = LDKMessageRouter_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKMessageRouter_new"))) TS_LDKMessageRouter_new(JSValue o) { + LDKMessageRouter *res_ptr = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); + *res_ptr = LDKMessageRouter_init(o); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_MessageRouter_find_path"))) TS_MessageRouter_find_path(uint64_t this_arg, int8_tArray sender, ptrArray peers, uint64_t destination) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey sender_ref; + CHECK(sender->arr_len == 33); + memcpy(sender_ref.compressed_form, sender->elems, 33); FREE(sender); + LDKCVec_PublicKeyZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + peers_constr.data = NULL; + int8_tArray* peers_vals = (void*) peers->elems; + for (size_t m = 0; m < peers_constr.datalen; m++) { + int8_tArray peers_conv_12 = peers_vals[m]; + LDKPublicKey peers_conv_12_ref; + CHECK(peers_conv_12->arr_len == 33); + memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); + peers_constr.data[m] = peers_conv_12_ref; + } + FREE(peers); + void* destination_ptr = untag_ptr(destination); + CHECK_ACCESS(destination_ptr); + LDKDestination destination_conv = *(LDKDestination*)(destination_ptr); + destination_conv = Destination_clone((LDKDestination*)untag_ptr(destination)); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = (this_arg_conv->find_path)(this_arg_conv->this_arg, sender_ref, peers_constr, destination_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_MessageRouter_create_blinded_paths"))) TS_MessageRouter_create_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, ptrArray peers) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey recipient_ref; + CHECK(recipient->arr_len == 33); + memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); + context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); + LDKCVec_PublicKeyZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + peers_constr.data = NULL; + int8_tArray* peers_vals = (void*) peers->elems; + for (size_t m = 0; m < peers_constr.datalen; m++) { + int8_tArray peers_conv_12 = peers_vals[m]; + LDKPublicKey peers_conv_12_ref; + CHECK(peers_conv_12->arr_len == 33); + memcpy(peers_conv_12_ref.compressed_form, peers_conv_12->elems, 33); FREE(peers_conv_12); + peers_constr.data[m] = peers_conv_12_ref; + } + FREE(peers); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = (this_arg_conv->create_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_MessageRouter_create_compact_blinded_paths"))) TS_MessageRouter_create_compact_blinded_paths(uint64_t this_arg, int8_tArray recipient, uint64_t context, uint64_tArray peers) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMessageRouter* this_arg_conv = (LDKMessageRouter*)this_arg_ptr; + LDKPublicKey recipient_ref; + CHECK(recipient->arr_len == 33); + memcpy(recipient_ref.compressed_form, recipient->elems, 33); FREE(recipient); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKMessageContext context_conv = *(LDKMessageContext*)(context_ptr); + context_conv = MessageContext_clone((LDKMessageContext*)untag_ptr(context)); + LDKCVec_MessageForwardNodeZ peers_constr; + peers_constr.datalen = peers->arr_len; + if (peers_constr.datalen > 0) + peers_constr.data = MALLOC(peers_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); + else + peers_constr.data = NULL; + uint64_t* peers_vals = peers->elems; + for (size_t u = 0; u < peers_constr.datalen; u++) { + uint64_t peers_conv_20 = peers_vals[u]; + LDKMessageForwardNode peers_conv_20_conv; + peers_conv_20_conv.inner = untag_ptr(peers_conv_20); + peers_conv_20_conv.is_owned = ptr_is_owned(peers_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(peers_conv_20_conv); + peers_conv_20_conv = MessageForwardNode_clone(&peers_conv_20_conv); + peers_constr.data[u] = peers_conv_20_conv; + } + FREE(peers); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = (this_arg_conv->create_compact_blinded_paths)(this_arg_conv->this_arg, recipient_ref, context_conv, peers_constr); + return tag_ptr(ret_conv, true); +} + static inline struct LDKThirtyTwoBytes C2Tuple_ThirtyTwoBytesChannelManagerZ_get_a(LDKC2Tuple_ThirtyTwoBytesChannelManagerZ *NONNULL_PTR owner){ return ThirtyTwoBytes_clone(&owner->a); } @@ -8162,6 +8351,24 @@ static inline LDKCVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ CVec_C2Tup } return ret; } +static inline bool C2Tuple_boolboolZ_get_a(LDKC2Tuple_boolboolZ *NONNULL_PTR owner){ + return owner->a; +} +jboolean __attribute__((export_name("TS_C2Tuple_boolboolZ_get_a"))) TS_C2Tuple_boolboolZ_get_a(uint64_t owner) { + LDKC2Tuple_boolboolZ* owner_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(owner); + jboolean ret_conv = C2Tuple_boolboolZ_get_a(owner_conv); + return ret_conv; +} + +static inline bool C2Tuple_boolboolZ_get_b(LDKC2Tuple_boolboolZ *NONNULL_PTR owner){ + return owner->b; +} +jboolean __attribute__((export_name("TS_C2Tuple_boolboolZ_get_b"))) TS_C2Tuple_boolboolZ_get_b(uint64_t owner) { + LDKC2Tuple_boolboolZ* owner_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(owner); + jboolean ret_conv = C2Tuple_boolboolZ_get_b(owner_conv); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_LDKBalance_ty_from_ptr"))) TS_LDKBalance_ty_from_ptr(uint64_t ptr) { LDKBalance *obj = (LDKBalance*)untag_ptr(ptr); switch(obj->tag) { @@ -8916,6 +9123,73 @@ uint32_t __attribute__((export_name("TS_CResult_CVec_StrZIOErrorZ_get_err"))) T return ret_conv; } +static inline struct LDKStr C3Tuple_StrStrStrZ_get_a(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->a; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_a"))) TS_C3Tuple_StrStrStrZ_get_a(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_a(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline struct LDKStr C3Tuple_StrStrStrZ_get_b(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->b; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_b"))) TS_C3Tuple_StrStrStrZ_get_b(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_b(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline struct LDKStr C3Tuple_StrStrStrZ_get_c(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner){ + return owner->c; +} +jstring __attribute__((export_name("TS_C3Tuple_StrStrStrZ_get_c"))) TS_C3Tuple_StrStrStrZ_get_c(uint64_t owner) { + LDKC3Tuple_StrStrStrZ* owner_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(owner); + LDKStr ret_str = C3Tuple_StrStrStrZ_get_c(owner_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + return ret_conv; +} + +static inline LDKCVec_C3Tuple_StrStrStrZZ CVec_C3Tuple_StrStrStrZZ_clone(const LDKCVec_C3Tuple_StrStrStrZZ *orig) { + LDKCVec_C3Tuple_StrStrStrZZ ret = { .data = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ) * orig->datalen, "LDKCVec_C3Tuple_StrStrStrZZ clone bytes"), .datalen = orig->datalen }; + for (size_t i = 0; i < ret.datalen; i++) { + ret.data[i] = C3Tuple_StrStrStrZ_clone(&orig->data[i]); + } + return ret; +} +static inline struct LDKCVec_C3Tuple_StrStrStrZZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return CVec_C3Tuple_StrStrStrZZ_clone(&*owner->contents.result); +} +uint64_tArray __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* owner_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(owner); + LDKCVec_C3Tuple_StrStrStrZZ ret_var = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(owner_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t x = 0; x < ret_var.datalen; x++) { + LDKC3Tuple_StrStrStrZ* ret_conv_23_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv_23_conv = ret_var.data[x]; + ret_arr_ptr[x] = tag_ptr(ret_conv_23_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + +static inline enum LDKIOError CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; +} +uint32_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(uint64_t owner) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* owner_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(owner_conv)); + return ret_conv; +} + static inline LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_clone(const LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ *orig) { LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ ret = { .data = MALLOC(sizeof(LDKC2Tuple_ThirtyTwoBytesChannelMonitorZ) * orig->datalen, "LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ clone bytes"), .datalen = orig->datalen }; for (size_t i = 0; i < ret.datalen; i++) { @@ -8974,27 +9248,51 @@ uint32_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesChannelMo return ret_conv; } -static inline struct LDKUnsignedInvoiceRequest CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner){ - LDKUnsignedInvoiceRequest ret = *owner->contents.result; +static inline struct LDKMonitorName CResult_MonitorNameIOErrorZ_get_ok(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner){ + LDKMonitorName ret = *owner->contents.result; ret.is_owned = false; return ret; } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(uint64_t owner) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* owner_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(owner); - LDKUnsignedInvoiceRequest ret_var = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(owner_conv); +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_get_ok"))) TS_CResult_MonitorNameIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_MonitorNameIOErrorZ* owner_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(owner); + LDKMonitorName ret_var = CResult_MonitorNameIOErrorZ_get_ok(owner_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline enum LDKBolt12SemanticError CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner){ +static inline enum LDKIOError CResult_MonitorNameIOErrorZ_get_err(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner){ CHECK(!owner->result_ok); - return Bolt12SemanticError_clone(&*owner->contents.err); + return *owner->contents.err; +} +uint32_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_get_err"))) TS_CResult_MonitorNameIOErrorZ_get_err(uint64_t owner) { + LDKCResult_MonitorNameIOErrorZ* owner_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_MonitorNameIOErrorZ_get_err(owner_conv)); + return ret_conv; +} + +static inline struct LDKUpdateName CResult_UpdateNameIOErrorZ_get_ok(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner){ + LDKUpdateName ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_get_ok"))) TS_CResult_UpdateNameIOErrorZ_get_ok(uint64_t owner) { + LDKCResult_UpdateNameIOErrorZ* owner_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(owner); + LDKUpdateName ret_var = CResult_UpdateNameIOErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline enum LDKIOError CResult_UpdateNameIOErrorZ_get_err(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return *owner->contents.err; } -uint32_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(uint64_t owner) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* owner_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(owner); - uint32_t ret_conv = LDKBolt12SemanticError_to_js(CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(owner_conv)); +uint32_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_get_err"))) TS_CResult_UpdateNameIOErrorZ_get_err(uint64_t owner) { + LDKCResult_UpdateNameIOErrorZ* owner_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(owner); + uint32_t ret_conv = LDKIOError_to_js(CResult_UpdateNameIOErrorZ_get_err(owner_conv)); return ret_conv; } @@ -9093,6 +9391,32 @@ uint32_t __attribute__((export_name("TS_CResult_InvoiceWithDerivedSigningPubkey return ret_conv; } +static inline struct LDKInvoiceRequest CResult_InvoiceRequestDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner){ + LDKInvoiceRequest ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_get_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_InvoiceRequestDecodeErrorZ* owner_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(owner); + LDKInvoiceRequest ret_var = CResult_InvoiceRequestDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_InvoiceRequestDecodeErrorZ_get_err(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_get_err"))) TS_CResult_InvoiceRequestDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_InvoiceRequestDecodeErrorZ* owner_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_InvoiceRequestDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKInvoiceRequestFields CResult_InvoiceRequestFieldsDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestFieldsDecodeErrorZ *NONNULL_PTR owner){ LDKInvoiceRequestFields ret = *owner->contents.result; ret.is_owned = false; @@ -11740,6 +12064,20 @@ static inline LDKCVec_ClaimedHTLCZ CVec_ClaimedHTLCZ_clone(const LDKCVec_Claimed } return ret; } +uint32_t __attribute__((export_name("TS_LDKInboundChannelFunds_ty_from_ptr"))) TS_LDKInboundChannelFunds_ty_from_ptr(uint64_t ptr) { + LDKInboundChannelFunds *obj = (LDKInboundChannelFunds*)untag_ptr(ptr); + switch(obj->tag) { + case LDKInboundChannelFunds_PushMsat: return 0; + case LDKInboundChannelFunds_DualFunded: return 1; + default: abort(); + } +} +int64_t __attribute__((export_name("TS_LDKInboundChannelFunds_PushMsat_get_push_msat"))) TS_LDKInboundChannelFunds_PushMsat_get_push_msat(uint64_t ptr) { + LDKInboundChannelFunds *obj = (LDKInboundChannelFunds*)untag_ptr(ptr); + assert(obj->tag == LDKInboundChannelFunds_PushMsat); + int64_t push_msat_conv = obj->push_msat; + return push_msat_conv; +} uint32_t __attribute__((export_name("TS_LDKBumpTransactionEvent_ty_from_ptr"))) TS_LDKBumpTransactionEvent_ty_from_ptr(uint64_t ptr) { LDKBumpTransactionEvent *obj = (LDKBumpTransactionEvent*)untag_ptr(ptr); switch(obj->tag) { @@ -12040,6 +12378,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimable_get_claim_dead uint64_t claim_deadline_ref = tag_ptr(&obj->payment_claimable.claim_deadline, false); return claim_deadline_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimable_get_payment_id"))) TS_LDKEvent_PaymentClaimable_get_payment_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentClaimable); + uint64_t payment_id_ref = tag_ptr(&obj->payment_claimable.payment_id, false); + return payment_id_ref; +} int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_receiver_node_id"))) TS_LDKEvent_PaymentClaimed_get_receiver_node_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_PaymentClaimed); @@ -12098,6 +12442,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_onion_fields onion_fields_ref = tag_ptr(onion_fields_var.inner, false); return onion_fields_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_PaymentClaimed_get_payment_id"))) TS_LDKEvent_PaymentClaimed_get_payment_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentClaimed); + uint64_t payment_id_ref = tag_ptr(&obj->payment_claimed.payment_id, false); + return payment_id_ref; +} int8_tArray __attribute__((export_name("TS_LDKEvent_ConnectionNeeded_get_node_id"))) TS_LDKEvent_ConnectionNeeded_get_node_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_ConnectionNeeded); @@ -12400,6 +12750,20 @@ uint64_t __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_next_user_ uint64_t next_user_channel_id_ref = tag_ptr(&obj->payment_forwarded.next_user_channel_id, false); return next_user_channel_id_ref; } +int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_prev_node_id"))) TS_LDKEvent_PaymentForwarded_get_prev_node_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentForwarded); + int8_tArray prev_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(prev_node_id_arr->elems, obj->payment_forwarded.prev_node_id.compressed_form, 33); + return prev_node_id_arr; +} +int8_tArray __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_next_node_id"))) TS_LDKEvent_PaymentForwarded_get_next_node_id(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_PaymentForwarded); + int8_tArray next_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(next_node_id_arr->elems, obj->payment_forwarded.next_node_id.compressed_form, 33); + return next_node_id_arr; +} uint64_t __attribute__((export_name("TS_LDKEvent_PaymentForwarded_get_total_fee_earned_msat"))) TS_LDKEvent_PaymentForwarded_get_total_fee_earned_msat(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_PaymentForwarded); @@ -12550,6 +12914,12 @@ uint64_t __attribute__((export_name("TS_LDKEvent_ChannelClosed_get_channel_fundi channel_funding_txo_ref = tag_ptr(channel_funding_txo_var.inner, false); return channel_funding_txo_ref; } +uint64_t __attribute__((export_name("TS_LDKEvent_ChannelClosed_get_last_local_balance_msat"))) TS_LDKEvent_ChannelClosed_get_last_local_balance_msat(uint64_t ptr) { + LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); + assert(obj->tag == LDKEvent_ChannelClosed); + uint64_t last_local_balance_msat_ref = tag_ptr(&obj->channel_closed.last_local_balance_msat, false); + return last_local_balance_msat_ref; +} uint64_t __attribute__((export_name("TS_LDKEvent_DiscardFunding_get_channel_id"))) TS_LDKEvent_DiscardFunding_get_channel_id(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_DiscardFunding); @@ -12587,11 +12957,11 @@ int64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_funding_s int64_t funding_satoshis_conv = obj->open_channel_request.funding_satoshis; return funding_satoshis_conv; } -int64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_push_msat"))) TS_LDKEvent_OpenChannelRequest_get_push_msat(uint64_t ptr) { +uint64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_channel_negotiation_type"))) TS_LDKEvent_OpenChannelRequest_get_channel_negotiation_type(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); assert(obj->tag == LDKEvent_OpenChannelRequest); - int64_t push_msat_conv = obj->open_channel_request.push_msat; - return push_msat_conv; + uint64_t channel_negotiation_type_ref = tag_ptr(&obj->open_channel_request.channel_negotiation_type, false); + return channel_negotiation_type_ref; } uint64_t __attribute__((export_name("TS_LDKEvent_OpenChannelRequest_get_channel_type"))) TS_LDKEvent_OpenChannelRequest_get_channel_type(uint64_t ptr) { LDKEvent *obj = (LDKEvent*)untag_ptr(ptr); @@ -12732,61 +13102,6 @@ static inline LDKCVec_RouteHintHopZ CVec_RouteHintHopZ_clone(const LDKCVec_Route } return ret; } -uint32_t __attribute__((export_name("TS_LDKBolt11ParseError_ty_from_ptr"))) TS_LDKBolt11ParseError_ty_from_ptr(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKBolt11ParseError_Bech32Error: return 0; - case LDKBolt11ParseError_ParseAmountError: return 1; - case LDKBolt11ParseError_MalformedSignature: return 2; - case LDKBolt11ParseError_BadPrefix: return 3; - case LDKBolt11ParseError_UnknownCurrency: return 4; - case LDKBolt11ParseError_UnknownSiPrefix: return 5; - case LDKBolt11ParseError_MalformedHRP: return 6; - case LDKBolt11ParseError_TooShortDataPart: return 7; - case LDKBolt11ParseError_UnexpectedEndOfTaggedFields: return 8; - case LDKBolt11ParseError_DescriptionDecodeError: return 9; - case LDKBolt11ParseError_PaddingError: return 10; - case LDKBolt11ParseError_IntegerOverflowError: return 11; - case LDKBolt11ParseError_InvalidSegWitProgramLength: return 12; - case LDKBolt11ParseError_InvalidPubKeyHashLength: return 13; - case LDKBolt11ParseError_InvalidScriptHashLength: return 14; - case LDKBolt11ParseError_InvalidRecoveryId: return 15; - case LDKBolt11ParseError_InvalidSliceLength: return 16; - case LDKBolt11ParseError_Skip: return 17; - default: abort(); - } -} -uint64_t __attribute__((export_name("TS_LDKBolt11ParseError_Bech32Error_get_bech32_error"))) TS_LDKBolt11ParseError_Bech32Error_get_bech32_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_Bech32Error); - uint64_t bech32_error_ref = tag_ptr(&obj->bech32_error, false); - return bech32_error_ref; -} -int32_t __attribute__((export_name("TS_LDKBolt11ParseError_ParseAmountError_get_parse_amount_error"))) TS_LDKBolt11ParseError_ParseAmountError_get_parse_amount_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_ParseAmountError); - /*obj->parse_amount_error*/ - return 0; -} -uint32_t __attribute__((export_name("TS_LDKBolt11ParseError_MalformedSignature_get_malformed_signature"))) TS_LDKBolt11ParseError_MalformedSignature_get_malformed_signature(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_MalformedSignature); - uint32_t malformed_signature_conv = LDKSecp256k1Error_to_js(obj->malformed_signature); - return malformed_signature_conv; -} -int32_t __attribute__((export_name("TS_LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error"))) TS_LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_DescriptionDecodeError); - /*obj->description_decode_error*/ - return 0; -} -jstring __attribute__((export_name("TS_LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length"))) TS_LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length(uint64_t ptr) { - LDKBolt11ParseError *obj = (LDKBolt11ParseError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt11ParseError_InvalidSliceLength); - LDKStr invalid_slice_length_str = obj->invalid_slice_length; - jstring invalid_slice_length_conv = str_ref_to_ts(invalid_slice_length_str.chars, invalid_slice_length_str.len); - return invalid_slice_length_conv; -} static inline enum LDKSiPrefix CResult_SiPrefixBolt11ParseErrorZ_get_ok(LDKCResult_SiPrefixBolt11ParseErrorZ *NONNULL_PTR owner){ CHECK(owner->result_ok); return SiPrefix_clone(&*owner->contents.result); @@ -12798,14 +13113,16 @@ uint32_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_get_o } static inline struct LDKBolt11ParseError CResult_SiPrefixBolt11ParseErrorZ_get_err(LDKCResult_SiPrefixBolt11ParseErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt11ParseError_clone(&*owner->contents.err); + LDKBolt11ParseError ret = *owner->contents.err; + ret.is_owned = false; + return ret; } uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_get_err"))) TS_CResult_SiPrefixBolt11ParseErrorZ_get_err(uint64_t owner) { LDKCResult_SiPrefixBolt11ParseErrorZ* owner_conv = (LDKCResult_SiPrefixBolt11ParseErrorZ*)untag_ptr(owner); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = CResult_SiPrefixBolt11ParseErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = CResult_SiPrefixBolt11ParseErrorZ_get_err(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } @@ -12820,7 +13137,10 @@ uint32_t __attribute__((export_name("TS_LDKParseOrSemanticError_ty_from_ptr"))) uint64_t __attribute__((export_name("TS_LDKParseOrSemanticError_ParseError_get_parse_error"))) TS_LDKParseOrSemanticError_ParseError_get_parse_error(uint64_t ptr) { LDKParseOrSemanticError *obj = (LDKParseOrSemanticError*)untag_ptr(ptr); assert(obj->tag == LDKParseOrSemanticError_ParseError); - uint64_t parse_error_ref = tag_ptr(&obj->parse_error, false); + LDKBolt11ParseError parse_error_var = obj->parse_error; + uint64_t parse_error_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(parse_error_var); + parse_error_ref = tag_ptr(parse_error_var.inner, false); return parse_error_ref; } uint32_t __attribute__((export_name("TS_LDKParseOrSemanticError_SemanticError_get_semantic_error"))) TS_LDKParseOrSemanticError_SemanticError_get_semantic_error(uint64_t ptr) { @@ -12870,14 +13190,16 @@ uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11Par } static inline struct LDKBolt11ParseError CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return Bolt11ParseError_clone(&*owner->contents.err); + LDKBolt11ParseError ret = *owner->contents.err; + ret.is_owned = false; + return ret; } uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err"))) TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(uint64_t owner) { LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ* owner_conv = (LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ*)untag_ptr(owner); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } @@ -13244,6 +13566,188 @@ uint64_t __attribute__((export_name("TS_CResult_ChannelIdDecodeErrorZ_get_err") return ret_ref; } +static inline struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKInitFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKInitFeatures ret_var = CResult_InitFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_get_err"))) TS_CResult_InitFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_InitFeaturesDecodeErrorZ* owner_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_InitFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKChannelFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKChannelFeatures ret_var = CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_ChannelFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_ChannelFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKNodeFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKNodeFeatures ret_var = CResult_NodeFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_get_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_NodeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_NodeFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBolt11InvoiceFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBolt11InvoiceFeatures ret_var = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBolt12InvoiceFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBolt12InvoiceFeatures ret_var = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* owner_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKBlindedHopFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKBlindedHopFeatures ret_var = CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* owner_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ + LDKChannelTypeFeatures ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKChannelTypeFeatures ret_var = CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* owner_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + static inline struct LDKThirtyTwoBytes C2Tuple__u832u16Z_get_a(LDKC2Tuple__u832u16Z *NONNULL_PTR owner){ return ThirtyTwoBytes_clone(&owner->a); } @@ -13395,32 +13899,6 @@ uint64_t __attribute__((export_name("TS_CResult_PaymentContextDecodeErrorZ_get_ return ret_ref; } -static inline struct LDKUnknownPaymentContext CResult_UnknownPaymentContextDecodeErrorZ_get_ok(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner){ - LDKUnknownPaymentContext ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_get_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_get_ok(uint64_t owner) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* owner_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(owner); - LDKUnknownPaymentContext ret_var = CResult_UnknownPaymentContextDecodeErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKDecodeError CResult_UnknownPaymentContextDecodeErrorZ_get_err(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return DecodeError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_get_err"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_get_err(uint64_t owner) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* owner_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(owner); - LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); - *ret_copy = CResult_UnknownPaymentContextDecodeErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKBolt12OfferContext CResult_Bolt12OfferContextDecodeErrorZ_get_ok(LDKCResult_Bolt12OfferContextDecodeErrorZ *NONNULL_PTR owner){ LDKBolt12OfferContext ret = *owner->contents.result; ret.is_owned = false; @@ -13625,7 +14103,8 @@ uint32_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_ty_from_pt LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); switch(obj->tag) { case LDKParsedOnionMessageContents_Offers: return 0; - case LDKParsedOnionMessageContents_Custom: return 1; + case LDKParsedOnionMessageContents_DNSResolver: return 1; + case LDKParsedOnionMessageContents_Custom: return 2; default: abort(); } } @@ -13635,6 +14114,12 @@ uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_Offers_get uint64_t offers_ref = tag_ptr(&obj->offers, false); return offers_ref; } +uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver"))) TS_LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver(uint64_t ptr) { + LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); + assert(obj->tag == LDKParsedOnionMessageContents_DNSResolver); + uint64_t dns_resolver_ref = tag_ptr(&obj->dns_resolver, false); + return dns_resolver_ref; +} uint64_t __attribute__((export_name("TS_LDKParsedOnionMessageContents_Custom_get_custom"))) TS_LDKParsedOnionMessageContents_Custom_get_custom(uint64_t ptr) { LDKParsedOnionMessageContents *obj = (LDKParsedOnionMessageContents*)untag_ptr(ptr); assert(obj->tag == LDKParsedOnionMessageContents_Custom); @@ -13800,46 +14285,6 @@ static inline LDKCVec_PhantomRouteHintsZ CVec_PhantomRouteHintsZ_clone(const LDK } return ret; } -uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_ty_from_ptr"))) TS_LDKSignOrCreationError_ty_from_ptr(uint64_t ptr) { - LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKSignOrCreationError_SignError: return 0; - case LDKSignOrCreationError_CreationError: return 1; - default: abort(); - } -} -uint32_t __attribute__((export_name("TS_LDKSignOrCreationError_CreationError_get_creation_error"))) TS_LDKSignOrCreationError_CreationError_get_creation_error(uint64_t ptr) { - LDKSignOrCreationError *obj = (LDKSignOrCreationError*)untag_ptr(ptr); - assert(obj->tag == LDKSignOrCreationError_CreationError); - uint32_t creation_error_conv = LDKCreationError_to_js(obj->creation_error); - return creation_error_conv; -} -static inline struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ - LDKBolt11Invoice ret = *owner->contents.result; - ret.is_owned = false; - return ret; -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(uint64_t owner) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); - LDKBolt11Invoice ret_var = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -static inline struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner){ -CHECK(!owner->result_ok); - return SignOrCreationError_clone(&*owner->contents.err); -} -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(uint64_t owner) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* owner_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(owner); - LDKSignOrCreationError *ret_copy = MALLOC(sizeof(LDKSignOrCreationError), "LDKSignOrCreationError"); - *ret_copy = CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline struct LDKInvoiceError CResult_InvoiceErrorDecodeErrorZ_get_ok(LDKCResult_InvoiceErrorDecodeErrorZ *NONNULL_PTR owner){ LDKInvoiceError ret = *owner->contents.result; ret.is_owned = false; @@ -14842,6 +15287,109 @@ uint64_t __attribute__((export_name("TS_CResult_OffersContextDecodeErrorZ_get_e return ret_ref; } +static inline struct LDKAsyncPaymentsContext CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(owner->result_ok); + return AsyncPaymentsContext_clone(&*owner->contents.result); +} +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* owner_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(owner); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_AsyncPaymentsContextDecodeErrorZ_get_err(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_err"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* owner_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_AsyncPaymentsContextDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline struct LDKDNSResolverContext CResult_DNSResolverContextDecodeErrorZ_get_ok(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner){ + LDKDNSResolverContext ret = *owner->contents.result; + ret.is_owned = false; + return ret; +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_get_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_get_ok(uint64_t owner) { + LDKCResult_DNSResolverContextDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(owner); + LDKDNSResolverContext ret_var = CResult_DNSResolverContextDecodeErrorZ_get_ok(owner_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline struct LDKDecodeError CResult_DNSResolverContextDecodeErrorZ_get_err(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner){ +CHECK(!owner->result_ok); + return DecodeError_clone(&*owner->contents.err); +} +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_get_err"))) TS_CResult_DNSResolverContextDecodeErrorZ_get_err(uint64_t owner) { + LDKCResult_DNSResolverContextDecodeErrorZ* owner_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(owner); + LDKDecodeError *ret_copy = MALLOC(sizeof(LDKDecodeError), "LDKDecodeError"); + *ret_copy = CResult_DNSResolverContextDecodeErrorZ_get_err(owner_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +typedef struct LDKMigratableKVStore_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; + LDKKVStore_JCalls* KVStore; +} LDKMigratableKVStore_JCalls; +static void LDKMigratableKVStore_JCalls_free(void* this_arg) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ list_all_keys_LDKMigratableKVStore_jcall(const void* this_arg) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) this_arg; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 56, 0, 0, 0, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ ret_conv = *(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKMigratableKVStore_JCalls_cloned(LDKMigratableKVStore* new_obj) { + LDKMigratableKVStore_JCalls *j_calls = (LDKMigratableKVStore_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); + atomic_fetch_add_explicit(&j_calls->KVStore->refcnt, 1, memory_order_release); +} +static inline LDKMigratableKVStore LDKMigratableKVStore_init (JSValue o, JSValue KVStore) { + LDKMigratableKVStore_JCalls *calls = MALLOC(sizeof(LDKMigratableKVStore_JCalls), "LDKMigratableKVStore_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKMigratableKVStore ret = { + .this_arg = (void*) calls, + .list_all_keys = list_all_keys_LDKMigratableKVStore_jcall, + .free = LDKMigratableKVStore_JCalls_free, + .KVStore = LDKKVStore_init(KVStore), + }; + calls->KVStore = ret.KVStore.this_arg; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKMigratableKVStore_new"))) TS_LDKMigratableKVStore_new(JSValue o, JSValue KVStore) { + LDKMigratableKVStore *res_ptr = MALLOC(sizeof(LDKMigratableKVStore), "LDKMigratableKVStore"); + *res_ptr = LDKMigratableKVStore_init(o, KVStore); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_MigratableKVStore_list_all_keys"))) TS_MigratableKVStore_list_all_keys(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKMigratableKVStore* this_arg_conv = (LDKMigratableKVStore*)this_arg_ptr; + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = (this_arg_conv->list_all_keys)(this_arg_conv->this_arg); + return tag_ptr(ret_conv, true); +} + uint32_t __attribute__((export_name("TS_LDKCandidateRouteHop_ty_from_ptr"))) TS_LDKCandidateRouteHop_ty_from_ptr(uint64_t ptr) { LDKCandidateRouteHop *obj = (LDKCandidateRouteHop*)untag_ptr(ptr); switch(obj->tag) { @@ -14922,7 +15470,7 @@ uint64_t channel_penalty_msat_LDKScoreLookUp_jcall(const void* this_arg, const L score_params_var = ProbabilisticScoringFeeParameters_clone(&score_params_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(score_params_var); score_params_ref = tag_ptr(score_params_var.inner, score_params_var.is_owned); - return js_invoke_function_bbbuuu(j_calls->instance_ptr, 56, ref_candidate, usage_ref, score_params_ref, 0, 0, 0); + return js_invoke_function_bbbuuu(j_calls->instance_ptr, 57, ref_candidate, usage_ref, score_params_ref, 0, 0, 0); } static void LDKScoreLookUp_JCalls_cloned(LDKScoreLookUp* new_obj) { LDKScoreLookUp_JCalls *j_calls = (LDKScoreLookUp_JCalls*) new_obj->this_arg; @@ -14983,7 +15531,7 @@ void payment_path_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * pa path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t short_channel_id_conv = short_channel_id; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbbuuu(j_calls->instance_ptr, 57, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); + js_invoke_function_bbbuuu(j_calls->instance_ptr, 58, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); } void payment_path_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -14993,7 +15541,7 @@ void payment_path_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath CHECK_INNER_FIELD_ACCESS_OR_NULL(path_var); path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbuuuu(j_calls->instance_ptr, 58, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 59, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); } void probe_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t short_channel_id, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -15004,7 +15552,7 @@ void probe_failed_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uin path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t short_channel_id_conv = short_channel_id; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbbuuu(j_calls->instance_ptr, 59, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); + js_invoke_function_bbbuuu(j_calls->instance_ptr, 60, path_ref, short_channel_id_conv, duration_since_epoch_conv, 0, 0, 0); } void probe_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; @@ -15014,12 +15562,12 @@ void probe_successful_LDKScoreUpdate_jcall(void* this_arg, const LDKPath * path, CHECK_INNER_FIELD_ACCESS_OR_NULL(path_var); path_ref = tag_ptr(path_var.inner, path_var.is_owned); int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_bbuuuu(j_calls->instance_ptr, 60, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 61, path_ref, duration_since_epoch_conv, 0, 0, 0, 0); } void time_passed_LDKScoreUpdate_jcall(void* this_arg, uint64_t duration_since_epoch) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) this_arg; int64_t duration_since_epoch_conv = duration_since_epoch; - js_invoke_function_buuuuu(j_calls->instance_ptr, 61, duration_since_epoch_conv, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 62, duration_since_epoch_conv, 0, 0, 0, 0, 0); } static void LDKScoreUpdate_JCalls_cloned(LDKScoreUpdate* new_obj) { LDKScoreUpdate_JCalls *j_calls = (LDKScoreUpdate_JCalls*) new_obj->this_arg; @@ -15113,7 +15661,7 @@ static void LDKLockableScore_JCalls_free(void* this_arg) { } LDKScoreLookUp read_lock_LDKLockableScore_jcall(const void* this_arg) { LDKLockableScore_JCalls *j_calls = (LDKLockableScore_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 62, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 63, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKScoreLookUp ret_conv = *(LDKScoreLookUp*)(ret_ptr); @@ -15126,7 +15674,7 @@ LDKScoreLookUp read_lock_LDKLockableScore_jcall(const void* this_arg) { } LDKScoreUpdate write_lock_LDKLockableScore_jcall(const void* this_arg) { LDKLockableScore_JCalls *j_calls = (LDKLockableScore_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 63, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 64, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKScoreUpdate ret_conv = *(LDKScoreUpdate*)(ret_ptr); @@ -15190,7 +15738,7 @@ static void LDKWriteableScore_JCalls_free(void* this_arg) { } LDKCVec_u8Z write_LDKWriteableScore_jcall(const void* this_arg) { LDKWriteableScore_JCalls *j_calls = (LDKWriteableScore_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 64, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 65, 0, 0, 0, 0, 0, 0); LDKCVec_u8Z ret_ref; ret_ref.datalen = ret->arr_len; ret_ref.data = MALLOC(ret_ref.datalen, "LDKCVec_u8Z Bytes"); @@ -15249,7 +15797,7 @@ LDKCResult_NoneIOErrorZ persist_manager_LDKPersister_jcall(const void* this_arg, // WARNING: we may need a move here but no clone is available for LDKChannelManager CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_manager_var); channel_manager_ref = tag_ptr(channel_manager_var.inner, channel_manager_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 65, channel_manager_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 66, channel_manager_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15263,7 +15811,7 @@ LDKCResult_NoneIOErrorZ persist_graph_LDKPersister_jcall(const void* this_arg, c // WARNING: we may need a move here but no clone is available for LDKNetworkGraph CHECK_INNER_FIELD_ACCESS_OR_NULL(network_graph_var); network_graph_ref = tag_ptr(network_graph_var.inner, network_graph_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 66, network_graph_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 67, network_graph_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15274,7 +15822,7 @@ LDKCResult_NoneIOErrorZ persist_scorer_LDKPersister_jcall(const void* this_arg, LDKPersister_JCalls *j_calls = (LDKPersister_JCalls*) this_arg; // WARNING: This object doesn't live past this scope, needs clone! uint64_t ret_scorer = tag_ptr(scorer, false); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 67, ret_scorer, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 68, ret_scorer, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneIOErrorZ ret_conv = *(LDKCResult_NoneIOErrorZ*)(ret_ptr); @@ -15365,7 +15913,7 @@ LDKChannelMonitorUpdateStatus persist_new_channel_LDKPersist_jcall(const void* t monitor_var = ChannelMonitor_clone(&monitor_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 68, channel_funding_outpoint_ref, monitor_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 69, channel_funding_outpoint_ref, monitor_ref, 0, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } @@ -15384,7 +15932,7 @@ LDKChannelMonitorUpdateStatus update_persisted_channel_LDKPersist_jcall(const vo monitor_var = ChannelMonitor_clone(&monitor_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(monitor_var); monitor_ref = tag_ptr(monitor_var.inner, monitor_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 69, channel_funding_outpoint_ref, monitor_update_ref, monitor_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 70, channel_funding_outpoint_ref, monitor_update_ref, monitor_ref, 0, 0, 0); LDKChannelMonitorUpdateStatus ret_conv = LDKChannelMonitorUpdateStatus_from_js(ret); return ret_conv; } @@ -15394,7 +15942,7 @@ void archive_persisted_channel_LDKPersist_jcall(const void* this_arg, LDKOutPoin uint64_t channel_funding_outpoint_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_funding_outpoint_var); channel_funding_outpoint_ref = tag_ptr(channel_funding_outpoint_var.inner, channel_funding_outpoint_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 70, channel_funding_outpoint_ref, 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 71, channel_funding_outpoint_ref, 0, 0, 0, 0, 0); } static void LDKPersist_JCalls_cloned(LDKPersist* new_obj) { LDKPersist_JCalls *j_calls = (LDKPersist_JCalls*) new_obj->this_arg; @@ -15498,7 +16046,7 @@ void filtered_block_connected_LDKListen_jcall(const void* this_arg, const uint8_ FREE(txdata_var.data); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 71, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 72, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); } void block_connected_LDKListen_jcall(const void* this_arg, LDKu8slice block, uint32_t height) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) this_arg; @@ -15506,14 +16054,14 @@ void block_connected_LDKListen_jcall(const void* this_arg, LDKu8slice block, uin int8_tArray block_arr = init_int8_tArray(block_var.datalen, __LINE__); memcpy(block_arr->elems, block_var.data, block_var.datalen); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 72, (uint32_t)block_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 73, (uint32_t)block_arr, height_conv, 0, 0, 0, 0); } void block_disconnected_LDKListen_jcall(const void* this_arg, const uint8_t (* header)[80], uint32_t height) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) this_arg; int8_tArray header_arr = init_int8_tArray(80, __LINE__); memcpy(header_arr->elems, *header, 80); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 73, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 74, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); } static void LDKListen_JCalls_cloned(LDKListen* new_obj) { LDKListen_JCalls *j_calls = (LDKListen_JCalls*) new_obj->this_arg; @@ -15613,24 +16161,24 @@ void transactions_confirmed_LDKConfirm_jcall(const void* this_arg, const uint8_t FREE(txdata_var.data); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 74, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 75, (uint32_t)header_arr, (uint32_t)txdata_arr, height_conv, 0, 0, 0); } void transaction_unconfirmed_LDKConfirm_jcall(const void* this_arg, const uint8_t (* txid)[32]) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; int8_tArray txid_arr = init_int8_tArray(32, __LINE__); memcpy(txid_arr->elems, *txid, 32); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 75, (uint32_t)txid_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 76, (uint32_t)txid_arr, 0, 0, 0, 0, 0); } void best_block_updated_LDKConfirm_jcall(const void* this_arg, const uint8_t (* header)[80], uint32_t height) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; int8_tArray header_arr = init_int8_tArray(80, __LINE__); memcpy(header_arr->elems, *header, 80); int32_t height_conv = height; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 76, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 77, (uint32_t)header_arr, height_conv, 0, 0, 0, 0); } LDKCVec_C3Tuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZZ get_relevant_txids_LDKConfirm_jcall(const void* this_arg) { LDKConfirm_JCalls *j_calls = (LDKConfirm_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 77, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 78, 0, 0, 0, 0, 0, 0); LDKCVec_C3Tuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -15772,7 +16320,7 @@ static void LDKFutureCallback_JCalls_free(void* this_arg) { } void call_LDKFutureCallback_jcall(const void* this_arg) { LDKFutureCallback_JCalls *j_calls = (LDKFutureCallback_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 78, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 79, 0, 0, 0, 0, 0, 0); } static void LDKFutureCallback_JCalls_cloned(LDKFutureCallback* new_obj) { LDKFutureCallback_JCalls *j_calls = (LDKFutureCallback_JCalls*) new_obj->this_arg; @@ -15817,7 +16365,7 @@ LDKCResult_NoneReplayEventZ handle_event_LDKEventHandler_jcall(const void* this_ LDKEvent *event_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); *event_copy = event; uint64_t event_ref = tag_ptr(event_copy, true); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 79, event_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 80, event_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneReplayEventZ ret_conv = *(LDKCResult_NoneReplayEventZ*)(ret_ptr); @@ -15872,7 +16420,7 @@ void process_pending_events_LDKEventsProvider_jcall(const void* this_arg, LDKEve LDKEventsProvider_JCalls *j_calls = (LDKEventsProvider_JCalls*) this_arg; LDKEventHandler* handler_ret = MALLOC(sizeof(LDKEventHandler), "LDKEventHandler"); *handler_ret = handler; - js_invoke_function_buuuuu(j_calls->instance_ptr, 80, tag_ptr(handler_ret, true), 0, 0, 0, 0, 0); + js_invoke_function_buuuuu(j_calls->instance_ptr, 81, tag_ptr(handler_ret, true), 0, 0, 0, 0, 0); } static void LDKEventsProvider_JCalls_cloned(LDKEventsProvider* new_obj) { LDKEventsProvider_JCalls *j_calls = (LDKEventsProvider_JCalls*) new_obj->this_arg; @@ -15909,6 +16457,116 @@ void __attribute__((export_name("TS_EventsProvider_process_pending_events"))) T (this_arg_conv->process_pending_events)(this_arg_conv->this_arg, handler_conv); } +typedef struct LDKVerification_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKVerification_JCalls; +static void LDKVerification_JCalls_free(void* this_arg) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKThirtyTwoBytes hmac_for_offer_payment_LDKVerification_jcall(const void* this_arg, LDKNonce nonce, const LDKExpandedKey * expanded_key) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + LDKNonce nonce_var = nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, nonce_var.is_owned); + LDKExpandedKey expanded_key_var = *expanded_key; + uint64_t expanded_key_ref = 0; + expanded_key_var = ExpandedKey_clone(&expanded_key_var); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_var); + expanded_key_ref = tag_ptr(expanded_key_var.inner, expanded_key_var.is_owned); + int8_tArray ret = (int8_tArray)js_invoke_function_bbuuuu(j_calls->instance_ptr, 82, nonce_ref, expanded_key_ref, 0, 0, 0, 0); + LDKThirtyTwoBytes ret_ref; + CHECK(ret->arr_len == 32); + memcpy(ret_ref.data, ret->elems, 32); FREE(ret); + return ret_ref; +} +LDKCResult_NoneNoneZ verify_for_offer_payment_LDKVerification_jcall(const void* this_arg, LDKThirtyTwoBytes hmac, LDKNonce nonce, const LDKExpandedKey * expanded_key) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) this_arg; + int8_tArray hmac_arr = init_int8_tArray(32, __LINE__); + memcpy(hmac_arr->elems, hmac.data, 32); + LDKNonce nonce_var = nonce; + uint64_t nonce_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_var); + nonce_ref = tag_ptr(nonce_var.inner, nonce_var.is_owned); + LDKExpandedKey expanded_key_var = *expanded_key; + uint64_t expanded_key_ref = 0; + expanded_key_var = ExpandedKey_clone(&expanded_key_var); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_var); + expanded_key_ref = tag_ptr(expanded_key_var.inner, expanded_key_var.is_owned); + uint64_t ret = js_invoke_function_ubbuuu(j_calls->instance_ptr, 83, (uint32_t)hmac_arr, nonce_ref, expanded_key_ref, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +static void LDKVerification_JCalls_cloned(LDKVerification* new_obj) { + LDKVerification_JCalls *j_calls = (LDKVerification_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKVerification LDKVerification_init (JSValue o) { + LDKVerification_JCalls *calls = MALLOC(sizeof(LDKVerification_JCalls), "LDKVerification_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKVerification ret = { + .this_arg = (void*) calls, + .hmac_for_offer_payment = hmac_for_offer_payment_LDKVerification_jcall, + .verify_for_offer_payment = verify_for_offer_payment_LDKVerification_jcall, + .free = LDKVerification_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKVerification_new"))) TS_LDKVerification_new(JSValue o) { + LDKVerification *res_ptr = MALLOC(sizeof(LDKVerification), "LDKVerification"); + *res_ptr = LDKVerification_init(o); + return tag_ptr(res_ptr, true); +} +int8_tArray __attribute__((export_name("TS_Verification_hmac_for_offer_payment"))) TS_Verification_hmac_for_offer_payment(uint64_t this_arg, uint64_t nonce, uint64_t expanded_key) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKVerification* this_arg_conv = (LDKVerification*)this_arg_ptr; + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(32, __LINE__); + memcpy(ret_arr->elems, (this_arg_conv->hmac_for_offer_payment)(this_arg_conv->this_arg, nonce_conv, &expanded_key_conv).data, 32); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Verification_verify_for_offer_payment"))) TS_Verification_verify_for_offer_payment(uint64_t this_arg, int8_tArray hmac, uint64_t nonce, uint64_t expanded_key) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKVerification* this_arg_conv = (LDKVerification*)this_arg_ptr; + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + LDKCResult_NoneNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneNoneZ), "LDKCResult_NoneNoneZ"); + *ret_conv = (this_arg_conv->verify_for_offer_payment)(this_arg_conv->this_arg, hmac_ref, nonce_conv, &expanded_key_conv); + return tag_ptr(ret_conv, true); +} + uint32_t __attribute__((export_name("TS_LDKFailureCode_ty_from_ptr"))) TS_LDKFailureCode_ty_from_ptr(uint64_t ptr) { LDKFailureCode *obj = (LDKFailureCode*)untag_ptr(ptr); switch(obj->tag) { @@ -15925,6 +16583,32 @@ uint64_t __attribute__((export_name("TS_LDKFailureCode_InvalidOnionPayload_get_i uint64_t invalid_onion_payload_ref = tag_ptr(&obj->invalid_onion_payload, false); return invalid_onion_payload_ref; } +uint32_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_ty_from_ptr"))) TS_LDKBolt11InvoiceDescription_ty_from_ptr(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + switch(obj->tag) { + case LDKBolt11InvoiceDescription_Direct: return 0; + case LDKBolt11InvoiceDescription_Hash: return 1; + default: abort(); + } +} +uint64_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_Direct_get_direct"))) TS_LDKBolt11InvoiceDescription_Direct_get_direct(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + assert(obj->tag == LDKBolt11InvoiceDescription_Direct); + LDKDescription direct_var = obj->direct; + uint64_t direct_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(direct_var); + direct_ref = tag_ptr(direct_var.inner, false); + return direct_ref; +} +uint64_t __attribute__((export_name("TS_LDKBolt11InvoiceDescription_Hash_get_hash"))) TS_LDKBolt11InvoiceDescription_Hash_get_hash(uint64_t ptr) { + LDKBolt11InvoiceDescription *obj = (LDKBolt11InvoiceDescription*)untag_ptr(ptr); + assert(obj->tag == LDKBolt11InvoiceDescription_Hash); + LDKSha256 hash_var = obj->hash; + uint64_t hash_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(hash_var); + hash_ref = tag_ptr(hash_var.inner, false); + return hash_ref; +} typedef struct LDKMessageSendEventsProvider_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -15937,7 +16621,7 @@ static void LDKMessageSendEventsProvider_JCalls_free(void* this_arg) { } LDKCVec_MessageSendEventZ get_and_clear_pending_msg_events_LDKMessageSendEventsProvider_jcall(const void* this_arg) { LDKMessageSendEventsProvider_JCalls *j_calls = (LDKMessageSendEventsProvider_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 81, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 84, 0, 0, 0, 0, 0, 0); LDKCVec_MessageSendEventZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -16016,7 +16700,7 @@ void handle_open_channel_LDKChannelMessageHandler_jcall(const void* this_arg, LD msg_var = OpenChannel_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 82, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 85, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_open_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKOpenChannelV2 * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16027,7 +16711,7 @@ void handle_open_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = OpenChannelV2_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 83, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 86, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_accept_channel_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAcceptChannel * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16038,7 +16722,7 @@ void handle_accept_channel_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = AcceptChannel_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 84, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 87, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_accept_channel_v2_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAcceptChannelV2 * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16049,7 +16733,7 @@ void handle_accept_channel_v2_LDKChannelMessageHandler_jcall(const void* this_ar msg_var = AcceptChannelV2_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 85, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 88, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_funding_created_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKFundingCreated * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16060,7 +16744,7 @@ void handle_funding_created_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = FundingCreated_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 86, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 89, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_funding_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKFundingSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16071,7 +16755,7 @@ void handle_funding_signed_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = FundingSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 87, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 90, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_channel_ready_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelReady * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16082,7 +16766,7 @@ void handle_channel_ready_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = ChannelReady_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 88, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 91, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_shutdown_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKShutdown * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16093,7 +16777,7 @@ void handle_shutdown_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPub msg_var = Shutdown_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 89, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 92, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_closing_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKClosingSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16104,7 +16788,7 @@ void handle_closing_signed_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = ClosingSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 90, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 93, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_stfu_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKStfu * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16115,7 +16799,7 @@ void handle_stfu_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicK msg_var = Stfu_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 91, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 94, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_add_input_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAddInput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16126,7 +16810,7 @@ void handle_tx_add_input_LDKChannelMessageHandler_jcall(const void* this_arg, LD msg_var = TxAddInput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 92, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 95, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_add_output_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAddOutput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16137,7 +16821,7 @@ void handle_tx_add_output_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = TxAddOutput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 93, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 96, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_remove_input_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxRemoveInput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16148,7 +16832,7 @@ void handle_tx_remove_input_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = TxRemoveInput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 94, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 97, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_remove_output_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxRemoveOutput * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16159,7 +16843,7 @@ void handle_tx_remove_output_LDKChannelMessageHandler_jcall(const void* this_arg msg_var = TxRemoveOutput_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 95, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 98, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_complete_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxComplete * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16170,7 +16854,7 @@ void handle_tx_complete_LDKChannelMessageHandler_jcall(const void* this_arg, LDK msg_var = TxComplete_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 96, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 99, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxSignatures * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16181,7 +16865,7 @@ void handle_tx_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, L msg_var = TxSignatures_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 97, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 100, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_init_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxInitRbf * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16192,7 +16876,7 @@ void handle_tx_init_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDK msg_var = TxInitRbf_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 98, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 101, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_ack_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAckRbf * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16203,7 +16887,7 @@ void handle_tx_ack_rbf_LDKChannelMessageHandler_jcall(const void* this_arg, LDKP msg_var = TxAckRbf_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 99, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 102, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_tx_abort_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKTxAbort * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16214,7 +16898,7 @@ void handle_tx_abort_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPub msg_var = TxAbort_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 100, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 103, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_add_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateAddHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16225,7 +16909,7 @@ void handle_update_add_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = UpdateAddHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 101, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 104, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fulfill_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFulfillHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16236,7 +16920,7 @@ void handle_update_fulfill_htlc_LDKChannelMessageHandler_jcall(const void* this_ msg_var = UpdateFulfillHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 102, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 105, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fail_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFailHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16247,7 +16931,7 @@ void handle_update_fail_htlc_LDKChannelMessageHandler_jcall(const void* this_arg msg_var = UpdateFailHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 103, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 106, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fail_malformed_htlc_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFailMalformedHTLC * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16258,7 +16942,7 @@ void handle_update_fail_malformed_htlc_LDKChannelMessageHandler_jcall(const void msg_var = UpdateFailMalformedHTLC_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 104, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 107, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_commitment_signed_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKCommitmentSigned * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16269,7 +16953,7 @@ void handle_commitment_signed_LDKChannelMessageHandler_jcall(const void* this_ar msg_var = CommitmentSigned_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 105, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 108, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_revoke_and_ack_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKRevokeAndACK * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16280,7 +16964,7 @@ void handle_revoke_and_ack_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = RevokeAndACK_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 106, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 109, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_update_fee_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKUpdateFee * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16291,7 +16975,7 @@ void handle_update_fee_LDKChannelMessageHandler_jcall(const void* this_arg, LDKP msg_var = UpdateFee_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 107, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 110, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_announcement_signatures_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKAnnouncementSignatures * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16302,13 +16986,13 @@ void handle_announcement_signatures_LDKChannelMessageHandler_jcall(const void* t msg_var = AnnouncementSignatures_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 108, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 111, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void peer_disconnected_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 109, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 112, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } LDKCResult_NoneNoneZ peer_connected_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKInit * msg, bool inbound) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16320,7 +17004,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKChannelMessageHandler_jcall(const void* t CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 110, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 113, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -16336,7 +17020,7 @@ void handle_channel_reestablish_LDKChannelMessageHandler_jcall(const void* this_ msg_var = ChannelReestablish_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 111, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 114, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_channel_update_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelUpdate * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16347,7 +17031,7 @@ void handle_channel_update_LDKChannelMessageHandler_jcall(const void* this_arg, msg_var = ChannelUpdate_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 112, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 115, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } void handle_error_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKErrorMessage * msg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; @@ -16358,11 +17042,11 @@ void handle_error_LDKChannelMessageHandler_jcall(const void* this_arg, LDKPublic msg_var = ErrorMessage_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 113, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 116, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKChannelMessageHandler_jcall(const void* this_arg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 114, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 117, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -16373,7 +17057,7 @@ LDKInitFeatures provided_init_features_LDKChannelMessageHandler_jcall(const void LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 115, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 118, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -16382,13 +17066,17 @@ LDKInitFeatures provided_init_features_LDKChannelMessageHandler_jcall(const void } LDKCOption_CVec_ThirtyTwoBytesZZ get_chain_hashes_LDKChannelMessageHandler_jcall(const void* this_arg) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 116, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 119, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_CVec_ThirtyTwoBytesZZ ret_conv = *(LDKCOption_CVec_ThirtyTwoBytesZZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } +void message_received_LDKChannelMessageHandler_jcall(const void* this_arg) { + LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) this_arg; + js_invoke_function_uuuuuu(j_calls->instance_ptr, 120, 0, 0, 0, 0, 0, 0); +} static void LDKChannelMessageHandler_JCalls_cloned(LDKChannelMessageHandler* new_obj) { LDKChannelMessageHandler_JCalls *j_calls = (LDKChannelMessageHandler_JCalls*) new_obj->this_arg; atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); @@ -16436,6 +17124,7 @@ static inline LDKChannelMessageHandler LDKChannelMessageHandler_init (JSValue o, .provided_node_features = provided_node_features_LDKChannelMessageHandler_jcall, .provided_init_features = provided_init_features_LDKChannelMessageHandler_jcall, .get_chain_hashes = get_chain_hashes_LDKChannelMessageHandler_jcall, + .message_received = message_received_LDKChannelMessageHandler_jcall, .free = LDKChannelMessageHandler_JCalls_free, .MessageSendEventsProvider = LDKMessageSendEventsProvider_init(MessageSendEventsProvider), }; @@ -16959,6 +17648,13 @@ uint64_t __attribute__((export_name("TS_ChannelMessageHandler_get_chain_hashes" return ret_ref; } +void __attribute__((export_name("TS_ChannelMessageHandler_message_received"))) TS_ChannelMessageHandler_message_received(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKChannelMessageHandler* this_arg_conv = (LDKChannelMessageHandler*)this_arg_ptr; + (this_arg_conv->message_received)(this_arg_conv->this_arg); +} + typedef struct LDKOffersMessageHandler_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -16981,7 +17677,7 @@ LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ handle_message_LDKOffersMe uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 117, message_ref, context_ref, responder_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 121, message_ref, context_ref, responder_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ*)(ret_ptr); @@ -16990,7 +17686,7 @@ LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ handle_message_LDKOffersMe } LDKCVec_C2Tuple_OffersMessageMessageSendInstructionsZZ release_pending_messages_LDKOffersMessageHandler_jcall(const void* this_arg) { LDKOffersMessageHandler_JCalls *j_calls = (LDKOffersMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 118, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 122, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_OffersMessageMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17082,7 +17778,7 @@ static void LDKAsyncPaymentsMessageHandler_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKHeldHtlcAvailable message, LDKResponder responder) { +LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ handle_held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKHeldHtlcAvailable message, LDKResponder responder) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; LDKHeldHtlcAvailable message_var = message; uint64_t message_ref = 0; @@ -17092,24 +17788,27 @@ LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ held_htlc_available_LDKA uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 119, message_ref, responder_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 123, message_ref, responder_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -void release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKReleaseHeldHtlc message) { +void handle_release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg, LDKReleaseHeldHtlc message, LDKAsyncPaymentsContext context) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; LDKReleaseHeldHtlc message_var = message; uint64_t message_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - js_invoke_function_buuuuu(j_calls->instance_ptr, 120, message_ref, 0, 0, 0, 0, 0); + LDKAsyncPaymentsContext *context_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *context_copy = context; + uint64_t context_ref = tag_ptr(context_copy, true); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 124, message_ref, context_ref, 0, 0, 0, 0); } LDKCVec_C2Tuple_AsyncPaymentsMessageMessageSendInstructionsZZ release_pending_messages_LDKAsyncPaymentsMessageHandler_jcall(const void* this_arg) { LDKAsyncPaymentsMessageHandler_JCalls *j_calls = (LDKAsyncPaymentsMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 121, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 125, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_AsyncPaymentsMessageMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17139,8 +17838,8 @@ static inline LDKAsyncPaymentsMessageHandler LDKAsyncPaymentsMessageHandler_init LDKAsyncPaymentsMessageHandler ret = { .this_arg = (void*) calls, - .held_htlc_available = held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall, - .release_held_htlc = release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall, + .handle_held_htlc_available = handle_held_htlc_available_LDKAsyncPaymentsMessageHandler_jcall, + .handle_release_held_htlc = handle_release_held_htlc_LDKAsyncPaymentsMessageHandler_jcall, .release_pending_messages = release_pending_messages_LDKAsyncPaymentsMessageHandler_jcall, .free = LDKAsyncPaymentsMessageHandler_JCalls_free, }; @@ -17151,7 +17850,7 @@ uint64_t __attribute__((export_name("TS_LDKAsyncPaymentsMessageHandler_new"))) *res_ptr = LDKAsyncPaymentsMessageHandler_init(o); return tag_ptr(res_ptr, true); } -uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_held_htlc_available"))) TS_AsyncPaymentsMessageHandler_held_htlc_available(uint64_t this_arg, uint64_t message, uint64_t responder) { +uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_handle_held_htlc_available"))) TS_AsyncPaymentsMessageHandler_handle_held_htlc_available(uint64_t this_arg, uint64_t message, uint64_t responder) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKAsyncPaymentsMessageHandler* this_arg_conv = (LDKAsyncPaymentsMessageHandler*)this_arg_ptr; @@ -17166,12 +17865,12 @@ uint64_t __attribute__((export_name("TS_AsyncPaymentsMessageHandler_held_htlc_a CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_conv); responder_conv = Responder_clone(&responder_conv); LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ), "LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ"); - *ret_copy = (this_arg_conv->held_htlc_available)(this_arg_conv->this_arg, message_conv, responder_conv); + *ret_copy = (this_arg_conv->handle_held_htlc_available)(this_arg_conv->this_arg, message_conv, responder_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_held_htlc"))) TS_AsyncPaymentsMessageHandler_release_held_htlc(uint64_t this_arg, uint64_t message) { +void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_handle_release_held_htlc"))) TS_AsyncPaymentsMessageHandler_handle_release_held_htlc(uint64_t this_arg, uint64_t message, uint64_t context) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKAsyncPaymentsMessageHandler* this_arg_conv = (LDKAsyncPaymentsMessageHandler*)this_arg_ptr; @@ -17180,7 +17879,11 @@ void __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_held_ht message_conv.is_owned = ptr_is_owned(message); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); message_conv = ReleaseHeldHtlc_clone(&message_conv); - (this_arg_conv->release_held_htlc)(this_arg_conv->this_arg, message_conv); + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKAsyncPaymentsContext context_conv = *(LDKAsyncPaymentsContext*)(context_ptr); + context_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(context)); + (this_arg_conv->handle_release_held_htlc)(this_arg_conv->this_arg, message_conv, context_conv); } uint64_tArray __attribute__((export_name("TS_AsyncPaymentsMessageHandler_release_pending_messages"))) TS_AsyncPaymentsMessageHandler_release_pending_messages(uint64_t this_arg) { @@ -17201,6 +17904,165 @@ uint64_tArray __attribute__((export_name("TS_AsyncPaymentsMessageHandler_releas return ret_arr; } +typedef struct LDKDNSResolverMessageHandler_JCalls { + atomic_size_t refcnt; + uint32_t instance_ptr; +} LDKDNSResolverMessageHandler_JCalls; +static void LDKDNSResolverMessageHandler_JCalls_free(void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + if (atomic_fetch_sub_explicit(&j_calls->refcnt, 1, memory_order_acquire) == 1) { + FREE(j_calls); + } +} +LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ handle_dnssec_query_LDKDNSResolverMessageHandler_jcall(const void* this_arg, LDKDNSSECQuery message, LDKResponder responder) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + LDKDNSSECQuery message_var = message; + uint64_t message_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); + message_ref = tag_ptr(message_var.inner, message_var.is_owned); + LDKResponder responder_var = responder; + uint64_t responder_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); + responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); + uint64_t ret = js_invoke_function_bbuuuu(j_calls->instance_ptr, 126, message_ref, responder_ref, 0, 0, 0, 0); + void* ret_ptr = untag_ptr(ret); + CHECK_ACCESS(ret_ptr); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)(ret_ptr); + FREE(untag_ptr(ret)); + return ret_conv; +} +void handle_dnssec_proof_LDKDNSResolverMessageHandler_jcall(const void* this_arg, LDKDNSSECProof message, LDKDNSResolverContext context) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + LDKDNSSECProof message_var = message; + uint64_t message_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); + message_ref = tag_ptr(message_var.inner, message_var.is_owned); + LDKDNSResolverContext context_var = context; + uint64_t context_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_var); + context_ref = tag_ptr(context_var.inner, context_var.is_owned); + js_invoke_function_bbuuuu(j_calls->instance_ptr, 127, message_ref, context_ref, 0, 0, 0, 0); +} +LDKNodeFeatures provided_node_features_LDKDNSResolverMessageHandler_jcall(const void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 128, 0, 0, 0, 0, 0, 0); + LDKNodeFeatures ret_conv; + ret_conv.inner = untag_ptr(ret); + ret_conv.is_owned = ptr_is_owned(ret); + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv); + return ret_conv; +} +LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ release_pending_messages_LDKDNSResolverMessageHandler_jcall(const void* this_arg) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) this_arg; + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 129, 0, 0, 0, 0, 0, 0); + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret_constr; + ret_constr.datalen = ret->arr_len; + if (ret_constr.datalen > 0) + ret_constr.data = MALLOC(ret_constr.datalen * sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ Elements"); + else + ret_constr.data = NULL; + uint64_t* ret_vals = ret->elems; + for (size_t b = 0; b < ret_constr.datalen; b++) { + uint64_t ret_conv_53 = ret_vals[b]; + void* ret_conv_53_ptr = untag_ptr(ret_conv_53); + CHECK_ACCESS(ret_conv_53_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ ret_conv_53_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(ret_conv_53_ptr); + FREE(untag_ptr(ret_conv_53)); + ret_constr.data[b] = ret_conv_53_conv; + } + FREE(ret); + return ret_constr; +} +static void LDKDNSResolverMessageHandler_JCalls_cloned(LDKDNSResolverMessageHandler* new_obj) { + LDKDNSResolverMessageHandler_JCalls *j_calls = (LDKDNSResolverMessageHandler_JCalls*) new_obj->this_arg; + atomic_fetch_add_explicit(&j_calls->refcnt, 1, memory_order_release); +} +static inline LDKDNSResolverMessageHandler LDKDNSResolverMessageHandler_init (JSValue o) { + LDKDNSResolverMessageHandler_JCalls *calls = MALLOC(sizeof(LDKDNSResolverMessageHandler_JCalls), "LDKDNSResolverMessageHandler_JCalls"); + atomic_init(&calls->refcnt, 1); + calls->instance_ptr = o; + + LDKDNSResolverMessageHandler ret = { + .this_arg = (void*) calls, + .handle_dnssec_query = handle_dnssec_query_LDKDNSResolverMessageHandler_jcall, + .handle_dnssec_proof = handle_dnssec_proof_LDKDNSResolverMessageHandler_jcall, + .provided_node_features = provided_node_features_LDKDNSResolverMessageHandler_jcall, + .release_pending_messages = release_pending_messages_LDKDNSResolverMessageHandler_jcall, + .free = LDKDNSResolverMessageHandler_JCalls_free, + }; + return ret; +} +uint64_t __attribute__((export_name("TS_LDKDNSResolverMessageHandler_new"))) TS_LDKDNSResolverMessageHandler_new(JSValue o) { + LDKDNSResolverMessageHandler *res_ptr = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *res_ptr = LDKDNSResolverMessageHandler_init(o); + return tag_ptr(res_ptr, true); +} +uint64_t __attribute__((export_name("TS_DNSResolverMessageHandler_handle_dnssec_query"))) TS_DNSResolverMessageHandler_handle_dnssec_query(uint64_t this_arg, uint64_t message, uint64_t responder) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKDNSSECQuery message_conv; + message_conv.inner = untag_ptr(message); + message_conv.is_owned = ptr_is_owned(message); + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); + message_conv = DNSSECQuery_clone(&message_conv); + LDKResponder responder_conv; + responder_conv.inner = untag_ptr(responder); + responder_conv.is_owned = ptr_is_owned(responder); + CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_conv); + responder_conv = Responder_clone(&responder_conv); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = (this_arg_conv->handle_dnssec_query)(this_arg_conv->this_arg, message_conv, responder_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_DNSResolverMessageHandler_handle_dnssec_proof"))) TS_DNSResolverMessageHandler_handle_dnssec_proof(uint64_t this_arg, uint64_t message, uint64_t context) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKDNSSECProof message_conv; + message_conv.inner = untag_ptr(message); + message_conv.is_owned = ptr_is_owned(message); + CHECK_INNER_FIELD_ACCESS_OR_NULL(message_conv); + message_conv = DNSSECProof_clone(&message_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + (this_arg_conv->handle_dnssec_proof)(this_arg_conv->this_arg, message_conv, context_conv); +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessageHandler_provided_node_features"))) TS_DNSResolverMessageHandler_provided_node_features(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKNodeFeatures ret_var = (this_arg_conv->provided_node_features)(this_arg_conv->this_arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_tArray __attribute__((export_name("TS_DNSResolverMessageHandler_release_pending_messages"))) TS_DNSResolverMessageHandler_release_pending_messages(uint64_t this_arg) { + void* this_arg_ptr = untag_ptr(this_arg); + if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } + LDKDNSResolverMessageHandler* this_arg_conv = (LDKDNSResolverMessageHandler*)this_arg_ptr; + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ ret_var = (this_arg_conv->release_pending_messages)(this_arg_conv->this_arg); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t b = 0; b < ret_var.datalen; b++) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv_53_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv_53_conv = ret_var.data[b]; + ret_arr_ptr[b] = tag_ptr(ret_conv_53_conv, true); + } + + FREE(ret_var.data); + return ret_arr; +} + typedef struct LDKNodeIdLookUp_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -17214,7 +18076,7 @@ static void LDKNodeIdLookUp_JCalls_free(void* this_arg) { LDKPublicKey next_node_id_LDKNodeIdLookUp_jcall(const void* this_arg, uint64_t short_channel_id) { LDKNodeIdLookUp_JCalls *j_calls = (LDKNodeIdLookUp_JCalls*) this_arg; int64_t short_channel_id_conv = short_channel_id; - int8_tArray ret = (int8_tArray)js_invoke_function_buuuuu(j_calls->instance_ptr, 122, short_channel_id_conv, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_buuuuu(j_calls->instance_ptr, 130, short_channel_id_conv, 0, 0, 0, 0, 0); LDKPublicKey ret_ref; CHECK(ret->arr_len == 33); memcpy(ret_ref.compressed_form, ret->elems, 33); FREE(ret); @@ -17261,42 +18123,48 @@ static void LDKRoutingMessageHandler_JCalls_free(void* this_arg) { FREE(j_calls); } } -LDKCResult_boolLightningErrorZ handle_node_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKNodeAnnouncement * msg) { +LDKCResult_boolLightningErrorZ handle_node_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKNodeAnnouncement * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKNodeAnnouncement msg_var = *msg; uint64_t msg_ref = 0; msg_var = NodeAnnouncement_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 123, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 131, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_boolLightningErrorZ handle_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKChannelAnnouncement * msg) { +LDKCResult_boolLightningErrorZ handle_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelAnnouncement * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKChannelAnnouncement msg_var = *msg; uint64_t msg_ref = 0; msg_var = ChannelAnnouncement_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 124, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 132, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); FREE(untag_ptr(ret)); return ret_conv; } -LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jcall(const void* this_arg, const LDKChannelUpdate * msg) { +LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKChannelUpdate * msg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; + int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); + memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); LDKChannelUpdate msg_var = *msg; uint64_t msg_ref = 0; msg_var = ChannelUpdate_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 125, msg_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 133, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_boolLightningErrorZ ret_conv = *(LDKCResult_boolLightningErrorZ*)(ret_ptr); @@ -17306,7 +18174,7 @@ LDKCResult_boolLightningErrorZ handle_channel_update_LDKRoutingMessageHandler_jc LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ get_next_channel_announcement_LDKRoutingMessageHandler_jcall(const void* this_arg, uint64_t starting_point) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; int64_t starting_point_conv = starting_point; - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 126, starting_point_conv, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 134, starting_point_conv, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ ret_conv = *(LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ*)(ret_ptr); @@ -17319,7 +18187,7 @@ LDKNodeAnnouncement get_next_node_announcement_LDKRoutingMessageHandler_jcall(co uint64_t starting_point_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(starting_point_var); starting_point_ref = tag_ptr(starting_point_var.inner, starting_point_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 127, starting_point_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 135, starting_point_ref, 0, 0, 0, 0, 0); LDKNodeAnnouncement ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17336,7 +18204,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKRoutingMessageHandler_jcall(const void* t CHECK_INNER_FIELD_ACCESS_OR_NULL(init_var); init_ref = tag_ptr(init_var.inner, init_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 128, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 136, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17351,7 +18219,7 @@ LDKCResult_NoneLightningErrorZ handle_reply_channel_range_LDKRoutingMessageHandl uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 129, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 137, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17366,7 +18234,7 @@ LDKCResult_NoneLightningErrorZ handle_reply_short_channel_ids_end_LDKRoutingMess uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 130, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 138, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17381,7 +18249,7 @@ LDKCResult_NoneLightningErrorZ handle_query_channel_range_LDKRoutingMessageHandl uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 131, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 139, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17396,7 +18264,7 @@ LDKCResult_NoneLightningErrorZ handle_query_short_channel_ids_LDKRoutingMessageH uint64_t msg_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 132, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 140, (uint32_t)their_node_id_arr, msg_ref, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17405,11 +18273,11 @@ LDKCResult_NoneLightningErrorZ handle_query_short_channel_ids_LDKRoutingMessageH } bool processing_queue_high_LDKRoutingMessageHandler_jcall(const void* this_arg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 133, 0, 0, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 141, 0, 0, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKRoutingMessageHandler_jcall(const void* this_arg) { LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 134, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 142, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17420,7 +18288,7 @@ LDKInitFeatures provided_init_features_LDKRoutingMessageHandler_jcall(const void LDKRoutingMessageHandler_JCalls *j_calls = (LDKRoutingMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 135, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 143, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17463,45 +18331,54 @@ uint64_t __attribute__((export_name("TS_LDKRoutingMessageHandler_new"))) TS_LDK *res_ptr = LDKRoutingMessageHandler_init(o, MessageSendEventsProvider); return tag_ptr(res_ptr, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_node_announcement"))) TS_RoutingMessageHandler_handle_node_announcement(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_node_announcement"))) TS_RoutingMessageHandler_handle_node_announcement(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKNodeAnnouncement msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_node_announcement)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_node_announcement)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_announcement"))) TS_RoutingMessageHandler_handle_channel_announcement(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_announcement"))) TS_RoutingMessageHandler_handle_channel_announcement(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKChannelAnnouncement msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_channel_announcement)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_channel_announcement)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_update"))) TS_RoutingMessageHandler_handle_channel_update(uint64_t this_arg, uint64_t msg) { +uint64_t __attribute__((export_name("TS_RoutingMessageHandler_handle_channel_update"))) TS_RoutingMessageHandler_handle_channel_update(uint64_t this_arg, int8_tArray their_node_id, uint64_t msg) { void* this_arg_ptr = untag_ptr(this_arg); if (ptr_is_owned(this_arg)) { CHECK_ACCESS(this_arg_ptr); } LDKRoutingMessageHandler* this_arg_conv = (LDKRoutingMessageHandler*)this_arg_ptr; + LDKPublicKey their_node_id_ref; + CHECK(their_node_id->arr_len == 33); + memcpy(their_node_id_ref.compressed_form, their_node_id->elems, 33); FREE(their_node_id); LDKChannelUpdate msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); msg_conv.is_owned = false; LDKCResult_boolLightningErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_boolLightningErrorZ), "LDKCResult_boolLightningErrorZ"); - *ret_conv = (this_arg_conv->handle_channel_update)(this_arg_conv->this_arg, &msg_conv); + *ret_conv = (this_arg_conv->handle_channel_update)(this_arg_conv->this_arg, their_node_id_ref, &msg_conv); return tag_ptr(ret_conv, true); } @@ -17668,13 +18545,13 @@ void handle_onion_message_LDKOnionMessageHandler_jcall(const void* this_arg, LDK msg_var = OnionMessage_clone(&msg_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); - js_invoke_function_ubuuuu(j_calls->instance_ptr, 136, (uint32_t)peer_node_id_arr, msg_ref, 0, 0, 0, 0); + js_invoke_function_ubuuuu(j_calls->instance_ptr, 144, (uint32_t)peer_node_id_arr, msg_ref, 0, 0, 0, 0); } LDKOnionMessage next_onion_message_for_peer_LDKOnionMessageHandler_jcall(const void* this_arg, LDKPublicKey peer_node_id) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray peer_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(peer_node_id_arr->elems, peer_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 137, (uint32_t)peer_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 145, (uint32_t)peer_node_id_arr, 0, 0, 0, 0, 0); LDKOnionMessage ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17691,7 +18568,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKOnionMessageHandler_jcall(const void* thi CHECK_INNER_FIELD_ACCESS_OR_NULL(init_var); init_ref = tag_ptr(init_var.inner, init_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 138, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 146, (uint32_t)their_node_id_arr, init_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17702,15 +18579,15 @@ void peer_disconnected_LDKOnionMessageHandler_jcall(const void* this_arg, LDKPub LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 139, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 147, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } void timer_tick_occurred_LDKOnionMessageHandler_jcall(const void* this_arg) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 140, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 148, 0, 0, 0, 0, 0, 0); } LDKNodeFeatures provided_node_features_LDKOnionMessageHandler_jcall(const void* this_arg) { LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 141, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 149, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17721,7 +18598,7 @@ LDKInitFeatures provided_init_features_LDKOnionMessageHandler_jcall(const void* LDKOnionMessageHandler_JCalls *j_calls = (LDKOnionMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 142, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 150, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17859,7 +18736,7 @@ LDKCResult_COption_TypeZDecodeErrorZ read_LDKCustomMessageReader_jcall(const voi LDKu8slice buffer_var = buffer; int8_tArray buffer_arr = init_int8_tArray(buffer_var.datalen, __LINE__); memcpy(buffer_arr->elems, buffer_var.data, buffer_var.datalen); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 143, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 151, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_COption_TypeZDecodeErrorZ ret_conv = *(LDKCResult_COption_TypeZDecodeErrorZ*)(ret_ptr); @@ -17917,7 +18794,7 @@ LDKCResult_NoneLightningErrorZ handle_custom_message_LDKCustomMessageHandler_jca *msg_ret = msg; int8_tArray sender_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(sender_node_id_arr->elems, sender_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 144, tag_ptr(msg_ret, true), (uint32_t)sender_node_id_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 152, tag_ptr(msg_ret, true), (uint32_t)sender_node_id_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneLightningErrorZ ret_conv = *(LDKCResult_NoneLightningErrorZ*)(ret_ptr); @@ -17926,7 +18803,7 @@ LDKCResult_NoneLightningErrorZ handle_custom_message_LDKCustomMessageHandler_jca } LDKCVec_C2Tuple_PublicKeyTypeZZ get_and_clear_pending_msg_LDKCustomMessageHandler_jcall(const void* this_arg) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 145, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 153, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_PublicKeyTypeZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -17949,7 +18826,7 @@ void peer_disconnected_LDKCustomMessageHandler_jcall(const void* this_arg, LDKPu LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - js_invoke_function_uuuuuu(j_calls->instance_ptr, 146, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 154, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); } LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* this_arg, LDKPublicKey their_node_id, const LDKInit * msg, bool inbound) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; @@ -17961,7 +18838,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* th CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_var); msg_ref = tag_ptr(msg_var.inner, msg_var.is_owned); jboolean inbound_conv = inbound; - uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 147, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); + uint64_t ret = js_invoke_function_ubuuuu(j_calls->instance_ptr, 155, (uint32_t)their_node_id_arr, msg_ref, inbound_conv, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_NoneNoneZ ret_conv = *(LDKCResult_NoneNoneZ*)(ret_ptr); @@ -17970,7 +18847,7 @@ LDKCResult_NoneNoneZ peer_connected_LDKCustomMessageHandler_jcall(const void* th } LDKNodeFeatures provided_node_features_LDKCustomMessageHandler_jcall(const void* this_arg) { LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 148, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 156, 0, 0, 0, 0, 0, 0); LDKNodeFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -17981,7 +18858,7 @@ LDKInitFeatures provided_init_features_LDKCustomMessageHandler_jcall(const void* LDKCustomMessageHandler_JCalls *j_calls = (LDKCustomMessageHandler_JCalls*) this_arg; int8_tArray their_node_id_arr = init_int8_tArray(33, __LINE__); memcpy(their_node_id_arr->elems, their_node_id.compressed_form, 33); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 149, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 157, (uint32_t)their_node_id_arr, 0, 0, 0, 0, 0); LDKInitFeatures ret_conv; ret_conv.inner = untag_ptr(ret); ret_conv.is_owned = ptr_is_owned(ret); @@ -18127,7 +19004,7 @@ LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ handle_custom_messa uint64_t responder_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(responder_var); responder_ref = tag_ptr(responder_var.inner, responder_var.is_owned); - uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 150, tag_ptr(message_ret, true), context_ref, responder_ref, 0, 0, 0); + uint64_t ret = js_invoke_function_bbbuuu(j_calls->instance_ptr, 158, tag_ptr(message_ret, true), context_ref, responder_ref, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ ret_conv = *(LDKCOption_C2Tuple_OnionMessageContentsResponseInstructionZZ*)(ret_ptr); @@ -18140,7 +19017,7 @@ LDKCResult_COption_OnionMessageContentsZDecodeErrorZ read_custom_message_LDKCust LDKu8slice buffer_var = buffer; int8_tArray buffer_arr = init_int8_tArray(buffer_var.datalen, __LINE__); memcpy(buffer_arr->elems, buffer_var.data, buffer_var.datalen); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 151, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 159, message_type_conv, (uint32_t)buffer_arr, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_COption_OnionMessageContentsZDecodeErrorZ ret_conv = *(LDKCResult_COption_OnionMessageContentsZDecodeErrorZ*)(ret_ptr); @@ -18149,7 +19026,7 @@ LDKCResult_COption_OnionMessageContentsZDecodeErrorZ read_custom_message_LDKCust } LDKCVec_C2Tuple_OnionMessageContentsMessageSendInstructionsZZ release_pending_custom_messages_LDKCustomOnionMessageHandler_jcall(const void* this_arg) { LDKCustomOnionMessageHandler_JCalls *j_calls = (LDKCustomOnionMessageHandler_JCalls*) this_arg; - uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 152, 0, 0, 0, 0, 0, 0); + uint64_tArray ret = (uint64_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 160, 0, 0, 0, 0, 0, 0); LDKCVec_C2Tuple_OnionMessageContentsMessageSendInstructionsZZ ret_constr; ret_constr.datalen = ret->arr_len; if (ret_constr.datalen > 0) @@ -18264,21 +19141,21 @@ uintptr_t send_data_LDKSocketDescriptor_jcall(void* this_arg, LDKu8slice data, b int8_tArray data_arr = init_int8_tArray(data_var.datalen, __LINE__); memcpy(data_arr->elems, data_var.data, data_var.datalen); jboolean resume_read_conv = resume_read; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 153, (uint32_t)data_arr, resume_read_conv, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 161, (uint32_t)data_arr, resume_read_conv, 0, 0, 0, 0); } void disconnect_socket_LDKSocketDescriptor_jcall(void* this_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; - js_invoke_function_uuuuuu(j_calls->instance_ptr, 154, 0, 0, 0, 0, 0, 0); + js_invoke_function_uuuuuu(j_calls->instance_ptr, 162, 0, 0, 0, 0, 0, 0); } bool eq_LDKSocketDescriptor_jcall(const void* this_arg, const LDKSocketDescriptor * other_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; LDKSocketDescriptor *other_arg_clone = MALLOC(sizeof(LDKSocketDescriptor), "LDKSocketDescriptor"); *other_arg_clone = SocketDescriptor_clone(other_arg); - return js_invoke_function_buuuuu(j_calls->instance_ptr, 155, tag_ptr(other_arg_clone, true), 0, 0, 0, 0, 0); + return js_invoke_function_buuuuu(j_calls->instance_ptr, 163, tag_ptr(other_arg_clone, true), 0, 0, 0, 0, 0); } uint64_t hash_LDKSocketDescriptor_jcall(const void* this_arg) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) this_arg; - return js_invoke_function_uuuuuu(j_calls->instance_ptr, 156, 0, 0, 0, 0, 0, 0); + return js_invoke_function_uuuuuu(j_calls->instance_ptr, 164, 0, 0, 0, 0, 0, 0); } static void LDKSocketDescriptor_JCalls_cloned(LDKSocketDescriptor* new_obj) { LDKSocketDescriptor_JCalls *j_calls = (LDKSocketDescriptor_JCalls*) new_obj->this_arg; @@ -18332,22 +19209,6 @@ int64_t __attribute__((export_name("TS_SocketDescriptor_hash"))) TS_SocketDescr return ret_conv; } -uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_ty_from_ptr"))) TS_LDKBolt12PaymentError_ty_from_ptr(uint64_t ptr) { - LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); - switch(obj->tag) { - case LDKBolt12PaymentError_UnexpectedInvoice: return 0; - case LDKBolt12PaymentError_DuplicateInvoice: return 1; - case LDKBolt12PaymentError_UnknownRequiredFeatures: return 2; - case LDKBolt12PaymentError_SendingFailed: return 3; - default: abort(); - } -} -uint32_t __attribute__((export_name("TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed"))) TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(uint64_t ptr) { - LDKBolt12PaymentError *obj = (LDKBolt12PaymentError*)untag_ptr(ptr); - assert(obj->tag == LDKBolt12PaymentError_SendingFailed); - uint32_t sending_failed_conv = LDKRetryableSendFailure_to_js(obj->sending_failed); - return sending_failed_conv; -} typedef struct LDKSignBolt12InvoiceFn_JCalls { atomic_size_t refcnt; uint32_t instance_ptr; @@ -18365,7 +19226,7 @@ LDKCResult_SchnorrSignatureNoneZ sign_invoice_LDKSignBolt12InvoiceFn_jcall(const message_var = UnsignedBolt12Invoice_clone(&message_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 157, message_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 165, message_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); @@ -18424,7 +19285,7 @@ LDKCResult_SchnorrSignatureNoneZ sign_invoice_request_LDKSignInvoiceRequestFn_jc message_var = UnsignedInvoiceRequest_clone(&message_var); CHECK_INNER_FIELD_ACCESS_OR_NULL(message_var); message_ref = tag_ptr(message_var.inner, message_var.is_owned); - uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 158, message_ref, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_buuuuu(j_calls->instance_ptr, 166, message_ref, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_SchnorrSignatureNoneZ ret_conv = *(LDKCResult_SchnorrSignatureNoneZ*)(ret_ptr); @@ -18609,7 +19470,7 @@ static void LDKScore_JCalls_free(void* this_arg) { } LDKCVec_u8Z write_LDKScore_jcall(const void* this_arg) { LDKScore_JCalls *j_calls = (LDKScore_JCalls*) this_arg; - int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 159, 0, 0, 0, 0, 0, 0); + int8_tArray ret = (int8_tArray)js_invoke_function_uuuuuu(j_calls->instance_ptr, 167, 0, 0, 0, 0, 0, 0); LDKCVec_u8Z ret_ref; ret_ref.datalen = ret->arr_len; ret_ref.data = MALLOC(ret_ref.datalen, "LDKCVec_u8Z Bytes"); @@ -18720,7 +19581,7 @@ LDKCResult_CoinSelectionNoneZ select_confirmed_utxos_LDKCoinSelectionSource_jcal FREE(must_pay_to_var.data); int32_t target_feerate_sat_per_1000_weight_conv = target_feerate_sat_per_1000_weight; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 160, (uint32_t)claim_id_arr, (uint32_t)must_spend_arr, (uint32_t)must_pay_to_arr, target_feerate_sat_per_1000_weight_conv, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 168, (uint32_t)claim_id_arr, (uint32_t)must_spend_arr, (uint32_t)must_pay_to_arr, target_feerate_sat_per_1000_weight_conv, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CoinSelectionNoneZ ret_conv = *(LDKCResult_CoinSelectionNoneZ*)(ret_ptr); @@ -18733,7 +19594,7 @@ LDKCResult_TransactionNoneZ sign_psbt_LDKCoinSelectionSource_jcall(const void* t int8_tArray psbt_arr = init_int8_tArray(psbt_var.datalen, __LINE__); memcpy(psbt_arr->elems, psbt_var.data, psbt_var.datalen); CVec_u8Z_free(psbt_var); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 161, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 169, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_TransactionNoneZ ret_conv = *(LDKCResult_TransactionNoneZ*)(ret_ptr); @@ -18832,7 +19693,7 @@ static void LDKWalletSource_JCalls_free(void* this_arg) { } LDKCResult_CVec_UtxoZNoneZ list_confirmed_utxos_LDKWalletSource_jcall(const void* this_arg) { LDKWalletSource_JCalls *j_calls = (LDKWalletSource_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 162, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 170, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_UtxoZNoneZ ret_conv = *(LDKCResult_CVec_UtxoZNoneZ*)(ret_ptr); @@ -18841,7 +19702,7 @@ LDKCResult_CVec_UtxoZNoneZ list_confirmed_utxos_LDKWalletSource_jcall(const void } LDKCResult_CVec_u8ZNoneZ get_change_script_LDKWalletSource_jcall(const void* this_arg) { LDKWalletSource_JCalls *j_calls = (LDKWalletSource_JCalls*) this_arg; - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 163, 0, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 171, 0, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_CVec_u8ZNoneZ ret_conv = *(LDKCResult_CVec_u8ZNoneZ*)(ret_ptr); @@ -18854,7 +19715,7 @@ LDKCResult_TransactionNoneZ sign_psbt_LDKWalletSource_jcall(const void* this_arg int8_tArray psbt_arr = init_int8_tArray(psbt_var.datalen, __LINE__); memcpy(psbt_arr->elems, psbt_var.data, psbt_var.datalen); CVec_u8Z_free(psbt_var); - uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 164, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); + uint64_t ret = js_invoke_function_uuuuuu(j_calls->instance_ptr, 172, (uint32_t)psbt_arr, 0, 0, 0, 0, 0); void* ret_ptr = untag_ptr(ret); CHECK_ACCESS(ret_ptr); LDKCResult_TransactionNoneZ ret_conv = *(LDKCResult_TransactionNoneZ*)(ret_ptr); @@ -19591,95 +20452,6 @@ uint64_t __attribute__((export_name("TS_CResult_RetryDecodeErrorZ_clone"))) TS_ return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_ok"))) TS_CResult_NoneAPIErrorZ_ok() { - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_ok(); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_err"))) TS_CResult_NoneAPIErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKAPIError e_conv = *(LDKAPIError*)(e_ptr); - e_conv = APIError_clone((LDKAPIError*)untag_ptr(e)); - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_NoneAPIErrorZ_is_ok"))) TS_CResult_NoneAPIErrorZ_is_ok(uint64_t o) { - LDKCResult_NoneAPIErrorZ* o_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_NoneAPIErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_free"))) TS_CResult_NoneAPIErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_NoneAPIErrorZ _res_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_NoneAPIErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg) { - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone_ptr"))) TS_CResult_NoneAPIErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_NoneAPIErrorZ* arg_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NoneAPIErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone"))) TS_CResult_NoneAPIErrorZ_clone(uint64_t orig) { - LDKCResult_NoneAPIErrorZ* orig_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(orig); - LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); - *ret_conv = CResult_NoneAPIErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_CVec_CResult_NoneAPIErrorZZ_free"))) TS_CVec_CResult_NoneAPIErrorZZ_free(uint64_tArray _res) { - LDKCVec_CResult_NoneAPIErrorZZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t w = 0; w < _res_constr.datalen; w++) { - uint64_t _res_conv_22 = _res_vals[w]; - void* _res_conv_22_ptr = untag_ptr(_res_conv_22); - CHECK_ACCESS(_res_conv_22_ptr); - LDKCResult_NoneAPIErrorZ _res_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_conv_22_ptr); - FREE(untag_ptr(_res_conv_22)); - _res_constr.data[w] = _res_conv_22_conv; - } - FREE(_res); - CVec_CResult_NoneAPIErrorZZ_free(_res_constr); -} - -void __attribute__((export_name("TS_CVec_APIErrorZ_free"))) TS_CVec_APIErrorZ_free(uint64_tArray _res) { - LDKCVec_APIErrorZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKAPIError), "LDKCVec_APIErrorZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t k = 0; k < _res_constr.datalen; k++) { - uint64_t _res_conv_10 = _res_vals[k]; - void* _res_conv_10_ptr = untag_ptr(_res_conv_10); - CHECK_ACCESS(_res_conv_10_ptr); - LDKAPIError _res_conv_10_conv = *(LDKAPIError*)(_res_conv_10_ptr); - FREE(untag_ptr(_res_conv_10)); - _res_constr.data[k] = _res_conv_10_conv; - } - FREE(_res); - CVec_APIErrorZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_COption_ThirtyTwoBytesZ_some"))) TS_COption_ThirtyTwoBytesZ_some(int8_tArray o) { LDKThirtyTwoBytes o_ref; CHECK(o->arr_len == 32); @@ -19934,6 +20706,664 @@ uint64_t __attribute__((export_name("TS_CResult_RecipientOnionFieldsNoneZ_clone return tag_ptr(ret_conv, true); } +static inline uint64_t C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* arg_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone(uint64_t orig) { + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* orig_conv = (LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(orig); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_new"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_new(uint64_t a, uint64_t b) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + LDKResponseInstruction b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = ResponseInstruction_clone(&b_conv); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageResponseInstructionZ), "LDKC2Tuple_DNSResolverMessageResponseInstructionZ"); + *ret_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSResolverMessageResponseInstructionZ_free"))) TS_C2Tuple_DNSResolverMessageResponseInstructionZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ _res_conv = *(LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSResolverMessageResponseInstructionZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_DNSResolverMessageResponseInstructionZ o_conv = *(LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)(o_ptr); + o_conv = C2Tuple_DNSResolverMessageResponseInstructionZ_clone((LDKC2Tuple_DNSResolverMessageResponseInstructionZ*)untag_ptr(o)); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none() { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ _res_conv = *(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ* arg_conv = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone"))) TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ* orig_conv = (LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ), "LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ"); + *ret_copy = COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline uint64_t C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* arg_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(uint64_t orig) { + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* orig_conv = (LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)untag_ptr(orig); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(uint64_t a, uint64_t b) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + void* b_ptr = untag_ptr(b); + CHECK_ACCESS(b_ptr); + LDKMessageSendInstructions b_conv = *(LDKMessageSendInstructions*)(b_ptr); + b_conv = MessageSendInstructions_clone((LDKMessageSendInstructions*)untag_ptr(b)); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ"); + *ret_conv = C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free"))) TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ _res_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free"))) TS_CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(uint64_tArray _res) { + LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ), "LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t b = 0; b < _res_constr.datalen; b++) { + uint64_t _res_conv_53 = _res_vals[b]; + void* _res_conv_53_ptr = untag_ptr(_res_conv_53); + CHECK_ACCESS(_res_conv_53_ptr); + LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ _res_conv_53_conv = *(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ*)(_res_conv_53_ptr); + FREE(untag_ptr(_res_conv_53)); + _res_constr.data[b] = _res_conv_53_conv; + } + FREE(_res); + CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(_res_constr); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKDNSResolverMessage o_conv = *(LDKDNSResolverMessage*)(o_ptr); + o_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(o)); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_err"))) TS_CResult_DNSResolverMessageDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_is_ok"))) TS_CResult_DNSResolverMessageDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_DNSResolverMessageDecodeErrorZ* o_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_DNSResolverMessageDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_free"))) TS_CResult_DNSResolverMessageDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_DNSResolverMessageDecodeErrorZ _res_conv = *(LDKCResult_DNSResolverMessageDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_DNSResolverMessageDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_clone_ptr"))) TS_CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_DNSResolverMessageDecodeErrorZ* arg_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverMessageDecodeErrorZ_clone"))) TS_CResult_DNSResolverMessageDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_DNSResolverMessageDecodeErrorZ* orig_conv = (LDKCResult_DNSResolverMessageDecodeErrorZ*)untag_ptr(orig); + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = CResult_DNSResolverMessageDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_ok"))) TS_CResult_HumanReadableNameNoneZ_ok(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = HumanReadableName_clone(&o_conv); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_err"))) TS_CResult_HumanReadableNameNoneZ_err() { + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_is_ok"))) TS_CResult_HumanReadableNameNoneZ_is_ok(uint64_t o) { + LDKCResult_HumanReadableNameNoneZ* o_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_HumanReadableNameNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_free"))) TS_CResult_HumanReadableNameNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_HumanReadableNameNoneZ _res_conv = *(LDKCResult_HumanReadableNameNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_HumanReadableNameNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_HumanReadableNameNoneZ_clone_ptr(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR arg) { + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_clone_ptr"))) TS_CResult_HumanReadableNameNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_HumanReadableNameNoneZ* arg_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_HumanReadableNameNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameNoneZ_clone"))) TS_CResult_HumanReadableNameNoneZ_clone(uint64_t orig) { + LDKCResult_HumanReadableNameNoneZ* orig_conv = (LDKCResult_HumanReadableNameNoneZ*)untag_ptr(orig); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = CResult_HumanReadableNameNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_ok(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = HumanReadableName_clone(&o_conv); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_err"))) TS_CResult_HumanReadableNameDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_is_ok"))) TS_CResult_HumanReadableNameDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_HumanReadableNameDecodeErrorZ* o_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_HumanReadableNameDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_free"))) TS_CResult_HumanReadableNameDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_HumanReadableNameDecodeErrorZ _res_conv = *(LDKCResult_HumanReadableNameDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_HumanReadableNameDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_HumanReadableNameDecodeErrorZ_clone_ptr(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_clone_ptr"))) TS_CResult_HumanReadableNameDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_HumanReadableNameDecodeErrorZ* arg_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_HumanReadableNameDecodeErrorZ_clone"))) TS_CResult_HumanReadableNameDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_HumanReadableNameDecodeErrorZ* orig_conv = (LDKCResult_HumanReadableNameDecodeErrorZ*)untag_ptr(orig); + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = CResult_HumanReadableNameDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +static inline uint64_t C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR arg) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* arg_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone(uint64_t orig) { + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* orig_conv = (LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(orig); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_new"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_new(uint64_t a, uint64_t b) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECQuery_clone(&a_conv); + LDKDNSResolverContext b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = DNSResolverContext_clone(&b_conv); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_DNSSECQueryDNSResolverContextZ), "LDKC2Tuple_DNSSECQueryDNSResolverContextZ"); + *ret_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_new(a_conv, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_DNSSECQueryDNSResolverContextZ_free"))) TS_C2Tuple_DNSSECQueryDNSResolverContextZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ _res_conv = *(LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_DNSSECQueryDNSResolverContextZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_DNSSECQueryDNSResolverContextZ o_conv = *(LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)(o_ptr); + o_conv = C2Tuple_DNSSECQueryDNSResolverContextZ_clone((LDKC2Tuple_DNSSECQueryDNSResolverContextZ*)untag_ptr(o)); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err() { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(uint64_t o) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* o_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ _res_conv = *(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR arg) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* arg_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone"))) TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(uint64_t orig) { + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* orig_conv = (LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ*)untag_ptr(orig); + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +static inline uint64_t C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR arg) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* arg_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(uint64_t orig) { + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* orig_conv = (LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(orig); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_new"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(uint64_t a, int8_tArray b) { + LDKHumanReadableName a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = HumanReadableName_clone(&a_conv); + LDKThirtyTwoBytes b_ref; + CHECK(b->arr_len == 32); + memcpy(b_ref.data, b->elems, 32); FREE(b); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ"); + *ret_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(a_conv, b_ref); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_free"))) TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ _res_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free"))) TS_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(uint64_tArray _res) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t r = 0; r < _res_constr.datalen; r++) { + uint64_t _res_conv_43 = _res_vals[r]; + void* _res_conv_43_ptr = untag_ptr(_res_conv_43); + CHECK_ACCESS(_res_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ _res_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(_res_conv_43_ptr); + FREE(untag_ptr(_res_conv_43)); + _res_constr.data[r] = _res_conv_43_conv; + } + FREE(_res); + CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(_res_constr); +} + +static inline uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* arg_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(uint64_t orig) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* orig_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(orig); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(uint64_tArray a, uint64_t b) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a_constr; + a_constr.datalen = a->arr_len; + if (a_constr.datalen > 0) + a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + a_constr.data = NULL; + uint64_t* a_vals = a->elems; + for (size_t r = 0; r < a_constr.datalen; r++) { + uint64_t a_conv_43 = a_vals[r]; + void* a_conv_43_ptr = untag_ptr(a_conv_43); + CHECK_ACCESS(a_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ a_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(a_conv_43_ptr); + a_conv_43_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone((LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(a_conv_43)); + a_constr.data[r] = a_conv_43_conv; + } + FREE(a); + LDKOffer b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = Offer_clone(&b_conv); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(a_constr, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ _res_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ o_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)(o_ptr); + o_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone((LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ*)untag_ptr(o)); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none() { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ _res_conv = *(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ* arg_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ* orig_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +static inline uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* arg_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(uint64_t orig) { + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* orig_conv = (LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(orig); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(uint64_tArray a, jstring b) { + LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a_constr; + a_constr.datalen = a->arr_len; + if (a_constr.datalen > 0) + a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ), "LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ Elements"); + else + a_constr.data = NULL; + uint64_t* a_vals = a->elems; + for (size_t r = 0; r < a_constr.datalen; r++) { + uint64_t a_conv_43 = a_vals[r]; + void* a_conv_43_ptr = untag_ptr(a_conv_43); + CHECK_ACCESS(a_conv_43_ptr); + LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ a_conv_43_conv = *(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)(a_conv_43_ptr); + a_conv_43_conv = C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone((LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ*)untag_ptr(a_conv_43)); + a_constr.data[r] = a_conv_43_conv; + } + FREE(a); + LDKStr b_conv = str_ref_to_owned_c(b); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ), "LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ"); + *ret_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(a_constr, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free"))) TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ _res_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ o_conv = *(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)(o_ptr); + o_conv = C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone((LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ*)untag_ptr(o)); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none() { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ _res_conv = *(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ* arg_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone"))) TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ* orig_conv = (LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_ok"))) TS_CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_ok(uint64_t o) { LDKUnsignedBolt12Invoice o_conv; o_conv.inner = untag_ptr(o); @@ -20084,6 +21514,26 @@ uint64_t __attribute__((export_name("TS_CResult_SchnorrSignatureNoneZ_clone"))) return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_CVec_BlindedPaymentPathZ_free"))) TS_CVec_BlindedPaymentPathZ_free(uint64_tArray _res) { + LDKCVec_BlindedPaymentPathZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKBlindedPaymentPath), "LDKCVec_BlindedPaymentPathZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t u = 0; u < _res_constr.datalen; u++) { + uint64_t _res_conv_20 = _res_vals[u]; + LDKBlindedPaymentPath _res_conv_20_conv; + _res_conv_20_conv.inner = untag_ptr(_res_conv_20); + _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); + _res_constr.data[u] = _res_conv_20_conv; + } + FREE(_res); + CVec_BlindedPaymentPathZ_free(_res_constr); +} + void __attribute__((export_name("TS_CVec_StrZ_free"))) TS_CVec_StrZ_free(ptrArray _res) { LDKCVec_StrZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -21780,26 +23230,6 @@ uint64_t __attribute__((export_name("TS_CResult_RouteLightningErrorZ_clone"))) return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_CVec_BlindedPaymentPathZ_free"))) TS_CVec_BlindedPaymentPathZ_free(uint64_tArray _res) { - LDKCVec_BlindedPaymentPathZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKBlindedPaymentPath), "LDKCVec_BlindedPaymentPathZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t u = 0; u < _res_constr.datalen; u++) { - uint64_t _res_conv_20 = _res_vals[u]; - LDKBlindedPaymentPath _res_conv_20_conv; - _res_conv_20_conv.inner = untag_ptr(_res_conv_20); - _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); - _res_constr.data[u] = _res_conv_20_conv; - } - FREE(_res); - CVec_BlindedPaymentPathZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_ok"))) TS_CResult_CVec_BlindedPaymentPathZNoneZ_ok(uint64_tArray o) { LDKCVec_BlindedPaymentPathZ o_constr; o_constr.datalen = o->arr_len; @@ -21862,157 +23292,6 @@ uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedPaymentPathZNoneZ_c return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_CVec_PublicKeyZ_free"))) TS_CVec_PublicKeyZ_free(ptrArray _res) { - LDKCVec_PublicKeyZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); - else - _res_constr.data = NULL; - int8_tArray* _res_vals = (void*) _res->elems; - for (size_t m = 0; m < _res_constr.datalen; m++) { - int8_tArray _res_conv_12 = _res_vals[m]; - LDKPublicKey _res_conv_12_ref; - CHECK(_res_conv_12->arr_len == 33); - memcpy(_res_conv_12_ref.compressed_form, _res_conv_12->elems, 33); FREE(_res_conv_12); - _res_constr.data[m] = _res_conv_12_ref; - } - FREE(_res); - CVec_PublicKeyZ_free(_res_constr); -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_ok"))) TS_CResult_OnionMessagePathNoneZ_ok(uint64_t o) { - LDKOnionMessagePath o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = OnionMessagePath_clone(&o_conv); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_err"))) TS_CResult_OnionMessagePathNoneZ_err() { - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_err(); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_is_ok"))) TS_CResult_OnionMessagePathNoneZ_is_ok(uint64_t o) { - LDKCResult_OnionMessagePathNoneZ* o_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(o); - jboolean ret_conv = CResult_OnionMessagePathNoneZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_free"))) TS_CResult_OnionMessagePathNoneZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_OnionMessagePathNoneZ _res_conv = *(LDKCResult_OnionMessagePathNoneZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_OnionMessagePathNoneZ_free(_res_conv); -} - -static inline uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg) { - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone_ptr"))) TS_CResult_OnionMessagePathNoneZ_clone_ptr(uint64_t arg) { - LDKCResult_OnionMessagePathNoneZ* arg_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(arg); - int64_t ret_conv = CResult_OnionMessagePathNoneZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone"))) TS_CResult_OnionMessagePathNoneZ_clone(uint64_t orig) { - LDKCResult_OnionMessagePathNoneZ* orig_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(orig); - LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); - *ret_conv = CResult_OnionMessagePathNoneZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(uint64_tArray o) { - LDKCVec_BlindedMessagePathZ o_constr; - o_constr.datalen = o->arr_len; - if (o_constr.datalen > 0) - o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKBlindedMessagePath), "LDKCVec_BlindedMessagePathZ Elements"); - else - o_constr.data = NULL; - uint64_t* o_vals = o->elems; - for (size_t u = 0; u < o_constr.datalen; u++) { - uint64_t o_conv_20 = o_vals[u]; - LDKBlindedMessagePath o_conv_20_conv; - o_conv_20_conv.inner = untag_ptr(o_conv_20); - o_conv_20_conv.is_owned = ptr_is_owned(o_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv_20_conv); - o_conv_20_conv = BlindedMessagePath_clone(&o_conv_20_conv); - o_constr.data[u] = o_conv_20_conv; - } - FREE(o); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_ok(o_constr); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_err() { - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_err(); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(uint64_t o) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* o_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(o); - jboolean ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_free"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_CVec_BlindedMessagePathZNoneZ _res_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_CVec_BlindedMessagePathZNoneZ_free(_res_conv); -} - -static inline uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(uint64_t arg) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* arg_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(arg); - int64_t ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(uint64_t orig) { - LDKCResult_CVec_BlindedMessagePathZNoneZ* orig_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(orig); - LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); - *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_CVec_MessageForwardNodeZ_free"))) TS_CVec_MessageForwardNodeZ_free(uint64_tArray _res) { - LDKCVec_MessageForwardNodeZ _res_constr; - _res_constr.datalen = _res->arr_len; - if (_res_constr.datalen > 0) - _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); - else - _res_constr.data = NULL; - uint64_t* _res_vals = _res->elems; - for (size_t u = 0; u < _res_constr.datalen; u++) { - uint64_t _res_conv_20 = _res_vals[u]; - LDKMessageForwardNode _res_conv_20_conv; - _res_conv_20_conv.inner = untag_ptr(_res_conv_20); - _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); - CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); - _res_constr.data[u] = _res_conv_20_conv; - } - FREE(_res); - CVec_MessageForwardNodeZ_free(_res_constr); -} - uint64_t __attribute__((export_name("TS_CResult_InFlightHtlcsDecodeErrorZ_ok"))) TS_CResult_InFlightHtlcsDecodeErrorZ_ok(uint64_t o) { LDKInFlightHtlcs o_conv; o_conv.inner = untag_ptr(o); @@ -22541,6 +23820,25 @@ uint64_t __attribute__((export_name("TS_CResult_RouteHintHopDecodeErrorZ_clone" return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_CVec_PublicKeyZ_free"))) TS_CVec_PublicKeyZ_free(ptrArray _res) { + LDKCVec_PublicKeyZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKPublicKey), "LDKCVec_PublicKeyZ Elements"); + else + _res_constr.data = NULL; + int8_tArray* _res_vals = (void*) _res->elems; + for (size_t m = 0; m < _res_constr.datalen; m++) { + int8_tArray _res_conv_12 = _res_vals[m]; + LDKPublicKey _res_conv_12_ref; + CHECK(_res_conv_12->arr_len == 33); + memcpy(_res_conv_12_ref.compressed_form, _res_conv_12->elems, 33); FREE(_res_conv_12); + _res_constr.data[m] = _res_conv_12_ref; + } + FREE(_res); + CVec_PublicKeyZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_CResult_FixedPenaltyScorerDecodeErrorZ_ok"))) TS_CResult_FixedPenaltyScorerDecodeErrorZ_ok(uint64_t o) { LDKFixedPenaltyScorer o_conv; o_conv.inner = untag_ptr(o); @@ -23164,384 +24462,6 @@ void __attribute__((export_name("TS_CVec_C4Tuple_OutPointChannelIdCVec_MonitorE CVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKInitFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = InitFeatures_clone(&o_conv); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_err"))) TS_CResult_InitFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_is_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_InitFeaturesDecodeErrorZ* o_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InitFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_free"))) TS_CResult_InitFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_InitFeaturesDecodeErrorZ _res_conv = *(LDKCResult_InitFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_InitFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_InitFeaturesDecodeErrorZ* arg_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone"))) TS_CResult_InitFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_InitFeaturesDecodeErrorZ* orig_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKChannelFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = ChannelFeatures_clone(&o_conv); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_ChannelFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_ChannelFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_ChannelFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_ChannelFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_ChannelFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_ChannelFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKNodeFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = NodeFeatures_clone(&o_conv); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_NodeFeaturesDecodeErrorZ* o_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_NodeFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_free"))) TS_CResult_NodeFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_NodeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_NodeFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_NodeFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_NodeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_NodeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBolt11InvoiceFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt11InvoiceFeatures_clone(&o_conv); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBolt12InvoiceFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt12InvoiceFeatures_clone(&o_conv); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKBlindedHopFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = BlindedHopFeatures_clone(&o_conv); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* o_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_free"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_BlindedHopFeaturesDecodeErrorZ _res_conv = *(LDKCResult_BlindedHopFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_BlindedHopFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* arg_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_BlindedHopFeaturesDecodeErrorZ* orig_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(uint64_t o) { - LDKChannelTypeFeatures o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = ChannelTypeFeatures_clone(&o_conv); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(orig); - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_OfferIdDecodeErrorZ_ok"))) TS_CResult_OfferIdDecodeErrorZ_ok(uint64_t o) { LDKOfferId o_conv; o_conv.inner = untag_ptr(o); @@ -23693,72 +24613,38 @@ uint64_t __attribute__((export_name("TS_CResult_OfferBolt12SemanticErrorZ_clone return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(uint64_t o) { - LDKInvoiceRequestWithDerivedPayerIdBuilder o_conv; +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(uint64_t o) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder o_conv; o_conv.inner = untag_ptr(o); o_conv.is_owned = ptr_is_owned(o); CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(o_conv); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(uint32_t e) { +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(uint32_t e) { LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(e_conv); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ*)(_res_ptr); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(_res_conv); -} - -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(uint64_t o) { - LDKInvoiceRequestWithExplicitPayerIdBuilder o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder - - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(uint32_t e) { - LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* o_conv = (LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free"))) TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ _res_conv = *(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(_res_conv); + CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res_conv); } uint64_t __attribute__((export_name("TS_CResult_OfferDecodeErrorZ_ok"))) TS_CResult_OfferDecodeErrorZ_ok(uint64_t o) { @@ -25327,52 +26213,52 @@ void __attribute__((export_name("TS_CVec_RecentPaymentDetailsZ_free"))) TS_CVec CVec_RecentPaymentDetailsZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_ok"))) TS_CResult_NonePaymentSendFailureZ_ok() { - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_ok(); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_ok"))) TS_CResult_NoneAPIErrorZ_ok() { + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_ok(); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_err"))) TS_CResult_NonePaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_err"))) TS_CResult_NoneAPIErrorZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_err(e_conv); + LDKAPIError e_conv = *(LDKAPIError*)(e_ptr); + e_conv = APIError_clone((LDKAPIError*)untag_ptr(e)); + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_is_ok"))) TS_CResult_NonePaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_NonePaymentSendFailureZ* o_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_NonePaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_NoneAPIErrorZ_is_ok"))) TS_CResult_NoneAPIErrorZ_is_ok(uint64_t o) { + LDKCResult_NoneAPIErrorZ* o_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NoneAPIErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_free"))) TS_CResult_NonePaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_NoneAPIErrorZ_free"))) TS_CResult_NoneAPIErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_NonePaymentSendFailureZ _res_conv = *(LDKCResult_NonePaymentSendFailureZ*)(_res_ptr); + LDKCResult_NoneAPIErrorZ _res_conv = *(LDKCResult_NoneAPIErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_NonePaymentSendFailureZ_free(_res_conv); + CResult_NoneAPIErrorZ_free(_res_conv); } -static inline uint64_t CResult_NonePaymentSendFailureZ_clone_ptr(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg) { + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_clone_ptr"))) TS_CResult_NonePaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_NonePaymentSendFailureZ* arg_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_NonePaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone_ptr"))) TS_CResult_NoneAPIErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NoneAPIErrorZ* arg_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NoneAPIErrorZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_NonePaymentSendFailureZ_clone"))) TS_CResult_NonePaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_NonePaymentSendFailureZ* orig_conv = (LDKCResult_NonePaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = CResult_NonePaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneAPIErrorZ_clone"))) TS_CResult_NoneAPIErrorZ_clone(uint64_t orig) { + LDKCResult_NoneAPIErrorZ* orig_conv = (LDKCResult_NoneAPIErrorZ*)untag_ptr(orig); + LDKCResult_NoneAPIErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneAPIErrorZ), "LDKCResult_NoneAPIErrorZ"); + *ret_conv = CResult_NoneAPIErrorZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25422,55 +26308,99 @@ uint64_t __attribute__((export_name("TS_CResult_NoneRetryableSendFailureZ_clone return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(int8_tArray o) { - LDKThirtyTwoBytes o_ref; - CHECK(o->arr_len == 32); - memcpy(o_ref.data, o->elems, 32); FREE(o); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(o_ref); +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_some"))) TS_COption_OffersContextZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKOffersContext o_conv = *(LDKOffersContext*)(o_ptr); + o_conv = OffersContext_clone((LDKOffersContext*)untag_ptr(o)); + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_none"))) TS_COption_OffersContextZ_none() { + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_OffersContextZ_free"))) TS_COption_OffersContextZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_OffersContextZ _res_conv = *(LDKCOption_OffersContextZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_OffersContextZ_free(_res_conv); +} + +static inline uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg) { + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_OffersContextZ_clone_ptr"))) TS_COption_OffersContextZ_clone_ptr(uint64_t arg) { + LDKCOption_OffersContextZ* arg_conv = (LDKCOption_OffersContextZ*)untag_ptr(arg); + int64_t ret_conv = COption_OffersContextZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_OffersContextZ_clone"))) TS_COption_OffersContextZ_clone(uint64_t orig) { + LDKCOption_OffersContextZ* orig_conv = (LDKCOption_OffersContextZ*)untag_ptr(orig); + LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); + *ret_copy = COption_OffersContextZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_ok() { + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_ok(); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_err"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_err"))) TS_CResult_NoneBolt12PaymentErrorZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_err(e_conv); + LDKBolt12PaymentError e_conv = *(LDKBolt12PaymentError*)(e_ptr); + e_conv = Bolt12PaymentError_clone((LDKBolt12PaymentError*)untag_ptr(e)); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* o_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_is_ok"))) TS_CResult_NoneBolt12PaymentErrorZ_is_ok(uint64_t o) { + LDKCResult_NoneBolt12PaymentErrorZ* o_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NoneBolt12PaymentErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_free"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_free"))) TS_CResult_NoneBolt12PaymentErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ _res_conv = *(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)(_res_ptr); + LDKCResult_NoneBolt12PaymentErrorZ _res_conv = *(LDKCResult_NoneBolt12PaymentErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_ThirtyTwoBytesPaymentSendFailureZ_free(_res_conv); + CResult_NoneBolt12PaymentErrorZ_free(_res_conv); } -static inline uint64_t CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_NoneBolt12PaymentErrorZ_clone_ptr(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR arg) { + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* arg_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_clone_ptr"))) TS_CResult_NoneBolt12PaymentErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NoneBolt12PaymentErrorZ* arg_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NoneBolt12PaymentErrorZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone"))) TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* orig_conv = (LDKCResult_ThirtyTwoBytesPaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_NoneBolt12PaymentErrorZ_clone"))) TS_CResult_NoneBolt12PaymentErrorZ_clone(uint64_t orig) { + LDKCResult_NoneBolt12PaymentErrorZ* orig_conv = (LDKCResult_NoneBolt12PaymentErrorZ*)untag_ptr(orig); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = CResult_NoneBolt12PaymentErrorZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25562,56 +26492,56 @@ void __attribute__((export_name("TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free" C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free(_res_conv); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(uint64_t o) { +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ o_conv = *(LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ*)(o_ptr); o_conv = C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_clone((LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ*)untag_ptr(o)); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(o_conv); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(uint64_t e) { +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(uint64_t e) { void* e_ptr = untag_ptr(e); CHECK_ACCESS(e_ptr); - LDKPaymentSendFailure e_conv = *(LDKPaymentSendFailure*)(e_ptr); - e_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(e)); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(e_conv); + LDKProbeSendFailure e_conv = *(LDKProbeSendFailure*)(e_ptr); + e_conv = ProbeSendFailure_clone((LDKProbeSendFailure*)untag_ptr(e)); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(uint64_t o) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* o_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(o); - jboolean ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(uint64_t o) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* o_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(o); + jboolean ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ _res_conv = *(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)(_res_ptr); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ _res_conv = *(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(_res_conv); + CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(_res_conv); } -static inline uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR arg) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(arg); +static inline uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR arg) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(arg); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(uint64_t arg) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* arg_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(arg); - int64_t ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(arg_conv); +int64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(uint64_t arg) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* arg_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(arg); + int64_t ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(uint64_t orig) { - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* orig_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ*)untag_ptr(orig); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); - *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(orig_conv); +uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(uint64_t orig) { + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* orig_conv = (LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ*)untag_ptr(orig); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); + *ret_conv = CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(orig_conv); return tag_ptr(ret_conv, true); } @@ -25781,6 +26711,148 @@ void __attribute__((export_name("TS_CVec_ChannelIdZ_free"))) TS_CVec_ChannelIdZ CVec_ChannelIdZ_free(_res_constr); } +static inline uint64_t C2Tuple_PublicKeyChannelIdZ_clone_ptr(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR arg) { + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_clone_ptr"))) TS_C2Tuple_PublicKeyChannelIdZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_PublicKeyChannelIdZ* arg_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_PublicKeyChannelIdZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_clone"))) TS_C2Tuple_PublicKeyChannelIdZ_clone(uint64_t orig) { + LDKC2Tuple_PublicKeyChannelIdZ* orig_conv = (LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(orig); + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_new"))) TS_C2Tuple_PublicKeyChannelIdZ_new(int8_tArray a, uint64_t b) { + LDKPublicKey a_ref; + CHECK(a->arr_len == 33); + memcpy(a_ref.compressed_form, a->elems, 33); FREE(a); + LDKChannelId b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv = ChannelId_clone(&b_conv); + LDKC2Tuple_PublicKeyChannelIdZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_PublicKeyChannelIdZ), "LDKC2Tuple_PublicKeyChannelIdZ"); + *ret_conv = C2Tuple_PublicKeyChannelIdZ_new(a_ref, b_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_PublicKeyChannelIdZ_free"))) TS_C2Tuple_PublicKeyChannelIdZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_PublicKeyChannelIdZ _res_conv = *(LDKC2Tuple_PublicKeyChannelIdZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_PublicKeyChannelIdZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_some"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_some(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKC2Tuple_PublicKeyChannelIdZ o_conv = *(LDKC2Tuple_PublicKeyChannelIdZ*)(o_ptr); + o_conv = C2Tuple_PublicKeyChannelIdZ_clone((LDKC2Tuple_PublicKeyChannelIdZ*)untag_ptr(o)); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_some(o_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_none"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_none() { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_none(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_free"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ _res_conv = *(LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)(_res_ptr); + FREE(untag_ptr(_res)); + COption_C2Tuple_PublicKeyChannelIdZZ_free(_res_conv); +} + +static inline uint64_t COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(LDKCOption_C2Tuple_PublicKeyChannelIdZZ *NONNULL_PTR arg) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(uint64_t arg) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ* arg_conv = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(arg); + int64_t ret_conv = COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone"))) TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone(uint64_t orig) { + LDKCOption_C2Tuple_PublicKeyChannelIdZZ* orig_conv = (LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(orig); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_PublicKeyChannelIdZZ), "LDKCOption_C2Tuple_PublicKeyChannelIdZZ"); + *ret_copy = COption_C2Tuple_PublicKeyChannelIdZZ_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(uint64_t o) { + LDKBolt11Invoice o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt11Invoice_clone(&o_conv); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKSignOrCreationError e_conv = *(LDKSignOrCreationError*)(e_ptr); + e_conv = SignOrCreationError_clone((LDKSignOrCreationError*)untag_ptr(e)); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* o_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(orig); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_ok"))) TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_ok(uint64_t o) { LDKOfferWithDerivedMetadataBuilder o_conv; o_conv.inner = untag_ptr(o); @@ -25876,6 +26948,26 @@ uint64_t __attribute__((export_name("TS_COption_StrZ_clone"))) TS_COption_StrZ_ return ret_ref; } +void __attribute__((export_name("TS_CVec_DestinationZ_free"))) TS_CVec_DestinationZ_free(uint64_tArray _res) { + LDKCVec_DestinationZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKDestination), "LDKCVec_DestinationZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t n = 0; n < _res_constr.datalen; n++) { + uint64_t _res_conv_13 = _res_vals[n]; + void* _res_conv_13_ptr = untag_ptr(_res_conv_13); + CHECK_ACCESS(_res_conv_13_ptr); + LDKDestination _res_conv_13_conv = *(LDKDestination*)(_res_conv_13_ptr); + FREE(untag_ptr(_res_conv_13)); + _res_constr.data[n] = _res_conv_13_conv; + } + FREE(_res); + CVec_DestinationZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_ok"))) TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_ok(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); @@ -25977,53 +27069,6 @@ uint64_t __attribute__((export_name("TS_CResult_ThirtyTwoBytesAPIErrorZ_clone") return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_some"))) TS_COption_OffersContextZ_some(uint64_t o) { - void* o_ptr = untag_ptr(o); - CHECK_ACCESS(o_ptr); - LDKOffersContext o_conv = *(LDKOffersContext*)(o_ptr); - o_conv = OffersContext_clone((LDKOffersContext*)untag_ptr(o)); - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_some(o_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_none"))) TS_COption_OffersContextZ_none() { - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_none(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -void __attribute__((export_name("TS_COption_OffersContextZ_free"))) TS_COption_OffersContextZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCOption_OffersContextZ _res_conv = *(LDKCOption_OffersContextZ*)(_res_ptr); - FREE(untag_ptr(_res)); - COption_OffersContextZ_free(_res_conv); -} - -static inline uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg) { - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} -int64_t __attribute__((export_name("TS_COption_OffersContextZ_clone_ptr"))) TS_COption_OffersContextZ_clone_ptr(uint64_t arg) { - LDKCOption_OffersContextZ* arg_conv = (LDKCOption_OffersContextZ*)untag_ptr(arg); - int64_t ret_conv = COption_OffersContextZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_COption_OffersContextZ_clone"))) TS_COption_OffersContextZ_clone(uint64_t orig) { - LDKCOption_OffersContextZ* orig_conv = (LDKCOption_OffersContextZ*)untag_ptr(orig); - LDKCOption_OffersContextZ *ret_copy = MALLOC(sizeof(LDKCOption_OffersContextZ), "LDKCOption_OffersContextZ"); - *ret_copy = COption_OffersContextZ_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - static inline uint64_t C2Tuple_OffersMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_OffersMessageResponseInstructionZ *NONNULL_PTR arg) { LDKC2Tuple_OffersMessageResponseInstructionZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_OffersMessageResponseInstructionZ), "LDKC2Tuple_OffersMessageResponseInstructionZ"); *ret_conv = C2Tuple_OffersMessageResponseInstructionZ_clone(arg); @@ -27501,6 +28546,39 @@ void __attribute__((export_name("TS_CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32 CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ_free(_res_constr); } +static inline uint64_t C2Tuple_boolboolZ_clone_ptr(LDKC2Tuple_boolboolZ *NONNULL_PTR arg) { + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_clone_ptr"))) TS_C2Tuple_boolboolZ_clone_ptr(uint64_t arg) { + LDKC2Tuple_boolboolZ* arg_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(arg); + int64_t ret_conv = C2Tuple_boolboolZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_clone"))) TS_C2Tuple_boolboolZ_clone(uint64_t orig) { + LDKC2Tuple_boolboolZ* orig_conv = (LDKC2Tuple_boolboolZ*)untag_ptr(orig); + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C2Tuple_boolboolZ_new"))) TS_C2Tuple_boolboolZ_new(jboolean a, jboolean b) { + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = C2Tuple_boolboolZ_new(a, b); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C2Tuple_boolboolZ_free"))) TS_C2Tuple_boolboolZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC2Tuple_boolboolZ _res_conv = *(LDKC2Tuple_boolboolZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C2Tuple_boolboolZ_free(_res_conv); +} + void __attribute__((export_name("TS_CVec_BalanceZ_free"))) TS_CVec_BalanceZ_free(uint64_tArray _res) { LDKCVec_BalanceZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -28447,6 +29525,124 @@ uint64_t __attribute__((export_name("TS_CResult_CVec_StrZIOErrorZ_clone"))) TS_ return tag_ptr(ret_conv, true); } +static inline uint64_t C3Tuple_StrStrStrZ_clone_ptr(LDKC3Tuple_StrStrStrZ *NONNULL_PTR arg) { + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_clone_ptr"))) TS_C3Tuple_StrStrStrZ_clone_ptr(uint64_t arg) { + LDKC3Tuple_StrStrStrZ* arg_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(arg); + int64_t ret_conv = C3Tuple_StrStrStrZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_clone"))) TS_C3Tuple_StrStrStrZ_clone(uint64_t orig) { + LDKC3Tuple_StrStrStrZ* orig_conv = (LDKC3Tuple_StrStrStrZ*)untag_ptr(orig); + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_C3Tuple_StrStrStrZ_new"))) TS_C3Tuple_StrStrStrZ_new(jstring a, jstring b, jstring c) { + LDKStr a_conv = str_ref_to_owned_c(a); + LDKStr b_conv = str_ref_to_owned_c(b); + LDKStr c_conv = str_ref_to_owned_c(c); + LDKC3Tuple_StrStrStrZ* ret_conv = MALLOC(sizeof(LDKC3Tuple_StrStrStrZ), "LDKC3Tuple_StrStrStrZ"); + *ret_conv = C3Tuple_StrStrStrZ_new(a_conv, b_conv, c_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_C3Tuple_StrStrStrZ_free"))) TS_C3Tuple_StrStrStrZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKC3Tuple_StrStrStrZ _res_conv = *(LDKC3Tuple_StrStrStrZ*)(_res_ptr); + FREE(untag_ptr(_res)); + C3Tuple_StrStrStrZ_free(_res_conv); +} + +void __attribute__((export_name("TS_CVec_C3Tuple_StrStrStrZZ_free"))) TS_CVec_C3Tuple_StrStrStrZZ_free(uint64_tArray _res) { + LDKCVec_C3Tuple_StrStrStrZZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKC3Tuple_StrStrStrZ), "LDKCVec_C3Tuple_StrStrStrZZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t x = 0; x < _res_constr.datalen; x++) { + uint64_t _res_conv_23 = _res_vals[x]; + void* _res_conv_23_ptr = untag_ptr(_res_conv_23); + CHECK_ACCESS(_res_conv_23_ptr); + LDKC3Tuple_StrStrStrZ _res_conv_23_conv = *(LDKC3Tuple_StrStrStrZ*)(_res_conv_23_ptr); + FREE(untag_ptr(_res_conv_23)); + _res_constr.data[x] = _res_conv_23_conv; + } + FREE(_res); + CVec_C3Tuple_StrStrStrZZ_free(_res_constr); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(uint64_tArray o) { + LDKCVec_C3Tuple_StrStrStrZZ o_constr; + o_constr.datalen = o->arr_len; + if (o_constr.datalen > 0) + o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKC3Tuple_StrStrStrZ), "LDKCVec_C3Tuple_StrStrStrZZ Elements"); + else + o_constr.data = NULL; + uint64_t* o_vals = o->elems; + for (size_t x = 0; x < o_constr.datalen; x++) { + uint64_t o_conv_23 = o_vals[x]; + void* o_conv_23_ptr = untag_ptr(o_conv_23); + CHECK_ACCESS(o_conv_23_ptr); + LDKC3Tuple_StrStrStrZ o_conv_23_conv = *(LDKC3Tuple_StrStrStrZ*)(o_conv_23_ptr); + o_conv_23_conv = C3Tuple_StrStrStrZ_clone((LDKC3Tuple_StrStrStrZ*)untag_ptr(o_conv_23)); + o_constr.data[x] = o_conv_23_conv; + } + FREE(o); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(o_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(uint64_t o) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* o_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ _res_conv = *(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR arg) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* arg_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone"))) TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(uint64_t orig) { + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* orig_conv = (LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ*)untag_ptr(orig); + LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ), "LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ"); + *ret_conv = CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_free"))) TS_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_free(uint64_tArray _res) { LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ _res_constr; _res_constr.datalen = _res->arr_len; @@ -28579,55 +29775,72 @@ uint64_t __attribute__((export_name("TS_CResult_C2Tuple_ThirtyTwoBytesChannelMo return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(uint64_t o) { - LDKUnsignedInvoiceRequest o_conv; +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_ok"))) TS_CResult_MonitorNameIOErrorZ_ok(uint64_t o) { + LDKMonitorName o_conv; o_conv.inner = untag_ptr(o); o_conv.is_owned = ptr_is_owned(o); CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = UnsignedInvoiceRequest_clone(&o_conv); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(o_conv); + // WARNING: we need a move here but no clone is available for LDKMonitorName + + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = CResult_MonitorNameIOErrorZ_ok(o_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(uint32_t e) { - LDKBolt12SemanticError e_conv = LDKBolt12SemanticError_from_js(e); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(e_conv); +uint64_t __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_err"))) TS_CResult_MonitorNameIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = CResult_MonitorNameIOErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -jboolean __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(uint64_t o) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* o_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(o_conv); +jboolean __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_is_ok"))) TS_CResult_MonitorNameIOErrorZ_is_ok(uint64_t o) { + LDKCResult_MonitorNameIOErrorZ* o_conv = (LDKCResult_MonitorNameIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_MonitorNameIOErrorZ_is_ok(o_conv); return ret_conv; } -void __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(uint64_t _res) { +void __attribute__((export_name("TS_CResult_MonitorNameIOErrorZ_free"))) TS_CResult_MonitorNameIOErrorZ_free(uint64_t _res) { if (!ptr_is_owned(_res)) return; void* _res_ptr = untag_ptr(_res); CHECK_ACCESS(_res_ptr); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ _res_conv = *(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)(_res_ptr); + LDKCResult_MonitorNameIOErrorZ _res_conv = *(LDKCResult_MonitorNameIOErrorZ*)(_res_ptr); FREE(untag_ptr(_res)); - CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(_res_conv); + CResult_MonitorNameIOErrorZ_free(_res_conv); +} + +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_ok"))) TS_CResult_UpdateNameIOErrorZ_ok(uint64_t o) { + LDKUpdateName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + // WARNING: we need a move here but no clone is available for LDKUpdateName + + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = CResult_UpdateNameIOErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); } -static inline uint64_t CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR arg) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(arg); +uint64_t __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_err"))) TS_CResult_UpdateNameIOErrorZ_err(uint32_t e) { + LDKIOError e_conv = LDKIOError_from_js(e); + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = CResult_UpdateNameIOErrorZ_err(e_conv); return tag_ptr(ret_conv, true); } -int64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* arg_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(arg_conv); + +jboolean __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_is_ok"))) TS_CResult_UpdateNameIOErrorZ_is_ok(uint64_t o) { + LDKCResult_UpdateNameIOErrorZ* o_conv = (LDKCResult_UpdateNameIOErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_UpdateNameIOErrorZ_is_ok(o_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone"))) TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(uint64_t orig) { - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* orig_conv = (LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ*)untag_ptr(orig); - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); +void __attribute__((export_name("TS_CResult_UpdateNameIOErrorZ_free"))) TS_CResult_UpdateNameIOErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_UpdateNameIOErrorZ _res_conv = *(LDKCResult_UpdateNameIOErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_UpdateNameIOErrorZ_free(_res_conv); } uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestBolt12SemanticErrorZ_ok"))) TS_CResult_InvoiceRequestBolt12SemanticErrorZ_ok(uint64_t o) { @@ -28799,6 +30012,60 @@ void __attribute__((export_name("TS_CResult_InvoiceWithDerivedSigningPubkeyBuil CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res_conv); } +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_ok(uint64_t o) { + LDKInvoiceRequest o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = InvoiceRequest_clone(&o_conv); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_err"))) TS_CResult_InvoiceRequestDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_is_ok"))) TS_CResult_InvoiceRequestDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_InvoiceRequestDecodeErrorZ* o_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InvoiceRequestDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_free"))) TS_CResult_InvoiceRequestDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_InvoiceRequestDecodeErrorZ _res_conv = *(LDKCResult_InvoiceRequestDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_InvoiceRequestDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_InvoiceRequestDecodeErrorZ_clone_ptr(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_clone_ptr"))) TS_CResult_InvoiceRequestDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_InvoiceRequestDecodeErrorZ* arg_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestDecodeErrorZ_clone"))) TS_CResult_InvoiceRequestDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_InvoiceRequestDecodeErrorZ* orig_conv = (LDKCResult_InvoiceRequestDecodeErrorZ*)untag_ptr(orig); + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = CResult_InvoiceRequestDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_CResult_InvoiceRequestFieldsDecodeErrorZ_ok"))) TS_CResult_InvoiceRequestFieldsDecodeErrorZ_ok(uint64_t o) { LDKInvoiceRequestFields o_conv; o_conv.inner = untag_ptr(o); @@ -34395,10 +35662,11 @@ uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_ok")) } uint64_t __attribute__((export_name("TS_CResult_SiPrefixBolt11ParseErrorZ_err"))) TS_CResult_SiPrefixBolt11ParseErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKBolt11ParseError e_conv = *(LDKBolt11ParseError*)(e_ptr); - e_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(e)); + LDKBolt11ParseError e_conv; + e_conv.inner = untag_ptr(e); + e_conv.is_owned = ptr_is_owned(e); + CHECK_INNER_FIELD_ACCESS_OR_NULL(e_conv); + e_conv = Bolt11ParseError_clone(&e_conv); LDKCResult_SiPrefixBolt11ParseErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_SiPrefixBolt11ParseErrorZ), "LDKCResult_SiPrefixBolt11ParseErrorZ"); *ret_conv = CResult_SiPrefixBolt11ParseErrorZ_err(e_conv); return tag_ptr(ret_conv, true); @@ -34503,10 +35771,11 @@ uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11Par } uint64_t __attribute__((export_name("TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err"))) TS_CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKBolt11ParseError e_conv = *(LDKBolt11ParseError*)(e_ptr); - e_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(e)); + LDKBolt11ParseError e_conv; + e_conv.inner = untag_ptr(e); + e_conv.is_owned = ptr_is_owned(e); + CHECK_INNER_FIELD_ACCESS_OR_NULL(e_conv); + e_conv = Bolt11ParseError_clone(&e_conv); LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ), "LDKCResult_SignedRawBolt11InvoiceBolt11ParseErrorZ"); *ret_conv = CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_err(e_conv); return tag_ptr(ret_conv, true); @@ -35286,6 +36555,384 @@ uint64_t __attribute__((export_name("TS_CResult_ChannelIdDecodeErrorZ_clone"))) return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKInitFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = InitFeatures_clone(&o_conv); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_err"))) TS_CResult_InitFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_is_ok"))) TS_CResult_InitFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_InitFeaturesDecodeErrorZ* o_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_InitFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_free"))) TS_CResult_InitFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_InitFeaturesDecodeErrorZ _res_conv = *(LDKCResult_InitFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_InitFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_InitFeaturesDecodeErrorZ* arg_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_InitFeaturesDecodeErrorZ_clone"))) TS_CResult_InitFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_InitFeaturesDecodeErrorZ* orig_conv = (LDKCResult_InitFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = CResult_InitFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKChannelFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = ChannelFeatures_clone(&o_conv); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_ChannelFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_ChannelFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_ChannelFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_ChannelFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_ChannelFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_ChannelFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKNodeFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = NodeFeatures_clone(&o_conv); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_err"))) TS_CResult_NodeFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_NodeFeaturesDecodeErrorZ* o_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_NodeFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_free"))) TS_CResult_NodeFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_NodeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_NodeFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_NodeFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_NodeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_NodeFeaturesDecodeErrorZ_clone"))) TS_CResult_NodeFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_NodeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_NodeFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = CResult_NodeFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBolt11InvoiceFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt11InvoiceFeatures_clone(&o_conv); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBolt12InvoiceFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = Bolt12InvoiceFeatures_clone(&o_conv); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* o_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res_conv = *(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* arg_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone"))) TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* orig_conv = (LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKBlindedHopFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = BlindedHopFeatures_clone(&o_conv); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_err"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* o_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_free"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_BlindedHopFeaturesDecodeErrorZ _res_conv = *(LDKCResult_BlindedHopFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_BlindedHopFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* arg_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone"))) TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_BlindedHopFeaturesDecodeErrorZ* orig_conv = (LDKCResult_BlindedHopFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(uint64_t o) { + LDKChannelTypeFeatures o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = ChannelTypeFeatures_clone(&o_conv); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* o_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res_conv = *(LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* arg_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone"))) TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* orig_conv = (LDKCResult_ChannelTypeFeaturesDecodeErrorZ*)untag_ptr(orig); + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + static inline uint64_t C2Tuple__u832u16Z_clone_ptr(LDKC2Tuple__u832u16Z *NONNULL_PTR arg) { LDKC2Tuple__u832u16Z* ret_conv = MALLOC(sizeof(LDKC2Tuple__u832u16Z), "LDKC2Tuple__u832u16Z"); *ret_conv = C2Tuple__u832u16Z_clone(arg); @@ -35607,60 +37254,6 @@ uint64_t __attribute__((export_name("TS_CResult_PaymentContextDecodeErrorZ_clon return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_ok(uint64_t o) { - LDKUnknownPaymentContext o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = UnknownPaymentContext_clone(&o_conv); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_err"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); - e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_is_ok"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_is_ok(uint64_t o) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* o_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_free"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_UnknownPaymentContextDecodeErrorZ _res_conv = *(LDKCResult_UnknownPaymentContextDecodeErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_UnknownPaymentContextDecodeErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR arg) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* arg_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_UnknownPaymentContextDecodeErrorZ_clone"))) TS_CResult_UnknownPaymentContextDecodeErrorZ_clone(uint64_t orig) { - LDKCResult_UnknownPaymentContextDecodeErrorZ* orig_conv = (LDKCResult_UnknownPaymentContextDecodeErrorZ*)untag_ptr(orig); - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = CResult_UnknownPaymentContextDecodeErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_Bolt12OfferContextDecodeErrorZ_ok"))) TS_CResult_Bolt12OfferContextDecodeErrorZ_ok(uint64_t o) { LDKBolt12OfferContext o_conv; o_conv.inner = untag_ptr(o); @@ -35873,6 +37466,138 @@ uint64_t __attribute__((export_name("TS_CResult_ResponderDecodeErrorZ_clone"))) return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_ok"))) TS_CResult_OnionMessagePathNoneZ_ok(uint64_t o) { + LDKOnionMessagePath o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = OnionMessagePath_clone(&o_conv); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_err"))) TS_CResult_OnionMessagePathNoneZ_err() { + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_is_ok"))) TS_CResult_OnionMessagePathNoneZ_is_ok(uint64_t o) { + LDKCResult_OnionMessagePathNoneZ* o_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_OnionMessagePathNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_free"))) TS_CResult_OnionMessagePathNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_OnionMessagePathNoneZ _res_conv = *(LDKCResult_OnionMessagePathNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_OnionMessagePathNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg) { + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone_ptr"))) TS_CResult_OnionMessagePathNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_OnionMessagePathNoneZ* arg_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_OnionMessagePathNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_OnionMessagePathNoneZ_clone"))) TS_CResult_OnionMessagePathNoneZ_clone(uint64_t orig) { + LDKCResult_OnionMessagePathNoneZ* orig_conv = (LDKCResult_OnionMessagePathNoneZ*)untag_ptr(orig); + LDKCResult_OnionMessagePathNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_OnionMessagePathNoneZ), "LDKCResult_OnionMessagePathNoneZ"); + *ret_conv = CResult_OnionMessagePathNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(uint64_tArray o) { + LDKCVec_BlindedMessagePathZ o_constr; + o_constr.datalen = o->arr_len; + if (o_constr.datalen > 0) + o_constr.data = MALLOC(o_constr.datalen * sizeof(LDKBlindedMessagePath), "LDKCVec_BlindedMessagePathZ Elements"); + else + o_constr.data = NULL; + uint64_t* o_vals = o->elems; + for (size_t u = 0; u < o_constr.datalen; u++) { + uint64_t o_conv_20 = o_vals[u]; + LDKBlindedMessagePath o_conv_20_conv; + o_conv_20_conv.inner = untag_ptr(o_conv_20); + o_conv_20_conv.is_owned = ptr_is_owned(o_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv_20_conv); + o_conv_20_conv = BlindedMessagePath_clone(&o_conv_20_conv); + o_constr.data[u] = o_conv_20_conv; + } + FREE(o); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_ok(o_constr); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_err"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_err() { + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_err(); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(uint64_t o) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* o_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(o); + jboolean ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_free"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_CVec_BlindedMessagePathZNoneZ _res_conv = *(LDKCResult_CVec_BlindedMessagePathZNoneZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_CVec_BlindedMessagePathZNoneZ_free(_res_conv); +} + +static inline uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(uint64_t arg) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* arg_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(arg); + int64_t ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_CVec_BlindedMessagePathZNoneZ_clone"))) TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(uint64_t orig) { + LDKCResult_CVec_BlindedMessagePathZNoneZ* orig_conv = (LDKCResult_CVec_BlindedMessagePathZNoneZ*)untag_ptr(orig); + LDKCResult_CVec_BlindedMessagePathZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_CVec_BlindedMessagePathZNoneZ), "LDKCResult_CVec_BlindedMessagePathZNoneZ"); + *ret_conv = CResult_CVec_BlindedMessagePathZNoneZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_CVec_MessageForwardNodeZ_free"))) TS_CVec_MessageForwardNodeZ_free(uint64_tArray _res) { + LDKCVec_MessageForwardNodeZ _res_constr; + _res_constr.datalen = _res->arr_len; + if (_res_constr.datalen > 0) + _res_constr.data = MALLOC(_res_constr.datalen * sizeof(LDKMessageForwardNode), "LDKCVec_MessageForwardNodeZ Elements"); + else + _res_constr.data = NULL; + uint64_t* _res_vals = _res->elems; + for (size_t u = 0; u < _res_constr.datalen; u++) { + uint64_t _res_conv_20 = _res_vals[u]; + LDKMessageForwardNode _res_conv_20_conv; + _res_conv_20_conv.inner = untag_ptr(_res_conv_20); + _res_conv_20_conv.is_owned = ptr_is_owned(_res_conv_20); + CHECK_INNER_FIELD_ACCESS_OR_NULL(_res_conv_20_conv); + _res_constr.data[u] = _res_conv_20_conv; + } + FREE(_res); + CVec_MessageForwardNodeZ_free(_res_constr); +} + uint64_t __attribute__((export_name("TS_COption_MessageContextZ_some"))) TS_COption_MessageContextZ_some(uint64_t o) { void* o_ptr = untag_ptr(o); CHECK_ACCESS(o_ptr); @@ -36243,60 +37968,6 @@ void __attribute__((export_name("TS_CVec_PhantomRouteHintsZ_free"))) TS_CVec_Ph CVec_PhantomRouteHintsZ_free(_res_constr); } -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(uint64_t o) { - LDKBolt11Invoice o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv = Bolt11Invoice_clone(&o_conv); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(uint64_t e) { - void* e_ptr = untag_ptr(e); - CHECK_ACCESS(e_ptr); - LDKSignOrCreationError e_conv = *(LDKSignOrCreationError*)(e_ptr); - e_conv = SignOrCreationError_clone((LDKSignOrCreationError*)untag_ptr(e)); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e_conv); - return tag_ptr(ret_conv, true); -} - -jboolean __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(uint64_t o) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* o_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(o); - jboolean ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(uint64_t _res) { - if (!ptr_is_owned(_res)) return; - void* _res_ptr = untag_ptr(_res); - CHECK_ACCESS(_res_ptr); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res_conv = *(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)(_res_ptr); - FREE(untag_ptr(_res)); - CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res_conv); -} - -static inline uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(arg); - return tag_ptr(ret_conv, true); -} -int64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(uint64_t arg) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* arg_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(arg); - int64_t ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone"))) TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(uint64_t orig) { - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* orig_conv = (LDKCResult_Bolt11InvoiceSignOrCreationErrorZ*)untag_ptr(orig); - LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig_conv); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_CResult_InvoiceErrorDecodeErrorZ_ok"))) TS_CResult_InvoiceErrorDecodeErrorZ_ok(uint64_t o) { LDKInvoiceError o_conv; o_conv.inner = untag_ptr(o); @@ -37306,6 +38977,113 @@ uint64_t __attribute__((export_name("TS_CResult_OffersContextDecodeErrorZ_clone return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_ok(uint64_t o) { + void* o_ptr = untag_ptr(o); + CHECK_ACCESS(o_ptr); + LDKAsyncPaymentsContext o_conv = *(LDKAsyncPaymentsContext*)(o_ptr); + o_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(o)); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_err"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_is_ok"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* o_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_free"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_AsyncPaymentsContextDecodeErrorZ _res_conv = *(LDKCResult_AsyncPaymentsContextDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_AsyncPaymentsContextDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* arg_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone"))) TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_AsyncPaymentsContextDecodeErrorZ* orig_conv = (LDKCResult_AsyncPaymentsContextDecodeErrorZ*)untag_ptr(orig); + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = CResult_AsyncPaymentsContextDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_ok(uint64_t o) { + LDKDNSResolverContext o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv = DNSResolverContext_clone(&o_conv); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_ok(o_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_err"))) TS_CResult_DNSResolverContextDecodeErrorZ_err(uint64_t e) { + void* e_ptr = untag_ptr(e); + CHECK_ACCESS(e_ptr); + LDKDecodeError e_conv = *(LDKDecodeError*)(e_ptr); + e_conv = DecodeError_clone((LDKDecodeError*)untag_ptr(e)); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_err(e_conv); + return tag_ptr(ret_conv, true); +} + +jboolean __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_is_ok"))) TS_CResult_DNSResolverContextDecodeErrorZ_is_ok(uint64_t o) { + LDKCResult_DNSResolverContextDecodeErrorZ* o_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(o); + jboolean ret_conv = CResult_DNSResolverContextDecodeErrorZ_is_ok(o_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_free"))) TS_CResult_DNSResolverContextDecodeErrorZ_free(uint64_t _res) { + if (!ptr_is_owned(_res)) return; + void* _res_ptr = untag_ptr(_res); + CHECK_ACCESS(_res_ptr); + LDKCResult_DNSResolverContextDecodeErrorZ _res_conv = *(LDKCResult_DNSResolverContextDecodeErrorZ*)(_res_ptr); + FREE(untag_ptr(_res)); + CResult_DNSResolverContextDecodeErrorZ_free(_res_conv); +} + +static inline uint64_t CResult_DNSResolverContextDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR arg) { + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone(arg); + return tag_ptr(ret_conv, true); +} +int64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_clone_ptr"))) TS_CResult_DNSResolverContextDecodeErrorZ_clone_ptr(uint64_t arg) { + LDKCResult_DNSResolverContextDecodeErrorZ* arg_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(arg); + int64_t ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_CResult_DNSResolverContextDecodeErrorZ_clone"))) TS_CResult_DNSResolverContextDecodeErrorZ_clone(uint64_t orig) { + LDKCResult_DNSResolverContextDecodeErrorZ* orig_conv = (LDKCResult_DNSResolverContextDecodeErrorZ*)untag_ptr(orig); + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = CResult_DNSResolverContextDecodeErrorZ_clone(orig_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_APIError_free"))) TS_APIError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -37827,6 +39605,27 @@ void __attribute__((export_name("TS_KVStore_free"))) TS_KVStore_free(uint64_t t KVStore_free(this_ptr_conv); } +void __attribute__((export_name("TS_MigratableKVStore_free"))) TS_MigratableKVStore_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKMigratableKVStore this_ptr_conv = *(LDKMigratableKVStore*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + MigratableKVStore_free(this_ptr_conv); +} + +uint64_t __attribute__((export_name("TS_migrate_kv_store_data"))) TS_migrate_kv_store_data(uint64_t source_store, uint64_t target_store) { + void* source_store_ptr = untag_ptr(source_store); + if (ptr_is_owned(source_store)) { CHECK_ACCESS(source_store_ptr); } + LDKMigratableKVStore* source_store_conv = (LDKMigratableKVStore*)source_store_ptr; + void* target_store_ptr = untag_ptr(target_store); + if (ptr_is_owned(target_store)) { CHECK_ACCESS(target_store_ptr); } + LDKMigratableKVStore* target_store_conv = (LDKMigratableKVStore*)target_store_ptr; + LDKCResult_NoneIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneIOErrorZ), "LDKCResult_NoneIOErrorZ"); + *ret_conv = migrate_kv_store_data(source_store_conv, target_store_conv); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_Persister_free"))) TS_Persister_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -37966,6 +39765,79 @@ uint64_t __attribute__((export_name("TS_MonitorUpdatingPersister_as_Persist"))) return tag_ptr(ret_ret, true); } +void __attribute__((export_name("TS_MonitorName_free"))) TS_MonitorName_free(uint64_t this_obj) { + LDKMonitorName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + MonitorName_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_MonitorName_new"))) TS_MonitorName_new(jstring name) { + LDKStr name_conv = str_ref_to_owned_c(name); + LDKCResult_MonitorNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_MonitorNameIOErrorZ), "LDKCResult_MonitorNameIOErrorZ"); + *ret_conv = MonitorName_new(name_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_MonitorName_as_str"))) TS_MonitorName_as_str(uint64_t this_arg) { + LDKMonitorName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = MonitorName_as_str(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +void __attribute__((export_name("TS_UpdateName_free"))) TS_UpdateName_free(uint64_t this_obj) { + LDKUpdateName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + UpdateName_free(this_obj_conv); +} + +int64_t __attribute__((export_name("TS_UpdateName_get_a"))) TS_UpdateName_get_a(uint64_t this_ptr) { + LDKUpdateName this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + int64_t ret_conv = UpdateName_get_a(&this_ptr_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_UpdateName_set_a"))) TS_UpdateName_set_a(uint64_t this_ptr, int64_t val) { + LDKUpdateName this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + UpdateName_set_a(&this_ptr_conv, val); +} + +uint64_t __attribute__((export_name("TS_UpdateName_new"))) TS_UpdateName_new(jstring name) { + LDKStr name_conv = str_ref_to_owned_c(name); + LDKCResult_UpdateNameIOErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UpdateNameIOErrorZ), "LDKCResult_UpdateNameIOErrorZ"); + *ret_conv = UpdateName_new(name_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_UpdateName_as_str"))) TS_UpdateName_as_str(uint64_t this_arg) { + LDKUpdateName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = UpdateName_as_str(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_ShortChannelIdError_clone"))) TS_ShortChannelIdError_clone(uint64_t orig) { LDKShortChannelIdError* orig_conv = (LDKShortChannelIdError*)untag_ptr(orig); uint32_t ret_conv = LDKShortChannelIdError_to_js(ShortChannelIdError_clone(orig_conv)); @@ -40098,25 +41970,6 @@ void __attribute__((export_name("TS_UserConfig_set_accept_intercept_htlcs"))) T UserConfig_set_accept_intercept_htlcs(&this_ptr_conv, val); } -jboolean __attribute__((export_name("TS_UserConfig_get_accept_mpp_keysend"))) TS_UserConfig_get_accept_mpp_keysend(uint64_t this_ptr) { - LDKUserConfig this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - jboolean ret_conv = UserConfig_get_accept_mpp_keysend(&this_ptr_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_UserConfig_set_accept_mpp_keysend"))) TS_UserConfig_set_accept_mpp_keysend(uint64_t this_ptr, jboolean val) { - LDKUserConfig this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - UserConfig_set_accept_mpp_keysend(&this_ptr_conv, val); -} - jboolean __attribute__((export_name("TS_UserConfig_get_manually_handle_bolt12_invoices"))) TS_UserConfig_get_manually_handle_bolt12_invoices(uint64_t this_ptr) { LDKUserConfig this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -40136,7 +41989,7 @@ void __attribute__((export_name("TS_UserConfig_set_manually_handle_bolt12_invoi UserConfig_set_manually_handle_bolt12_invoices(&this_ptr_conv, val); } -uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(uint64_t channel_handshake_config_arg, uint64_t channel_handshake_limits_arg, uint64_t channel_config_arg, jboolean accept_forwards_to_priv_channels_arg, jboolean accept_inbound_channels_arg, jboolean manually_accept_inbound_channels_arg, jboolean accept_intercept_htlcs_arg, jboolean accept_mpp_keysend_arg, jboolean manually_handle_bolt12_invoices_arg) { +uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(uint64_t channel_handshake_config_arg, uint64_t channel_handshake_limits_arg, uint64_t channel_config_arg, jboolean accept_forwards_to_priv_channels_arg, jboolean accept_inbound_channels_arg, jboolean manually_accept_inbound_channels_arg, jboolean accept_intercept_htlcs_arg, jboolean manually_handle_bolt12_invoices_arg) { LDKChannelHandshakeConfig channel_handshake_config_arg_conv; channel_handshake_config_arg_conv.inner = untag_ptr(channel_handshake_config_arg); channel_handshake_config_arg_conv.is_owned = ptr_is_owned(channel_handshake_config_arg); @@ -40152,7 +42005,7 @@ uint64_t __attribute__((export_name("TS_UserConfig_new"))) TS_UserConfig_new(ui channel_config_arg_conv.is_owned = ptr_is_owned(channel_config_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_config_arg_conv); channel_config_arg_conv = ChannelConfig_clone(&channel_config_arg_conv); - LDKUserConfig ret_var = UserConfig_new(channel_handshake_config_arg_conv, channel_handshake_limits_arg_conv, channel_config_arg_conv, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, accept_mpp_keysend_arg, manually_handle_bolt12_invoices_arg); + LDKUserConfig ret_var = UserConfig_new(channel_handshake_config_arg_conv, channel_handshake_limits_arg_conv, channel_config_arg_conv, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, manually_handle_bolt12_invoices_arg); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -41530,7 +43383,7 @@ uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_and_clear_pendi return ret_arr; } -uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events"))) TS_ChannelMonitor_process_pending_events(uint64_t this_arg, uint64_t handler) { +uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events"))) TS_ChannelMonitor_process_pending_events(uint64_t this_arg, uint64_t handler, uint64_t logger) { LDKChannelMonitor this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -41539,8 +43392,11 @@ uint64_t __attribute__((export_name("TS_ChannelMonitor_process_pending_events") void* handler_ptr = untag_ptr(handler); if (ptr_is_owned(handler)) { CHECK_ACCESS(handler_ptr); } LDKEventHandler* handler_conv = (LDKEventHandler*)handler_ptr; + void* logger_ptr = untag_ptr(logger); + if (ptr_is_owned(logger)) { CHECK_ACCESS(logger_ptr); } + LDKLogger* logger_conv = (LDKLogger*)logger_ptr; LDKCResult_NoneReplayEventZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneReplayEventZ), "LDKCResult_NoneReplayEventZ"); - *ret_conv = ChannelMonitor_process_pending_events(&this_arg_conv, handler_conv); + *ret_conv = ChannelMonitor_process_pending_events(&this_arg_conv, handler_conv, logger_conv); return tag_ptr(ret_conv, true); } @@ -41965,7 +43821,7 @@ uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_spendable_outpu return ret_arr; } -jboolean __attribute__((export_name("TS_ChannelMonitor_is_fully_resolved"))) TS_ChannelMonitor_is_fully_resolved(uint64_t this_arg, uint64_t logger) { +uint64_t __attribute__((export_name("TS_ChannelMonitor_check_and_update_full_resolution_status"))) TS_ChannelMonitor_check_and_update_full_resolution_status(uint64_t this_arg, uint64_t logger) { LDKChannelMonitor this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -41974,8 +43830,9 @@ jboolean __attribute__((export_name("TS_ChannelMonitor_is_fully_resolved"))) TS void* logger_ptr = untag_ptr(logger); if (ptr_is_owned(logger)) { CHECK_ACCESS(logger_ptr); } LDKLogger* logger_conv = (LDKLogger*)logger_ptr; - jboolean ret_conv = ChannelMonitor_is_fully_resolved(&this_arg_conv, logger_conv); - return ret_conv; + LDKC2Tuple_boolboolZ* ret_conv = MALLOC(sizeof(LDKC2Tuple_boolboolZ), "LDKC2Tuple_boolboolZ"); + *ret_conv = ChannelMonitor_check_and_update_full_resolution_status(&this_arg_conv, logger_conv); + return tag_ptr(ret_conv, true); } uint64_tArray __attribute__((export_name("TS_ChannelMonitor_get_claimable_balances"))) TS_ChannelMonitor_get_claimable_balances(uint64_t this_arg) { @@ -42309,7 +44166,7 @@ jboolean __attribute__((export_name("TS_InboundHTLCErr_eq"))) TS_InboundHTLCErr return ret_conv; } -uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_onion(uint64_t msg, uint64_t node_signer, uint64_t logger, int32_t cur_height, jboolean accept_mpp_keysend, jboolean allow_skimmed_fees) { +uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_onion(uint64_t msg, uint64_t node_signer, uint64_t logger, int32_t cur_height, jboolean allow_skimmed_fees) { LDKUpdateAddHTLC msg_conv; msg_conv.inner = untag_ptr(msg); msg_conv.is_owned = ptr_is_owned(msg); @@ -42330,7 +44187,7 @@ uint64_t __attribute__((export_name("TS_peel_payment_onion"))) TS_peel_payment_ LDKLogger_JCalls_cloned(&logger_conv); } LDKCResult_PendingHTLCInfoInboundHTLCErrZ* ret_conv = MALLOC(sizeof(LDKCResult_PendingHTLCInfoInboundHTLCErrZ), "LDKCResult_PendingHTLCInfoInboundHTLCErrZ"); - *ret_conv = peel_payment_onion(&msg_conv, node_signer_conv, logger_conv, cur_height, accept_mpp_keysend, allow_skimmed_fees); + *ret_conv = peel_payment_onion(&msg_conv, node_signer_conv, logger_conv, cur_height, allow_skimmed_fees); return tag_ptr(ret_conv, true); } @@ -42419,7 +44276,7 @@ uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive"))) TS_Pendi return ret_ref; } -uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) TS_PendingHTLCRouting_receive_keysend(uint64_t payment_data, int8_tArray payment_preimage, uint64_t payment_metadata, int32_t incoming_cltv_expiry, uint64_tArray custom_tlvs, jboolean requires_blinded_error) { +uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) TS_PendingHTLCRouting_receive_keysend(uint64_t payment_data, int8_tArray payment_preimage, uint64_t payment_metadata, int32_t incoming_cltv_expiry, uint64_tArray custom_tlvs, jboolean requires_blinded_error, jboolean has_recipient_created_payment_secret) { LDKFinalOnionHopData payment_data_conv; payment_data_conv.inner = untag_ptr(payment_data); payment_data_conv.is_owned = ptr_is_owned(payment_data); @@ -42449,7 +44306,7 @@ uint64_t __attribute__((export_name("TS_PendingHTLCRouting_receive_keysend"))) } FREE(custom_tlvs); LDKPendingHTLCRouting *ret_copy = MALLOC(sizeof(LDKPendingHTLCRouting), "LDKPendingHTLCRouting"); - *ret_copy = PendingHTLCRouting_receive_keysend(payment_data_conv, payment_preimage_ref, payment_metadata_conv, incoming_cltv_expiry, custom_tlvs_constr, requires_blinded_error); + *ret_copy = PendingHTLCRouting_receive_keysend(payment_data_conv, payment_preimage_ref, payment_metadata_conv, incoming_cltv_expiry, custom_tlvs_constr, requires_blinded_error, has_recipient_created_payment_secret); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -42850,6 +44707,26 @@ jboolean __attribute__((export_name("TS_BlindedFailure_eq"))) TS_BlindedFailure return ret_conv; } +void __attribute__((export_name("TS_Verification_free"))) TS_Verification_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKVerification this_ptr_conv = *(LDKVerification*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + Verification_free(this_ptr_conv); +} + +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_as_Verification"))) TS_UnauthenticatedReceiveTlvs_as_Verification(uint64_t this_arg) { + LDKUnauthenticatedReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKVerification* ret_ret = MALLOC(sizeof(LDKVerification), "LDKVerification"); + *ret_ret = UnauthenticatedReceiveTlvs_as_Verification(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + void __attribute__((export_name("TS_FailureCode_free"))) TS_FailureCode_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -43253,7 +45130,7 @@ uint64_t __attribute__((export_name("TS_PhantomRouteHints_clone"))) TS_PhantomR return ret_ref; } -uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManager_new(uint64_t fee_est, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t logger, uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t config, uint64_t params, int32_t current_timestamp) { +uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManager_new(uint64_t fee_est, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t message_router, uint64_t logger, uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t config, uint64_t params, int32_t current_timestamp) { void* fee_est_ptr = untag_ptr(fee_est); CHECK_ACCESS(fee_est_ptr); LDKFeeEstimator fee_est_conv = *(LDKFeeEstimator*)(fee_est_ptr); @@ -43282,6 +45159,13 @@ uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManage // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKRouter_JCalls_cloned(&router_conv); } + void* message_router_ptr = untag_ptr(message_router); + CHECK_ACCESS(message_router_ptr); + LDKMessageRouter message_router_conv = *(LDKMessageRouter*)(message_router_ptr); + if (message_router_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&message_router_conv); + } void* logger_ptr = untag_ptr(logger); CHECK_ACCESS(logger_ptr); LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); @@ -43320,7 +45204,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_new"))) TS_ChannelManage params_conv.is_owned = ptr_is_owned(params); CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv = ChainParameters_clone(¶ms_conv); - LDKChannelManager ret_var = ChannelManager_new(fee_est_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, logger_conv, entropy_source_conv, node_signer_conv, signer_provider_conv, config_conv, params_conv, current_timestamp); + LDKChannelManager ret_var = ChannelManager_new(fee_est_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, message_router_conv, logger_conv, entropy_source_conv, node_signer_conv, signer_provider_conv, config_conv, params_conv, current_timestamp); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -43564,33 +45448,6 @@ void __attribute__((export_name("TS_ChannelManager_force_close_all_channels_wit ChannelManager_force_close_all_channels_without_broadcasting_txn(&this_arg_conv, error_message_conv); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_payment_with_route"))) TS_ChannelManager_send_payment_with_route(uint64_t this_arg, uint64_t route, int8_tArray payment_hash, uint64_t recipient_onion, int8_tArray payment_id) { - LDKChannelManager this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKRoute route_conv; - route_conv.inner = untag_ptr(route); - route_conv.is_owned = ptr_is_owned(route); - CHECK_INNER_FIELD_ACCESS_OR_NULL(route_conv); - route_conv = Route_clone(&route_conv); - LDKThirtyTwoBytes payment_hash_ref; - CHECK(payment_hash->arr_len == 32); - memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); - LDKRecipientOnionFields recipient_onion_conv; - recipient_onion_conv.inner = untag_ptr(recipient_onion); - recipient_onion_conv.is_owned = ptr_is_owned(recipient_onion); - CHECK_INNER_FIELD_ACCESS_OR_NULL(recipient_onion_conv); - recipient_onion_conv = RecipientOnionFields_clone(&recipient_onion_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_NonePaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_NonePaymentSendFailureZ), "LDKCResult_NonePaymentSendFailureZ"); - *ret_conv = ChannelManager_send_payment_with_route(&this_arg_conv, route_conv, payment_hash_ref, recipient_onion_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - uint64_t __attribute__((export_name("TS_ChannelManager_send_payment"))) TS_ChannelManager_send_payment(uint64_t this_arg, int8_tArray payment_hash, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -43622,47 +45479,39 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_payment"))) TS_Chan return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_ChannelManager_abandon_payment"))) TS_ChannelManager_abandon_payment(uint64_t this_arg, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_ChannelManager_send_payment_for_bolt12_invoice"))) TS_ChannelManager_send_payment_for_bolt12_invoice(uint64_t this_arg, uint64_t invoice, uint64_t context) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - ChannelManager_abandon_payment(&this_arg_conv, payment_id_ref); + LDKBolt12Invoice invoice_conv; + invoice_conv.inner = untag_ptr(invoice); + invoice_conv.is_owned = ptr_is_owned(invoice); + CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_conv); + invoice_conv.is_owned = false; + void* context_ptr = untag_ptr(context); + CHECK_ACCESS(context_ptr); + LDKCOption_OffersContextZ context_conv = *(LDKCOption_OffersContextZ*)(context_ptr); + context_conv = COption_OffersContextZ_clone((LDKCOption_OffersContextZ*)untag_ptr(context)); + LDKCResult_NoneBolt12PaymentErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12PaymentErrorZ), "LDKCResult_NoneBolt12PaymentErrorZ"); + *ret_conv = ChannelManager_send_payment_for_bolt12_invoice(&this_arg_conv, &invoice_conv, context_conv); + return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment"))) TS_ChannelManager_send_spontaneous_payment(uint64_t this_arg, uint64_t route, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id) { +void __attribute__((export_name("TS_ChannelManager_abandon_payment"))) TS_ChannelManager_abandon_payment(uint64_t this_arg, int8_tArray payment_id) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; - LDKRoute route_conv; - route_conv.inner = untag_ptr(route); - route_conv.is_owned = ptr_is_owned(route); - CHECK_INNER_FIELD_ACCESS_OR_NULL(route_conv); - route_conv.is_owned = false; - void* payment_preimage_ptr = untag_ptr(payment_preimage); - CHECK_ACCESS(payment_preimage_ptr); - LDKCOption_ThirtyTwoBytesZ payment_preimage_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_preimage_ptr); - payment_preimage_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_preimage)); - LDKRecipientOnionFields recipient_onion_conv; - recipient_onion_conv.inner = untag_ptr(recipient_onion); - recipient_onion_conv.is_owned = ptr_is_owned(recipient_onion); - CHECK_INNER_FIELD_ACCESS_OR_NULL(recipient_onion_conv); - recipient_onion_conv = RecipientOnionFields_clone(&recipient_onion_conv); LDKThirtyTwoBytes payment_id_ref; CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_ThirtyTwoBytesPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ), "LDKCResult_ThirtyTwoBytesPaymentSendFailureZ"); - *ret_conv = ChannelManager_send_spontaneous_payment(&this_arg_conv, &route_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref); - return tag_ptr(ret_conv, true); + ChannelManager_abandon_payment(&this_arg_conv, payment_id_ref); } -uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment_with_retry"))) TS_ChannelManager_send_spontaneous_payment_with_retry(uint64_t this_arg, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { +uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment"))) TS_ChannelManager_send_spontaneous_payment(uint64_t this_arg, uint64_t payment_preimage, uint64_t recipient_onion, int8_tArray payment_id, uint64_t route_params, uint64_t retry_strategy) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -43690,7 +45539,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_spontaneous_payment LDKRetry retry_strategy_conv = *(LDKRetry*)(retry_strategy_ptr); retry_strategy_conv = Retry_clone((LDKRetry*)untag_ptr(retry_strategy)); LDKCResult_ThirtyTwoBytesRetryableSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_ThirtyTwoBytesRetryableSendFailureZ), "LDKCResult_ThirtyTwoBytesRetryableSendFailureZ"); - *ret_conv = ChannelManager_send_spontaneous_payment_with_retry(&this_arg_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref, route_params_conv, retry_strategy_conv); + *ret_conv = ChannelManager_send_spontaneous_payment(&this_arg_conv, payment_preimage_conv, recipient_onion_conv, payment_id_ref, route_params_conv, retry_strategy_conv); return tag_ptr(ret_conv, true); } @@ -43705,7 +45554,7 @@ uint64_t __attribute__((export_name("TS_ChannelManager_send_probe"))) TS_Channe path_conv.is_owned = ptr_is_owned(path); CHECK_INNER_FIELD_ACCESS_OR_NULL(path_conv); path_conv = Path_clone(&path_conv); - LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ"); + LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ), "LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ"); *ret_conv = ChannelManager_send_probe(&this_arg_conv, path_conv); return tag_ptr(ret_conv, true); } @@ -44063,6 +45912,205 @@ uint64_t __attribute__((export_name("TS_ChannelManager_accept_inbound_channel_f return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_ChannelManager_signer_unblocked"))) TS_ChannelManager_signer_unblocked(uint64_t this_arg, uint64_t channel_opt) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + void* channel_opt_ptr = untag_ptr(channel_opt); + CHECK_ACCESS(channel_opt_ptr); + LDKCOption_C2Tuple_PublicKeyChannelIdZZ channel_opt_conv = *(LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)(channel_opt_ptr); + channel_opt_conv = COption_C2Tuple_PublicKeyChannelIdZZ_clone((LDKCOption_C2Tuple_PublicKeyChannelIdZZ*)untag_ptr(channel_opt)); + ChannelManager_signer_unblocked(&this_arg_conv, channel_opt_conv); +} + +uint64_t __attribute__((export_name("TS_ChannelManager_create_bolt11_invoice"))) TS_ChannelManager_create_bolt11_invoice(uint64_t this_arg, uint64_t params) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKBolt11InvoiceParameters params_conv; + params_conv.inner = untag_ptr(params); + params_conv.is_owned = ptr_is_owned(params); + CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); + // WARNING: we need a move here but no clone is available for LDKBolt11InvoiceParameters + + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = ChannelManager_create_bolt11_invoice(&this_arg_conv, params_conv); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_free"))) TS_Bolt11InvoiceParameters_free(uint64_t this_obj) { + LDKBolt11InvoiceParameters this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + Bolt11InvoiceParameters_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_amount_msats"))) TS_Bolt11InvoiceParameters_get_amount_msats(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u64Z *ret_copy = MALLOC(sizeof(LDKCOption_u64Z), "LDKCOption_u64Z"); + *ret_copy = Bolt11InvoiceParameters_get_amount_msats(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_amount_msats"))) TS_Bolt11InvoiceParameters_set_amount_msats(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u64Z val_conv = *(LDKCOption_u64Z*)(val_ptr); + val_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_amount_msats(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_description"))) TS_Bolt11InvoiceParameters_get_description(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceParameters_get_description(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_description"))) TS_Bolt11InvoiceParameters_set_description(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKBolt11InvoiceDescription val_conv = *(LDKBolt11InvoiceDescription*)(val_ptr); + val_conv = Bolt11InvoiceDescription_clone((LDKBolt11InvoiceDescription*)untag_ptr(val)); + Bolt11InvoiceParameters_set_description(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_invoice_expiry_delta_secs"))) TS_Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u32Z *ret_copy = MALLOC(sizeof(LDKCOption_u32Z), "LDKCOption_u32Z"); + *ret_copy = Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_invoice_expiry_delta_secs"))) TS_Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u32Z val_conv = *(LDKCOption_u32Z*)(val_ptr); + val_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta"))) TS_Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_u16Z *ret_copy = MALLOC(sizeof(LDKCOption_u16Z), "LDKCOption_u16Z"); + *ret_copy = Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta"))) TS_Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_u16Z val_conv = *(LDKCOption_u16Z*)(val_ptr); + val_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(val)); + Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_get_payment_hash"))) TS_Bolt11InvoiceParameters_get_payment_hash(uint64_t this_ptr) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCOption_ThirtyTwoBytesZ *ret_copy = MALLOC(sizeof(LDKCOption_ThirtyTwoBytesZ), "LDKCOption_ThirtyTwoBytesZ"); + *ret_copy = Bolt11InvoiceParameters_get_payment_hash(&this_ptr_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +void __attribute__((export_name("TS_Bolt11InvoiceParameters_set_payment_hash"))) TS_Bolt11InvoiceParameters_set_payment_hash(uint64_t this_ptr, uint64_t val) { + LDKBolt11InvoiceParameters this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKCOption_ThirtyTwoBytesZ val_conv = *(LDKCOption_ThirtyTwoBytesZ*)(val_ptr); + val_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(val)); + Bolt11InvoiceParameters_set_payment_hash(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_new"))) TS_Bolt11InvoiceParameters_new(uint64_t amount_msats_arg, uint64_t description_arg, uint64_t invoice_expiry_delta_secs_arg, uint64_t min_final_cltv_expiry_delta_arg, uint64_t payment_hash_arg) { + void* amount_msats_arg_ptr = untag_ptr(amount_msats_arg); + CHECK_ACCESS(amount_msats_arg_ptr); + LDKCOption_u64Z amount_msats_arg_conv = *(LDKCOption_u64Z*)(amount_msats_arg_ptr); + amount_msats_arg_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amount_msats_arg)); + void* description_arg_ptr = untag_ptr(description_arg); + CHECK_ACCESS(description_arg_ptr); + LDKBolt11InvoiceDescription description_arg_conv = *(LDKBolt11InvoiceDescription*)(description_arg_ptr); + description_arg_conv = Bolt11InvoiceDescription_clone((LDKBolt11InvoiceDescription*)untag_ptr(description_arg)); + void* invoice_expiry_delta_secs_arg_ptr = untag_ptr(invoice_expiry_delta_secs_arg); + CHECK_ACCESS(invoice_expiry_delta_secs_arg_ptr); + LDKCOption_u32Z invoice_expiry_delta_secs_arg_conv = *(LDKCOption_u32Z*)(invoice_expiry_delta_secs_arg_ptr); + invoice_expiry_delta_secs_arg_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(invoice_expiry_delta_secs_arg)); + void* min_final_cltv_expiry_delta_arg_ptr = untag_ptr(min_final_cltv_expiry_delta_arg); + CHECK_ACCESS(min_final_cltv_expiry_delta_arg_ptr); + LDKCOption_u16Z min_final_cltv_expiry_delta_arg_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_arg_ptr); + min_final_cltv_expiry_delta_arg_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta_arg)); + void* payment_hash_arg_ptr = untag_ptr(payment_hash_arg); + CHECK_ACCESS(payment_hash_arg_ptr); + LDKCOption_ThirtyTwoBytesZ payment_hash_arg_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_hash_arg_ptr); + payment_hash_arg_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_hash_arg)); + LDKBolt11InvoiceParameters ret_var = Bolt11InvoiceParameters_new(amount_msats_arg_conv, description_arg_conv, invoice_expiry_delta_secs_arg_conv, min_final_cltv_expiry_delta_arg_conv, payment_hash_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceParameters_default"))) TS_Bolt11InvoiceParameters_default() { + LDKBolt11InvoiceParameters ret_var = Bolt11InvoiceParameters_default(); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_ChannelManager_create_offer_builder"))) TS_ChannelManager_create_offer_builder(uint64_t this_arg, uint64_t absolute_expiry) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44155,6 +46203,49 @@ uint64_t __attribute__((export_name("TS_ChannelManager_request_refund_payment") return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_ChannelManager_pay_for_offer_from_human_readable_name"))) TS_ChannelManager_pay_for_offer_from_human_readable_name(uint64_t this_arg, uint64_t name, int64_t amount_msats, int8_tArray payment_id, uint64_t retry_strategy, uint64_t max_total_routing_fee_msat, uint64_tArray dns_resolvers) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName name_conv; + name_conv.inner = untag_ptr(name); + name_conv.is_owned = ptr_is_owned(name); + CHECK_INNER_FIELD_ACCESS_OR_NULL(name_conv); + name_conv = HumanReadableName_clone(&name_conv); + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + void* retry_strategy_ptr = untag_ptr(retry_strategy); + CHECK_ACCESS(retry_strategy_ptr); + LDKRetry retry_strategy_conv = *(LDKRetry*)(retry_strategy_ptr); + retry_strategy_conv = Retry_clone((LDKRetry*)untag_ptr(retry_strategy)); + void* max_total_routing_fee_msat_ptr = untag_ptr(max_total_routing_fee_msat); + CHECK_ACCESS(max_total_routing_fee_msat_ptr); + LDKCOption_u64Z max_total_routing_fee_msat_conv = *(LDKCOption_u64Z*)(max_total_routing_fee_msat_ptr); + max_total_routing_fee_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(max_total_routing_fee_msat)); + LDKCVec_DestinationZ dns_resolvers_constr; + dns_resolvers_constr.datalen = dns_resolvers->arr_len; + if (dns_resolvers_constr.datalen > 0) + dns_resolvers_constr.data = MALLOC(dns_resolvers_constr.datalen * sizeof(LDKDestination), "LDKCVec_DestinationZ Elements"); + else + dns_resolvers_constr.data = NULL; + uint64_t* dns_resolvers_vals = dns_resolvers->elems; + for (size_t n = 0; n < dns_resolvers_constr.datalen; n++) { + uint64_t dns_resolvers_conv_13 = dns_resolvers_vals[n]; + void* dns_resolvers_conv_13_ptr = untag_ptr(dns_resolvers_conv_13); + CHECK_ACCESS(dns_resolvers_conv_13_ptr); + LDKDestination dns_resolvers_conv_13_conv = *(LDKDestination*)(dns_resolvers_conv_13_ptr); + dns_resolvers_conv_13_conv = Destination_clone((LDKDestination*)untag_ptr(dns_resolvers_conv_13)); + dns_resolvers_constr.data[n] = dns_resolvers_conv_13_conv; + } + FREE(dns_resolvers); + LDKCResult_NoneNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneNoneZ), "LDKCResult_NoneNoneZ"); + *ret_conv = ChannelManager_pay_for_offer_from_human_readable_name(&this_arg_conv, name_conv, amount_msats, payment_id_ref, retry_strategy_conv, max_total_routing_fee_msat_conv, dns_resolvers_constr); + return tag_ptr(ret_conv, true); +} + uint64_t __attribute__((export_name("TS_ChannelManager_create_inbound_payment"))) TS_ChannelManager_create_inbound_payment(uint64_t this_arg, uint64_t min_value_msat, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44424,6 +46515,17 @@ uint64_t __attribute__((export_name("TS_ChannelManager_as_AsyncPaymentsMessageH return tag_ptr(ret_ret, true); } +uint64_t __attribute__((export_name("TS_ChannelManager_as_DNSResolverMessageHandler"))) TS_ChannelManager_as_DNSResolverMessageHandler(uint64_t this_arg) { + LDKChannelManager this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSResolverMessageHandler* ret_ret = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *ret_ret = ChannelManager_as_DNSResolverMessageHandler(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + uint64_t __attribute__((export_name("TS_ChannelManager_as_NodeIdLookUp"))) TS_ChannelManager_as_NodeIdLookUp(uint64_t this_arg) { LDKChannelManager this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -44765,6 +46867,33 @@ void __attribute__((export_name("TS_ChannelManagerReadArgs_set_router"))) TS_Ch ChannelManagerReadArgs_set_router(&this_ptr_conv, val_conv); } +uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_get_message_router"))) TS_ChannelManagerReadArgs_get_message_router(uint64_t this_ptr) { + LDKChannelManagerReadArgs this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + // WARNING: This object doesn't live past this scope, needs clone! + uint64_t ret_ret = tag_ptr(ChannelManagerReadArgs_get_message_router(&this_ptr_conv), false); + return ret_ret; +} + +void __attribute__((export_name("TS_ChannelManagerReadArgs_set_message_router"))) TS_ChannelManagerReadArgs_set_message_router(uint64_t this_ptr, uint64_t val) { + LDKChannelManagerReadArgs this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + void* val_ptr = untag_ptr(val); + CHECK_ACCESS(val_ptr); + LDKMessageRouter val_conv = *(LDKMessageRouter*)(val_ptr); + if (val_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&val_conv); + } + ChannelManagerReadArgs_set_message_router(&this_ptr_conv, val_conv); +} + uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_get_logger"))) TS_ChannelManagerReadArgs_get_logger(uint64_t this_ptr) { LDKChannelManagerReadArgs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -44819,7 +46948,7 @@ void __attribute__((export_name("TS_ChannelManagerReadArgs_set_default_config") ChannelManagerReadArgs_set_default_config(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_ChannelManagerReadArgs_new(uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t fee_estimator, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t logger, uint64_t default_config, uint64_tArray channel_monitors) { +uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_ChannelManagerReadArgs_new(uint64_t entropy_source, uint64_t node_signer, uint64_t signer_provider, uint64_t fee_estimator, uint64_t chain_monitor, uint64_t tx_broadcaster, uint64_t router, uint64_t message_router, uint64_t logger, uint64_t default_config, uint64_tArray channel_monitors) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -44869,6 +46998,13 @@ uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_Chann // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKRouter_JCalls_cloned(&router_conv); } + void* message_router_ptr = untag_ptr(message_router); + CHECK_ACCESS(message_router_ptr); + LDKMessageRouter message_router_conv = *(LDKMessageRouter*)(message_router_ptr); + if (message_router_conv.free == LDKMessageRouter_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKMessageRouter_JCalls_cloned(&message_router_conv); + } void* logger_ptr = untag_ptr(logger); CHECK_ACCESS(logger_ptr); LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); @@ -44898,7 +47034,7 @@ uint64_t __attribute__((export_name("TS_ChannelManagerReadArgs_new"))) TS_Chann channel_monitors_constr.data[q] = channel_monitors_conv_16_conv; } FREE(channel_monitors); - LDKChannelManagerReadArgs ret_var = ChannelManagerReadArgs_new(entropy_source_conv, node_signer_conv, signer_provider_conv, fee_estimator_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, logger_conv, default_config_conv, channel_monitors_constr); + LDKChannelManagerReadArgs ret_var = ChannelManagerReadArgs_new(entropy_source_conv, node_signer_conv, signer_provider_conv, fee_estimator_conv, chain_monitor_conv, tx_broadcaster_conv, router_conv, message_router_conv, logger_conv, default_config_conv, channel_monitors_constr); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -46974,25 +49110,6 @@ void __attribute__((export_name("TS_ChannelDetails_set_feerate_sat_per_1000_wei ChannelDetails_set_feerate_sat_per_1000_weight(&this_ptr_conv, val_conv); } -int64_t __attribute__((export_name("TS_ChannelDetails_get_balance_msat"))) TS_ChannelDetails_get_balance_msat(uint64_t this_ptr) { - LDKChannelDetails this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int64_t ret_conv = ChannelDetails_get_balance_msat(&this_ptr_conv); - return ret_conv; -} - -void __attribute__((export_name("TS_ChannelDetails_set_balance_msat"))) TS_ChannelDetails_set_balance_msat(uint64_t this_ptr, int64_t val) { - LDKChannelDetails this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - ChannelDetails_set_balance_msat(&this_ptr_conv, val); -} - int64_t __attribute__((export_name("TS_ChannelDetails_get_outbound_capacity_msat"))) TS_ChannelDetails_get_outbound_capacity_msat(uint64_t this_ptr) { LDKChannelDetails this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); @@ -47418,7 +49535,7 @@ void __attribute__((export_name("TS_ChannelDetails_set_pending_outbound_htlcs") ChannelDetails_set_pending_outbound_htlcs(&this_ptr_conv, val_constr); } -uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetails_new(uint64_t channel_id_arg, uint64_t counterparty_arg, uint64_t funding_txo_arg, uint64_t channel_type_arg, uint64_t short_channel_id_arg, uint64_t outbound_scid_alias_arg, uint64_t inbound_scid_alias_arg, int64_t channel_value_satoshis_arg, uint64_t unspendable_punishment_reserve_arg, int8_tArray user_channel_id_arg, uint64_t feerate_sat_per_1000_weight_arg, int64_t balance_msat_arg, int64_t outbound_capacity_msat_arg, int64_t next_outbound_htlc_limit_msat_arg, int64_t next_outbound_htlc_minimum_msat_arg, int64_t inbound_capacity_msat_arg, uint64_t confirmations_required_arg, uint64_t confirmations_arg, uint64_t force_close_spend_delay_arg, jboolean is_outbound_arg, jboolean is_channel_ready_arg, uint64_t channel_shutdown_state_arg, jboolean is_usable_arg, jboolean is_announced_arg, uint64_t inbound_htlc_minimum_msat_arg, uint64_t inbound_htlc_maximum_msat_arg, uint64_t config_arg, uint64_tArray pending_inbound_htlcs_arg, uint64_tArray pending_outbound_htlcs_arg) { +uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetails_new(uint64_t channel_id_arg, uint64_t counterparty_arg, uint64_t funding_txo_arg, uint64_t channel_type_arg, uint64_t short_channel_id_arg, uint64_t outbound_scid_alias_arg, uint64_t inbound_scid_alias_arg, int64_t channel_value_satoshis_arg, uint64_t unspendable_punishment_reserve_arg, int8_tArray user_channel_id_arg, uint64_t feerate_sat_per_1000_weight_arg, int64_t outbound_capacity_msat_arg, int64_t next_outbound_htlc_limit_msat_arg, int64_t next_outbound_htlc_minimum_msat_arg, int64_t inbound_capacity_msat_arg, uint64_t confirmations_required_arg, uint64_t confirmations_arg, uint64_t force_close_spend_delay_arg, jboolean is_outbound_arg, jboolean is_channel_ready_arg, uint64_t channel_shutdown_state_arg, jboolean is_usable_arg, jboolean is_announced_arg, uint64_t inbound_htlc_minimum_msat_arg, uint64_t inbound_htlc_maximum_msat_arg, uint64_t config_arg, uint64_tArray pending_inbound_htlcs_arg, uint64_tArray pending_outbound_htlcs_arg) { LDKChannelId channel_id_arg_conv; channel_id_arg_conv.inner = untag_ptr(channel_id_arg); channel_id_arg_conv.is_owned = ptr_is_owned(channel_id_arg); @@ -47525,7 +49642,7 @@ uint64_t __attribute__((export_name("TS_ChannelDetails_new"))) TS_ChannelDetail pending_outbound_htlcs_arg_constr.data[v] = pending_outbound_htlcs_arg_conv_21_conv; } FREE(pending_outbound_htlcs_arg); - LDKChannelDetails ret_var = ChannelDetails_new(channel_id_arg_conv, counterparty_arg_conv, funding_txo_arg_conv, channel_type_arg_conv, short_channel_id_arg_conv, outbound_scid_alias_arg_conv, inbound_scid_alias_arg_conv, channel_value_satoshis_arg, unspendable_punishment_reserve_arg_conv, user_channel_id_arg_ref, feerate_sat_per_1000_weight_arg_conv, balance_msat_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg_conv, confirmations_arg_conv, force_close_spend_delay_arg_conv, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg_conv, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg_conv, inbound_htlc_maximum_msat_arg_conv, config_arg_conv, pending_inbound_htlcs_arg_constr, pending_outbound_htlcs_arg_constr); + LDKChannelDetails ret_var = ChannelDetails_new(channel_id_arg_conv, counterparty_arg_conv, funding_txo_arg_conv, channel_type_arg_conv, short_channel_id_arg_conv, outbound_scid_alias_arg_conv, inbound_scid_alias_arg_conv, channel_value_satoshis_arg, unspendable_punishment_reserve_arg_conv, user_channel_id_arg_ref, feerate_sat_per_1000_weight_arg_conv, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg_conv, confirmations_arg_conv, force_close_spend_delay_arg_conv, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg_conv, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg_conv, inbound_htlc_maximum_msat_arg_conv, config_arg_conv, pending_inbound_htlcs_arg_constr, pending_outbound_htlcs_arg_constr); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -47674,11 +49791,65 @@ void __attribute__((export_name("TS_ExpandedKey_free"))) TS_ExpandedKey_free(ui ExpandedKey_free(this_obj_conv); } +int64_t __attribute__((export_name("TS_ExpandedKey_hash"))) TS_ExpandedKey_hash(uint64_t o) { + LDKExpandedKey o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = ExpandedKey_hash(&o_conv); + return ret_conv; +} + +static inline uint64_t ExpandedKey_clone_ptr(LDKExpandedKey *NONNULL_PTR arg) { + LDKExpandedKey ret_var = ExpandedKey_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_ExpandedKey_clone_ptr"))) TS_ExpandedKey_clone_ptr(uint64_t arg) { + LDKExpandedKey arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = ExpandedKey_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_ExpandedKey_clone"))) TS_ExpandedKey_clone(uint64_t orig) { + LDKExpandedKey orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKExpandedKey ret_var = ExpandedKey_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_ExpandedKey_eq"))) TS_ExpandedKey_eq(uint64_t a, uint64_t b) { + LDKExpandedKey a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKExpandedKey b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = ExpandedKey_eq(&a_conv, &b_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_ExpandedKey_new"))) TS_ExpandedKey_new(int8_tArray key_material) { - uint8_t key_material_arr[32]; + LDKThirtyTwoBytes key_material_ref; CHECK(key_material->arr_len == 32); - memcpy(key_material_arr, key_material->elems, 32); FREE(key_material); - uint8_t (*key_material_ref)[32] = &key_material_arr; + memcpy(key_material_ref.data, key_material->elems, 32); FREE(key_material); LDKExpandedKey ret_var = ExpandedKey_new(key_material_ref); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); @@ -57964,6 +60135,21 @@ uint64_t __attribute__((export_name("TS_FinalOnionHopData_clone"))) TS_FinalOni return ret_ref; } +jboolean __attribute__((export_name("TS_FinalOnionHopData_eq"))) TS_FinalOnionHopData_eq(uint64_t a, uint64_t b) { + LDKFinalOnionHopData a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKFinalOnionHopData b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = FinalOnionHopData_eq(&a_conv, &b_conv); + return ret_conv; +} + void __attribute__((export_name("TS_OnionPacket_free"))) TS_OnionPacket_free(uint64_t this_obj) { LDKOnionPacket this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -59572,6 +61758,17 @@ uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_AsyncPayments return tag_ptr(ret_ret, true); } +uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_DNSResolverMessageHandler"))) TS_IgnoringMessageHandler_as_DNSResolverMessageHandler(uint64_t this_arg) { + LDKIgnoringMessageHandler this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSResolverMessageHandler* ret_ret = MALLOC(sizeof(LDKDNSResolverMessageHandler), "LDKDNSResolverMessageHandler"); + *ret_ret = IgnoringMessageHandler_as_DNSResolverMessageHandler(&this_arg_conv); + return tag_ptr(ret_ret, true); +} + uint64_t __attribute__((export_name("TS_IgnoringMessageHandler_as_CustomOnionMessageHandler"))) TS_IgnoringMessageHandler_as_CustomOnionMessageHandler(uint64_t this_arg) { LDKIgnoringMessageHandler this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -62732,167 +64929,6 @@ int64_t __attribute__((export_name("TS_get_commitment_transaction_number_obscur return ret_conv; } -int8_tArray __attribute__((export_name("TS_InitFeatures_write"))) TS_InitFeatures_write(uint64_t obj) { - LDKInitFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = InitFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_InitFeatures_read"))) TS_InitFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); - *ret_conv = InitFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_ChannelFeatures_write"))) TS_ChannelFeatures_write(uint64_t obj) { - LDKChannelFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = ChannelFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_ChannelFeatures_read"))) TS_ChannelFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); - *ret_conv = ChannelFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_NodeFeatures_write"))) TS_NodeFeatures_write(uint64_t obj) { - LDKNodeFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = NodeFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_NodeFeatures_read"))) TS_NodeFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); - *ret_conv = NodeFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_Bolt11InvoiceFeatures_write"))) TS_Bolt11InvoiceFeatures_write(uint64_t obj) { - LDKBolt11InvoiceFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = Bolt11InvoiceFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_Bolt11InvoiceFeatures_read"))) TS_Bolt11InvoiceFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); - *ret_conv = Bolt11InvoiceFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_Bolt12InvoiceFeatures_write"))) TS_Bolt12InvoiceFeatures_write(uint64_t obj) { - LDKBolt12InvoiceFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = Bolt12InvoiceFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_Bolt12InvoiceFeatures_read"))) TS_Bolt12InvoiceFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); - *ret_conv = Bolt12InvoiceFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_BlindedHopFeatures_write"))) TS_BlindedHopFeatures_write(uint64_t obj) { - LDKBlindedHopFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = BlindedHopFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_BlindedHopFeatures_read"))) TS_BlindedHopFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); - *ret_conv = BlindedHopFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - -int8_tArray __attribute__((export_name("TS_ChannelTypeFeatures_write"))) TS_ChannelTypeFeatures_write(uint64_t obj) { - LDKChannelTypeFeatures obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = ChannelTypeFeatures_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_ChannelTypeFeatures_read"))) TS_ChannelTypeFeatures_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); - *ret_conv = ChannelTypeFeatures_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - void __attribute__((export_name("TS_ShutdownScript_free"))) TS_ShutdownScript_free(uint64_t this_obj) { LDKShutdownScript this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -63346,18 +65382,6 @@ uint64_t __attribute__((export_name("TS_ChannelId_read"))) TS_ChannelId_read(in return tag_ptr(ret_conv, true); } -jstring __attribute__((export_name("TS_ChannelId_to_str"))) TS_ChannelId_to_str(uint64_t o) { - LDKChannelId o_conv; - o_conv.inner = untag_ptr(o); - o_conv.is_owned = ptr_is_owned(o); - CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); - o_conv.is_owned = false; - LDKStr ret_str = ChannelId_to_str(&o_conv); - jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); - Str_free(ret_str); - return ret_conv; -} - uint64_t __attribute__((export_name("TS_create_phantom_invoice"))) TS_create_phantom_invoice(uint64_t amt_msat, uint64_t payment_hash, jstring description, int32_t invoice_expiry_delta_secs, uint64_tArray phantom_route_hints, uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t min_final_cltv_expiry_delta, int64_t duration_since_epoch) { void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); @@ -63478,27 +65502,32 @@ uint64_t __attribute__((export_name("TS_create_phantom_invoice_with_description return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch"))) TS_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, uint64_t description_hash, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager"))) TS_create_invoice_from_channelmanager(uint64_t channelmanager, uint64_t amt_msat, jstring description, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { + LDKChannelManager channelmanager_conv; + channelmanager_conv.inner = untag_ptr(channelmanager); + channelmanager_conv.is_owned = ptr_is_owned(channelmanager); + CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); + channelmanager_conv.is_owned = false; + void* amt_msat_ptr = untag_ptr(amt_msat); + CHECK_ACCESS(amt_msat_ptr); + LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); + amt_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amt_msat)); + LDKStr description_conv = str_ref_to_owned_c(description); + void* min_final_cltv_expiry_delta_ptr = untag_ptr(min_final_cltv_expiry_delta); + CHECK_ACCESS(min_final_cltv_expiry_delta_ptr); + LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); + min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); + LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); + *ret_conv = create_invoice_from_channelmanager(&channelmanager_conv, amt_msat_conv, description_conv, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash"))) TS_create_invoice_from_channelmanager_with_description_hash(uint64_t channelmanager, uint64_t amt_msat, uint64_t description_hash, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); @@ -63513,66 +65542,43 @@ uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_hash_conv, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_description_hash(&channelmanager_conv, amt_msat_conv, description_hash_conv, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_duration_since_epoch"))) TS_create_invoice_from_channelmanager_and_duration_since_epoch(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, jstring description, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_description_hash_and_payment_hash"))) TS_create_invoice_from_channelmanager_with_description_hash_and_payment_hash(uint64_t channelmanager, uint64_t amt_msat, uint64_t description_hash, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); amt_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(amt_msat)); - LDKStr description_conv = str_ref_to_owned_c(description); + LDKSha256 description_hash_conv; + description_hash_conv.inner = untag_ptr(description_hash); + description_hash_conv.is_owned = ptr_is_owned(description_hash); + CHECK_INNER_FIELD_ACCESS_OR_NULL(description_hash_conv); + description_hash_conv = Sha256_clone(&description_hash_conv); + LDKThirtyTwoBytes payment_hash_ref; + CHECK(payment_hash->arr_len == 32); + memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); void* min_final_cltv_expiry_delta_ptr = untag_ptr(min_final_cltv_expiry_delta); CHECK_ACCESS(min_final_cltv_expiry_delta_ptr); LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_and_duration_since_epoch(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_conv, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_description_hash_and_payment_hash(&channelmanager_conv, amt_msat_conv, description_hash_conv, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash"))) TS_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(uint64_t channelmanager, uint64_t node_signer, uint64_t logger, uint32_t network, uint64_t amt_msat, jstring description, int64_t duration_since_epoch, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { +uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_with_payment_hash"))) TS_create_invoice_from_channelmanager_with_payment_hash(uint64_t channelmanager, uint64_t amt_msat, jstring description, int32_t invoice_expiry_delta_secs, int8_tArray payment_hash, uint64_t min_final_cltv_expiry_delta) { LDKChannelManager channelmanager_conv; channelmanager_conv.inner = untag_ptr(channelmanager); channelmanager_conv.is_owned = ptr_is_owned(channelmanager); CHECK_INNER_FIELD_ACCESS_OR_NULL(channelmanager_conv); channelmanager_conv.is_owned = false; - void* node_signer_ptr = untag_ptr(node_signer); - CHECK_ACCESS(node_signer_ptr); - LDKNodeSigner node_signer_conv = *(LDKNodeSigner*)(node_signer_ptr); - if (node_signer_conv.free == LDKNodeSigner_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKNodeSigner_JCalls_cloned(&node_signer_conv); - } - void* logger_ptr = untag_ptr(logger); - CHECK_ACCESS(logger_ptr); - LDKLogger logger_conv = *(LDKLogger*)(logger_ptr); - if (logger_conv.free == LDKLogger_JCalls_free) { - // If this_arg is a JCalls struct, then we need to increment the refcnt in it. - LDKLogger_JCalls_cloned(&logger_conv); - } - LDKCurrency network_conv = LDKCurrency_from_js(network); void* amt_msat_ptr = untag_ptr(amt_msat); CHECK_ACCESS(amt_msat_ptr); LDKCOption_u64Z amt_msat_conv = *(LDKCOption_u64Z*)(amt_msat_ptr); @@ -63586,18 +65592,18 @@ uint64_t __attribute__((export_name("TS_create_invoice_from_channelmanager_and_ LDKCOption_u16Z min_final_cltv_expiry_delta_conv = *(LDKCOption_u16Z*)(min_final_cltv_expiry_delta_ptr); min_final_cltv_expiry_delta_conv = COption_u16Z_clone((LDKCOption_u16Z*)untag_ptr(min_final_cltv_expiry_delta)); LDKCResult_Bolt11InvoiceSignOrCreationErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ), "LDKCResult_Bolt11InvoiceSignOrCreationErrorZ"); - *ret_conv = create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(&channelmanager_conv, node_signer_conv, logger_conv, network_conv, amt_msat_conv, description_conv, duration_since_epoch, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); + *ret_conv = create_invoice_from_channelmanager_with_payment_hash(&channelmanager_conv, amt_msat_conv, description_conv, invoice_expiry_delta_secs, payment_hash_ref, min_final_cltv_expiry_delta_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_payment_parameters_from_zero_amount_invoice"))) TS_payment_parameters_from_zero_amount_invoice(uint64_t invoice, int64_t amount_msat) { +uint64_t __attribute__((export_name("TS_payment_parameters_from_variable_amount_invoice"))) TS_payment_parameters_from_variable_amount_invoice(uint64_t invoice, int64_t amount_msat) { LDKBolt11Invoice invoice_conv; invoice_conv.inner = untag_ptr(invoice); invoice_conv.is_owned = ptr_is_owned(invoice); CHECK_INNER_FIELD_ACCESS_OR_NULL(invoice_conv); invoice_conv.is_owned = false; LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ), "LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ"); - *ret_conv = payment_parameters_from_zero_amount_invoice(&invoice_conv, amount_msat); + *ret_conv = payment_parameters_from_variable_amount_invoice(&invoice_conv, amount_msat); return tag_ptr(ret_conv, true); } @@ -63713,137 +65719,6 @@ jboolean __attribute__((export_name("TS_RetryableSendFailure_eq"))) TS_Retryabl return ret_conv; } -void __attribute__((export_name("TS_PaymentSendFailure_free"))) TS_PaymentSendFailure_free(uint64_t this_ptr) { - if (!ptr_is_owned(this_ptr)) return; - void* this_ptr_ptr = untag_ptr(this_ptr); - CHECK_ACCESS(this_ptr_ptr); - LDKPaymentSendFailure this_ptr_conv = *(LDKPaymentSendFailure*)(this_ptr_ptr); - FREE(untag_ptr(this_ptr)); - PaymentSendFailure_free(this_ptr_conv); -} - -static inline uint64_t PaymentSendFailure_clone_ptr(LDKPaymentSendFailure *NONNULL_PTR arg) { - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} -int64_t __attribute__((export_name("TS_PaymentSendFailure_clone_ptr"))) TS_PaymentSendFailure_clone_ptr(uint64_t arg) { - LDKPaymentSendFailure* arg_conv = (LDKPaymentSendFailure*)untag_ptr(arg); - int64_t ret_conv = PaymentSendFailure_clone_ptr(arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_clone"))) TS_PaymentSendFailure_clone(uint64_t orig) { - LDKPaymentSendFailure* orig_conv = (LDKPaymentSendFailure*)untag_ptr(orig); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_parameter_error"))) TS_PaymentSendFailure_parameter_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKAPIError a_conv = *(LDKAPIError*)(a_ptr); - a_conv = APIError_clone((LDKAPIError*)untag_ptr(a)); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_parameter_error(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_path_parameter_error"))) TS_PaymentSendFailure_path_parameter_error(uint64_tArray a) { - LDKCVec_CResult_NoneAPIErrorZZ a_constr; - a_constr.datalen = a->arr_len; - if (a_constr.datalen > 0) - a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - a_constr.data = NULL; - uint64_t* a_vals = a->elems; - for (size_t w = 0; w < a_constr.datalen; w++) { - uint64_t a_conv_22 = a_vals[w]; - void* a_conv_22_ptr = untag_ptr(a_conv_22); - CHECK_ACCESS(a_conv_22_ptr); - LDKCResult_NoneAPIErrorZ a_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(a_conv_22_ptr); - a_conv_22_conv = CResult_NoneAPIErrorZ_clone((LDKCResult_NoneAPIErrorZ*)untag_ptr(a_conv_22)); - a_constr.data[w] = a_conv_22_conv; - } - FREE(a); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_path_parameter_error(a_constr); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_all_failed_resend_safe"))) TS_PaymentSendFailure_all_failed_resend_safe(uint64_tArray a) { - LDKCVec_APIErrorZ a_constr; - a_constr.datalen = a->arr_len; - if (a_constr.datalen > 0) - a_constr.data = MALLOC(a_constr.datalen * sizeof(LDKAPIError), "LDKCVec_APIErrorZ Elements"); - else - a_constr.data = NULL; - uint64_t* a_vals = a->elems; - for (size_t k = 0; k < a_constr.datalen; k++) { - uint64_t a_conv_10 = a_vals[k]; - void* a_conv_10_ptr = untag_ptr(a_conv_10); - CHECK_ACCESS(a_conv_10_ptr); - LDKAPIError a_conv_10_conv = *(LDKAPIError*)(a_conv_10_ptr); - a_conv_10_conv = APIError_clone((LDKAPIError*)untag_ptr(a_conv_10)); - a_constr.data[k] = a_conv_10_conv; - } - FREE(a); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_all_failed_resend_safe(a_constr); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_duplicate_payment"))) TS_PaymentSendFailure_duplicate_payment() { - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_duplicate_payment(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_PaymentSendFailure_partial_failure"))) TS_PaymentSendFailure_partial_failure(uint64_tArray results, uint64_t failed_paths_retry, int8_tArray payment_id) { - LDKCVec_CResult_NoneAPIErrorZZ results_constr; - results_constr.datalen = results->arr_len; - if (results_constr.datalen > 0) - results_constr.data = MALLOC(results_constr.datalen * sizeof(LDKCResult_NoneAPIErrorZ), "LDKCVec_CResult_NoneAPIErrorZZ Elements"); - else - results_constr.data = NULL; - uint64_t* results_vals = results->elems; - for (size_t w = 0; w < results_constr.datalen; w++) { - uint64_t results_conv_22 = results_vals[w]; - void* results_conv_22_ptr = untag_ptr(results_conv_22); - CHECK_ACCESS(results_conv_22_ptr); - LDKCResult_NoneAPIErrorZ results_conv_22_conv = *(LDKCResult_NoneAPIErrorZ*)(results_conv_22_ptr); - results_conv_22_conv = CResult_NoneAPIErrorZ_clone((LDKCResult_NoneAPIErrorZ*)untag_ptr(results_conv_22)); - results_constr.data[w] = results_conv_22_conv; - } - FREE(results); - LDKRouteParameters failed_paths_retry_conv; - failed_paths_retry_conv.inner = untag_ptr(failed_paths_retry); - failed_paths_retry_conv.is_owned = ptr_is_owned(failed_paths_retry); - CHECK_INNER_FIELD_ACCESS_OR_NULL(failed_paths_retry_conv); - failed_paths_retry_conv = RouteParameters_clone(&failed_paths_retry_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKPaymentSendFailure *ret_copy = MALLOC(sizeof(LDKPaymentSendFailure), "LDKPaymentSendFailure"); - *ret_copy = PaymentSendFailure_partial_failure(results_constr, failed_paths_retry_conv, payment_id_ref); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -jboolean __attribute__((export_name("TS_PaymentSendFailure_eq"))) TS_PaymentSendFailure_eq(uint64_t a, uint64_t b) { - LDKPaymentSendFailure* a_conv = (LDKPaymentSendFailure*)untag_ptr(a); - LDKPaymentSendFailure* b_conv = (LDKPaymentSendFailure*)untag_ptr(b); - jboolean ret_conv = PaymentSendFailure_eq(a_conv, b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_Bolt12PaymentError_free"))) TS_Bolt12PaymentError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -63945,13 +65820,20 @@ uint64_t __attribute__((export_name("TS_ProbeSendFailure_route_not_found"))) TS return ret_ref; } -uint64_t __attribute__((export_name("TS_ProbeSendFailure_sending_failed"))) TS_ProbeSendFailure_sending_failed(uint64_t a) { +uint64_t __attribute__((export_name("TS_ProbeSendFailure_parameter_error"))) TS_ProbeSendFailure_parameter_error(uint64_t a) { void* a_ptr = untag_ptr(a); CHECK_ACCESS(a_ptr); - LDKPaymentSendFailure a_conv = *(LDKPaymentSendFailure*)(a_ptr); - a_conv = PaymentSendFailure_clone((LDKPaymentSendFailure*)untag_ptr(a)); + LDKAPIError a_conv = *(LDKAPIError*)(a_ptr); + a_conv = APIError_clone((LDKAPIError*)untag_ptr(a)); LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); - *ret_copy = ProbeSendFailure_sending_failed(a_conv); + *ret_copy = ProbeSendFailure_parameter_error(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ProbeSendFailure_duplicate_probe"))) TS_ProbeSendFailure_duplicate_probe() { + LDKProbeSendFailure *ret_copy = MALLOC(sizeof(LDKProbeSendFailure), "LDKProbeSendFailure"); + *ret_copy = ProbeSendFailure_duplicate_probe(); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -64195,6 +66077,167 @@ void __attribute__((export_name("TS_Type_free"))) TS_Type_free(uint64_t this_pt Type_free(this_ptr_conv); } +int8_tArray __attribute__((export_name("TS_InitFeatures_write"))) TS_InitFeatures_write(uint64_t obj) { + LDKInitFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = InitFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_InitFeatures_read"))) TS_InitFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_InitFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InitFeaturesDecodeErrorZ), "LDKCResult_InitFeaturesDecodeErrorZ"); + *ret_conv = InitFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_ChannelFeatures_write"))) TS_ChannelFeatures_write(uint64_t obj) { + LDKChannelFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = ChannelFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_ChannelFeatures_read"))) TS_ChannelFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_ChannelFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ), "LDKCResult_ChannelFeaturesDecodeErrorZ"); + *ret_conv = ChannelFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_NodeFeatures_write"))) TS_NodeFeatures_write(uint64_t obj) { + LDKNodeFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = NodeFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_NodeFeatures_read"))) TS_NodeFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_NodeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NodeFeaturesDecodeErrorZ), "LDKCResult_NodeFeaturesDecodeErrorZ"); + *ret_conv = NodeFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_Bolt11InvoiceFeatures_write"))) TS_Bolt11InvoiceFeatures_write(uint64_t obj) { + LDKBolt11InvoiceFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = Bolt11InvoiceFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceFeatures_read"))) TS_Bolt11InvoiceFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ"); + *ret_conv = Bolt11InvoiceFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_Bolt12InvoiceFeatures_write"))) TS_Bolt12InvoiceFeatures_write(uint64_t obj) { + LDKBolt12InvoiceFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = Bolt12InvoiceFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_Bolt12InvoiceFeatures_read"))) TS_Bolt12InvoiceFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ), "LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ"); + *ret_conv = Bolt12InvoiceFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_BlindedHopFeatures_write"))) TS_BlindedHopFeatures_write(uint64_t obj) { + LDKBlindedHopFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = BlindedHopFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_BlindedHopFeatures_read"))) TS_BlindedHopFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_BlindedHopFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_BlindedHopFeaturesDecodeErrorZ), "LDKCResult_BlindedHopFeaturesDecodeErrorZ"); + *ret_conv = BlindedHopFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +int8_tArray __attribute__((export_name("TS_ChannelTypeFeatures_write"))) TS_ChannelTypeFeatures_write(uint64_t obj) { + LDKChannelTypeFeatures obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = ChannelTypeFeatures_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_ChannelTypeFeatures_read"))) TS_ChannelTypeFeatures_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_ChannelTypeFeaturesDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_ChannelTypeFeaturesDecodeErrorZ), "LDKCResult_ChannelTypeFeaturesDecodeErrorZ"); + *ret_conv = ChannelTypeFeatures_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_OfferId_free"))) TS_OfferId_free(uint64_t this_obj) { LDKOfferId this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -64767,14 +66810,14 @@ uint64_t __attribute__((export_name("TS_Offer_supported_quantity"))) TS_Offer_s return ret_ref; } -int8_tArray __attribute__((export_name("TS_Offer_signing_pubkey"))) TS_Offer_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Offer_issuer_signing_pubkey"))) TS_Offer_issuer_signing_pubkey(uint64_t this_arg) { LDKOffer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Offer_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Offer_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -64834,7 +66877,7 @@ jboolean __attribute__((export_name("TS_Offer_expects_quantity"))) TS_Offer_exp return ret_conv; } -uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_payer_id"))) TS_Offer_request_invoice_deriving_payer_id(uint64_t this_arg, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_Offer_request_invoice"))) TS_Offer_request_invoice(uint64_t this_arg, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { LDKOffer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -64853,53 +66896,8 @@ uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_payer_id LDKThirtyTwoBytes payment_id_ref; CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice_deriving_payer_id(&this_arg_conv, &expanded_key_conv, nonce_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_Offer_request_invoice_deriving_metadata"))) TS_Offer_request_invoice_deriving_metadata(uint64_t this_arg, int8_tArray payer_id, uint64_t expanded_key, uint64_t nonce, int8_tArray payment_id) { - LDKOffer this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); - LDKExpandedKey expanded_key_conv; - expanded_key_conv.inner = untag_ptr(expanded_key); - expanded_key_conv.is_owned = ptr_is_owned(expanded_key); - CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); - expanded_key_conv.is_owned = false; - LDKNonce nonce_conv; - nonce_conv.inner = untag_ptr(nonce); - nonce_conv.is_owned = ptr_is_owned(nonce); - CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); - nonce_conv = Nonce_clone(&nonce_conv); - LDKThirtyTwoBytes payment_id_ref; - CHECK(payment_id->arr_len == 32); - memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice_deriving_metadata(&this_arg_conv, payer_id_ref, &expanded_key_conv, nonce_conv, payment_id_ref); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_Offer_request_invoice"))) TS_Offer_request_invoice(uint64_t this_arg, int8_tArray metadata, int8_tArray payer_id) { - LDKOffer this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKCVec_u8Z metadata_ref; - metadata_ref.datalen = metadata->arr_len; - metadata_ref.data = MALLOC(metadata_ref.datalen, "LDKCVec_u8Z Bytes"); - memcpy(metadata_ref.data, metadata->elems, metadata_ref.datalen); FREE(metadata); - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); - LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ"); - *ret_conv = Offer_request_invoice(&this_arg_conv, metadata_ref, payer_id_ref); + LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ"); + *ret_conv = Offer_request_invoice(&this_arg_conv, &expanded_key_conv, nonce_conv, payment_id_ref); return tag_ptr(ret_conv, true); } @@ -65311,6 +67309,28 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_clone"))) TS_Bolt12Invoic return ret_ref; } +uint64_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payment_paths"))) TS_UnsignedBolt12Invoice_payment_paths(uint64_t this_arg) { + LDKUnsignedBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKCVec_BlindedPaymentPathZ ret_var = UnsignedBolt12Invoice_payment_paths(&this_arg_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedPaymentPath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + int64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_created_at"))) TS_UnsignedBolt12Invoice_created_at(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65508,6 +67528,17 @@ uint64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_supported_quantit return ret_ref; } +int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_issuer_signing_pubkey"))) TS_UnsignedBolt12Invoice_issuer_signing_pubkey(uint64_t this_arg) { + LDKUnsignedBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, UnsignedBolt12Invoice_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_metadata"))) TS_UnsignedBolt12Invoice_payer_metadata(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65545,14 +67576,14 @@ uint64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_quantity"))) TS_U return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_id"))) TS_UnsignedBolt12Invoice_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedBolt12Invoice_payer_signing_pubkey"))) TS_UnsignedBolt12Invoice_payer_signing_pubkey(uint64_t this_arg) { LDKUnsignedBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedBolt12Invoice_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedBolt12Invoice_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -65590,6 +67621,28 @@ int64_t __attribute__((export_name("TS_UnsignedBolt12Invoice_amount_msats"))) T return ret_conv; } +uint64_tArray __attribute__((export_name("TS_Bolt12Invoice_payment_paths"))) TS_Bolt12Invoice_payment_paths(uint64_t this_arg) { + LDKBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKCVec_BlindedPaymentPathZ ret_var = Bolt12Invoice_payment_paths(&this_arg_conv); + uint64_tArray ret_arr = NULL; + ret_arr = init_uint64_tArray(ret_var.datalen, __LINE__); + uint64_t *ret_arr_ptr = (uint64_t*)(((uint8_t*)ret_arr) + 8); + for (size_t u = 0; u < ret_var.datalen; u++) { + LDKBlindedPaymentPath ret_conv_20_var = ret_var.data[u]; + uint64_t ret_conv_20_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_conv_20_var); + ret_conv_20_ref = tag_ptr(ret_conv_20_var.inner, ret_conv_20_var.is_owned); + ret_arr_ptr[u] = ret_conv_20_ref; + } + + FREE(ret_var.data); + return ret_arr; +} + int64_t __attribute__((export_name("TS_Bolt12Invoice_created_at"))) TS_Bolt12Invoice_created_at(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65787,6 +67840,17 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_supported_quantity"))) TS return ret_ref; } +int8_tArray __attribute__((export_name("TS_Bolt12Invoice_issuer_signing_pubkey"))) TS_Bolt12Invoice_issuer_signing_pubkey(uint64_t this_arg) { + LDKBolt12Invoice this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(33, __LINE__); + memcpy(ret_arr->elems, Bolt12Invoice_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_metadata"))) TS_Bolt12Invoice_payer_metadata(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -65824,14 +67888,14 @@ uint64_t __attribute__((export_name("TS_Bolt12Invoice_quantity"))) TS_Bolt12Inv return ret_ref; } -int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_id"))) TS_Bolt12Invoice_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Bolt12Invoice_payer_signing_pubkey"))) TS_Bolt12Invoice_payer_signing_pubkey(uint64_t this_arg) { LDKBolt12Invoice this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Bolt12Invoice_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Bolt12Invoice_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66225,140 +68289,87 @@ uint64_t __attribute__((export_name("TS_InvoiceError_read"))) TS_InvoiceError_r return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_free"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_free(uint64_t this_obj) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_obj_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(uint64_t this_obj) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); this_obj_conv.is_owned = ptr_is_owned(this_obj); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - InvoiceRequestWithExplicitPayerIdBuilder_free(this_obj_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(this_obj_conv); } -void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_free"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_free(uint64_t this_obj) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_obj_conv; - this_obj_conv.inner = untag_ptr(this_obj); - this_obj_conv.is_owned = ptr_is_owned(this_obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - InvoiceRequestWithDerivedPayerIdBuilder_free(this_obj_conv); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_build"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_build(uint64_t this_arg) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(uint64_t this_arg) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ), "LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_build(this_arg_conv); + LDKCResult_InvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestBolt12SemanticErrorZ"); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(this_arg_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_chain"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_chain(uint64_t this_arg, uint32_t network) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(uint64_t this_arg, uint32_t network) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKNetwork network_conv = LDKNetwork_from_js(network); LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_chain(this_arg_conv, network_conv); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(this_arg_conv, network_conv); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_amount_msats"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(this_arg_conv, amount_msats); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(this_arg_conv, amount_msats); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_quantity"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_quantity(uint64_t this_arg, int64_t quantity) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(uint64_t this_arg, int64_t quantity) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithExplicitPayerIdBuilder_quantity(this_arg_conv, quantity); + *ret_conv = InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(this_arg_conv, quantity); return tag_ptr(ret_conv, true); } -void __attribute__((export_name("TS_InvoiceRequestWithExplicitPayerIdBuilder_payer_note"))) TS_InvoiceRequestWithExplicitPayerIdBuilder_payer_note(uint64_t this_arg, jstring payer_note) { - LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(uint64_t this_arg, jstring payer_note) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithExplicitPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder LDKStr payer_note_conv = str_ref_to_owned_c(payer_note); - InvoiceRequestWithExplicitPayerIdBuilder_payer_note(this_arg_conv, payer_note_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(this_arg_conv, payer_note_conv); } -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(uint64_t this_arg) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; +void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name"))) TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(uint64_t this_arg, uint64_t hrn) { + LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder + // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder - LDKCResult_InvoiceRequestBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestBolt12SemanticErrorZ), "LDKCResult_InvoiceRequestBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(this_arg_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_chain"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_chain(uint64_t this_arg, uint32_t network) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKNetwork network_conv = LDKNetwork_from_js(network); - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_chain(this_arg_conv, network_conv); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_amount_msats"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(uint64_t this_arg, int64_t amount_msats) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(this_arg_conv, amount_msats); - return tag_ptr(ret_conv, true); -} - -uint64_t __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_quantity"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_quantity(uint64_t this_arg, int64_t quantity) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKCResult_NoneBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_NoneBolt12SemanticErrorZ), "LDKCResult_NoneBolt12SemanticErrorZ"); - *ret_conv = InvoiceRequestWithDerivedPayerIdBuilder_quantity(this_arg_conv, quantity); - return tag_ptr(ret_conv, true); -} - -void __attribute__((export_name("TS_InvoiceRequestWithDerivedPayerIdBuilder_payer_note"))) TS_InvoiceRequestWithDerivedPayerIdBuilder_payer_note(uint64_t this_arg, jstring payer_note) { - LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - // WARNING: we need a move here but no clone is available for LDKInvoiceRequestWithDerivedPayerIdBuilder - - LDKStr payer_note_conv = str_ref_to_owned_c(payer_note); - InvoiceRequestWithDerivedPayerIdBuilder_payer_note(this_arg_conv, payer_note_conv); + LDKHumanReadableName hrn_conv; + hrn_conv.inner = untag_ptr(hrn); + hrn_conv.is_owned = ptr_is_owned(hrn); + CHECK_INNER_FIELD_ACCESS_OR_NULL(hrn_conv); + hrn_conv = HumanReadableName_clone(&hrn_conv); + InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(this_arg_conv, hrn_conv); } void __attribute__((export_name("TS_UnsignedInvoiceRequest_free"))) TS_UnsignedInvoiceRequest_free(uint64_t this_obj) { @@ -66653,14 +68664,14 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_supported_quanti return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_signing_pubkey"))) TS_UnsignedInvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_issuer_signing_pubkey"))) TS_UnsignedInvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedInvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedInvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66699,6 +68710,16 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_amount_msats"))) return ret_ref; } +jboolean __attribute__((export_name("TS_UnsignedInvoiceRequest_has_amount_msats"))) TS_UnsignedInvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKUnsignedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = UnsignedInvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_invoice_request_features"))) TS_UnsignedInvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66724,14 +68745,14 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_quantity"))) TS_ return ret_ref; } -int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_id"))) TS_UnsignedInvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_signing_pubkey"))) TS_UnsignedInvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKUnsignedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, UnsignedInvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, UnsignedInvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66748,6 +68769,19 @@ uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_payer_note"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_UnsignedInvoiceRequest_offer_from_hrn"))) TS_UnsignedInvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKUnsignedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = UnsignedInvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + ptrArray __attribute__((export_name("TS_InvoiceRequest_chains"))) TS_InvoiceRequest_chains(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66877,14 +68911,14 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_supported_quantity"))) T return ret_ref; } -int8_tArray __attribute__((export_name("TS_InvoiceRequest_signing_pubkey"))) TS_InvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_InvoiceRequest_issuer_signing_pubkey"))) TS_InvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66923,6 +68957,16 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_amount_msats"))) TS_Invo return ret_ref; } +jboolean __attribute__((export_name("TS_InvoiceRequest_has_amount_msats"))) TS_InvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_InvoiceRequest_invoice_request_features"))) TS_InvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -66948,14 +68992,14 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_quantity"))) TS_InvoiceR return ret_ref; } -int8_tArray __attribute__((export_name("TS_InvoiceRequest_payer_id"))) TS_InvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_InvoiceRequest_payer_signing_pubkey"))) TS_InvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -66972,6 +69016,19 @@ uint64_t __attribute__((export_name("TS_InvoiceRequest_payer_note"))) TS_Invoic return ret_ref; } +uint64_t __attribute__((export_name("TS_InvoiceRequest_offer_from_hrn"))) TS_InvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = InvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_InvoiceRequest_respond_with_no_std"))) TS_InvoiceRequest_respond_with_no_std(uint64_t this_arg, uint64_tArray payment_paths, int8_tArray payment_hash, int64_t created_at) { LDKInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67180,14 +69237,14 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_supported_quanti return ret_ref; } -int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_signing_pubkey"))) TS_VerifiedInvoiceRequest_signing_pubkey(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_issuer_signing_pubkey"))) TS_VerifiedInvoiceRequest_issuer_signing_pubkey(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, VerifiedInvoiceRequest_signing_pubkey(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, VerifiedInvoiceRequest_issuer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -67226,6 +69283,16 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_amount_msats"))) return ret_ref; } +jboolean __attribute__((export_name("TS_VerifiedInvoiceRequest_has_amount_msats"))) TS_VerifiedInvoiceRequest_has_amount_msats(uint64_t this_arg) { + LDKVerifiedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = VerifiedInvoiceRequest_has_amount_msats(&this_arg_conv); + return ret_conv; +} + uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_invoice_request_features"))) TS_VerifiedInvoiceRequest_invoice_request_features(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67251,14 +69318,14 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_quantity"))) TS_ return ret_ref; } -int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_id"))) TS_VerifiedInvoiceRequest_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_signing_pubkey"))) TS_VerifiedInvoiceRequest_payer_signing_pubkey(uint64_t this_arg) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, VerifiedInvoiceRequest_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, VerifiedInvoiceRequest_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -67275,6 +69342,19 @@ uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_payer_note"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_offer_from_hrn"))) TS_VerifiedInvoiceRequest_offer_from_hrn(uint64_t this_arg) { + LDKVerifiedInvoiceRequest this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKHumanReadableName ret_var = VerifiedInvoiceRequest_offer_from_hrn(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_VerifiedInvoiceRequest_respond_with_no_std"))) TS_VerifiedInvoiceRequest_respond_with_no_std(uint64_t this_arg, uint64_tArray payment_paths, int8_tArray payment_hash, int64_t created_at) { LDKVerifiedInvoiceRequest this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -67363,6 +69443,16 @@ int8_tArray __attribute__((export_name("TS_InvoiceRequest_write"))) TS_InvoiceR return ret_arr; } +uint64_t __attribute__((export_name("TS_InvoiceRequest_read"))) TS_InvoiceRequest_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_InvoiceRequestDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_InvoiceRequestDecodeErrorZ), "LDKCResult_InvoiceRequestDecodeErrorZ"); + *ret_conv = InvoiceRequest_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_InvoiceRequestFields_free"))) TS_InvoiceRequestFields_free(uint64_t this_obj) { LDKInvoiceRequestFields this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -67371,18 +69461,18 @@ void __attribute__((export_name("TS_InvoiceRequestFields_free"))) TS_InvoiceReq InvoiceRequestFields_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_InvoiceRequestFields_get_payer_id"))) TS_InvoiceRequestFields_get_payer_id(uint64_t this_ptr) { +int8_tArray __attribute__((export_name("TS_InvoiceRequestFields_get_payer_signing_pubkey"))) TS_InvoiceRequestFields_get_payer_signing_pubkey(uint64_t this_ptr) { LDKInvoiceRequestFields this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, InvoiceRequestFields_get_payer_id(&this_ptr_conv).compressed_form, 33); + memcpy(ret_arr->elems, InvoiceRequestFields_get_payer_signing_pubkey(&this_ptr_conv).compressed_form, 33); return ret_arr; } -void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_id"))) TS_InvoiceRequestFields_set_payer_id(uint64_t this_ptr, int8_tArray val) { +void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_signing_pubkey"))) TS_InvoiceRequestFields_set_payer_signing_pubkey(uint64_t this_ptr, int8_tArray val) { LDKInvoiceRequestFields this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); @@ -67391,7 +69481,7 @@ void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_id"))) TS_In LDKPublicKey val_ref; CHECK(val->arr_len == 33); memcpy(val_ref.compressed_form, val->elems, 33); FREE(val); - InvoiceRequestFields_set_payer_id(&this_ptr_conv, val_ref); + InvoiceRequestFields_set_payer_signing_pubkey(&this_ptr_conv, val_ref); } uint64_t __attribute__((export_name("TS_InvoiceRequestFields_get_quantity"))) TS_InvoiceRequestFields_get_quantity(uint64_t this_ptr) { @@ -67446,10 +69536,37 @@ void __attribute__((export_name("TS_InvoiceRequestFields_set_payer_note_truncat InvoiceRequestFields_set_payer_note_truncated(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_InvoiceRequestFields_new(int8_tArray payer_id_arg, uint64_t quantity_arg, uint64_t payer_note_truncated_arg) { - LDKPublicKey payer_id_arg_ref; - CHECK(payer_id_arg->arr_len == 33); - memcpy(payer_id_arg_ref.compressed_form, payer_id_arg->elems, 33); FREE(payer_id_arg); +uint64_t __attribute__((export_name("TS_InvoiceRequestFields_get_human_readable_name"))) TS_InvoiceRequestFields_get_human_readable_name(uint64_t this_ptr) { + LDKInvoiceRequestFields this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKHumanReadableName ret_var = InvoiceRequestFields_get_human_readable_name(&this_ptr_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_InvoiceRequestFields_set_human_readable_name"))) TS_InvoiceRequestFields_set_human_readable_name(uint64_t this_ptr, uint64_t val) { + LDKInvoiceRequestFields this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKHumanReadableName val_conv; + val_conv.inner = untag_ptr(val); + val_conv.is_owned = ptr_is_owned(val); + CHECK_INNER_FIELD_ACCESS_OR_NULL(val_conv); + val_conv = HumanReadableName_clone(&val_conv); + InvoiceRequestFields_set_human_readable_name(&this_ptr_conv, val_conv); +} + +uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_InvoiceRequestFields_new(int8_tArray payer_signing_pubkey_arg, uint64_t quantity_arg, uint64_t payer_note_truncated_arg, uint64_t human_readable_name_arg) { + LDKPublicKey payer_signing_pubkey_arg_ref; + CHECK(payer_signing_pubkey_arg->arr_len == 33); + memcpy(payer_signing_pubkey_arg_ref.compressed_form, payer_signing_pubkey_arg->elems, 33); FREE(payer_signing_pubkey_arg); void* quantity_arg_ptr = untag_ptr(quantity_arg); CHECK_ACCESS(quantity_arg_ptr); LDKCOption_u64Z quantity_arg_conv = *(LDKCOption_u64Z*)(quantity_arg_ptr); @@ -67459,7 +69576,12 @@ uint64_t __attribute__((export_name("TS_InvoiceRequestFields_new"))) TS_Invoice payer_note_truncated_arg_conv.is_owned = ptr_is_owned(payer_note_truncated_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(payer_note_truncated_arg_conv); payer_note_truncated_arg_conv = UntrustedString_clone(&payer_note_truncated_arg_conv); - LDKInvoiceRequestFields ret_var = InvoiceRequestFields_new(payer_id_arg_ref, quantity_arg_conv, payer_note_truncated_arg_conv); + LDKHumanReadableName human_readable_name_arg_conv; + human_readable_name_arg_conv.inner = untag_ptr(human_readable_name_arg); + human_readable_name_arg_conv.is_owned = ptr_is_owned(human_readable_name_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(human_readable_name_arg_conv); + human_readable_name_arg_conv = HumanReadableName_clone(&human_readable_name_arg_conv); + LDKInvoiceRequestFields ret_var = InvoiceRequestFields_new(payer_signing_pubkey_arg_ref, quantity_arg_conv, payer_note_truncated_arg_conv, human_readable_name_arg_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -67852,18 +69974,13 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_description return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signing_pubkey"))) TS_Bolt12SemanticError_missing_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signing_pubkey()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_issuer_signing_pubkey"))) TS_Bolt12SemanticError_missing_issuer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_issuer_signing_pubkey()); return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_invalid_signing_pubkey"))) TS_Bolt12SemanticError_invalid_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_invalid_signing_pubkey()); - return ret_conv; -} - -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_signing_pubkey"))) TS_Bolt12SemanticError_unexpected_signing_pubkey() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_signing_pubkey()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_issuer_signing_pubkey"))) TS_Bolt12SemanticError_unexpected_issuer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_issuer_signing_pubkey()); return ret_conv; } @@ -67897,8 +70014,8 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_metad return ret_conv; } -uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_id"))) TS_Bolt12SemanticError_missing_payer_id() { - uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_payer_id()); +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_payer_signing_pubkey"))) TS_Bolt12SemanticError_missing_payer_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_payer_signing_pubkey()); return ret_conv; } @@ -67937,11 +70054,26 @@ uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_payment_ return ret_conv; } +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signing_pubkey"))) TS_Bolt12SemanticError_missing_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signing_pubkey()); + return ret_conv; +} + +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_invalid_signing_pubkey"))) TS_Bolt12SemanticError_invalid_signing_pubkey() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_invalid_signing_pubkey()); + return ret_conv; +} + uint32_t __attribute__((export_name("TS_Bolt12SemanticError_missing_signature"))) TS_Bolt12SemanticError_missing_signature() { uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_missing_signature()); return ret_conv; } +uint32_t __attribute__((export_name("TS_Bolt12SemanticError_unexpected_human_readable_name"))) TS_Bolt12SemanticError_unexpected_human_readable_name() { + uint32_t ret_conv = LDKBolt12SemanticError_to_js(Bolt12SemanticError_unexpected_human_readable_name()); + return ret_conv; +} + void __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_free"))) TS_RefundMaybeWithDerivedMetadataBuilder_free(uint64_t this_obj) { LDKRefundMaybeWithDerivedMetadataBuilder this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -67980,20 +70112,20 @@ uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_c return ret_ref; } -uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_new"))) TS_RefundMaybeWithDerivedMetadataBuilder_new(int8_tArray metadata, int8_tArray payer_id, int64_t amount_msats) { +uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_new"))) TS_RefundMaybeWithDerivedMetadataBuilder_new(int8_tArray metadata, int8_tArray signing_pubkey, int64_t amount_msats) { LDKCVec_u8Z metadata_ref; metadata_ref.datalen = metadata->arr_len; metadata_ref.data = MALLOC(metadata_ref.datalen, "LDKCVec_u8Z Bytes"); memcpy(metadata_ref.data, metadata->elems, metadata_ref.datalen); FREE(metadata); - LDKPublicKey payer_id_ref; - CHECK(payer_id->arr_len == 33); - memcpy(payer_id_ref.compressed_form, payer_id->elems, 33); FREE(payer_id); + LDKPublicKey signing_pubkey_ref; + CHECK(signing_pubkey->arr_len == 33); + memcpy(signing_pubkey_ref.compressed_form, signing_pubkey->elems, 33); FREE(signing_pubkey); LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ), "LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ"); - *ret_conv = RefundMaybeWithDerivedMetadataBuilder_new(metadata_ref, payer_id_ref, amount_msats); + *ret_conv = RefundMaybeWithDerivedMetadataBuilder_new(metadata_ref, signing_pubkey_ref, amount_msats); return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id"))) TS_RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(int8_tArray node_id, uint64_t expanded_key, uint64_t nonce, int64_t amount_msats, int8_tArray payment_id) { +uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey"))) TS_RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(int8_tArray node_id, uint64_t expanded_key, uint64_t nonce, int64_t amount_msats, int8_tArray payment_id) { LDKPublicKey node_id_ref; CHECK(node_id->arr_len == 33); memcpy(node_id_ref.compressed_form, node_id->elems, 33); FREE(node_id); @@ -68011,7 +70143,7 @@ uint64_t __attribute__((export_name("TS_RefundMaybeWithDerivedMetadataBuilder_d CHECK(payment_id->arr_len == 32); memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ), "LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ"); - *ret_conv = RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(node_id_ref, &expanded_key_conv, nonce_conv, amount_msats, payment_id_ref); + *ret_conv = RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(node_id_ref, &expanded_key_conv, nonce_conv, amount_msats, payment_id_ref); return tag_ptr(ret_conv, true); } @@ -68264,14 +70396,14 @@ uint64_t __attribute__((export_name("TS_Refund_quantity"))) TS_Refund_quantity( return ret_ref; } -int8_tArray __attribute__((export_name("TS_Refund_payer_id"))) TS_Refund_payer_id(uint64_t this_arg) { +int8_tArray __attribute__((export_name("TS_Refund_payer_signing_pubkey"))) TS_Refund_payer_signing_pubkey(uint64_t this_arg) { LDKRefund this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); this_arg_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(33, __LINE__); - memcpy(ret_arr->elems, Refund_payer_id(&this_arg_conv).compressed_form, 33); + memcpy(ret_arr->elems, Refund_payer_signing_pubkey(&this_arg_conv).compressed_form, 33); return ret_arr; } @@ -70703,17 +72835,6 @@ uint64_t __attribute__((export_name("TS_DefaultRouter_as_Router"))) TS_DefaultR return tag_ptr(ret_ret, true); } -uint64_t __attribute__((export_name("TS_DefaultRouter_as_MessageRouter"))) TS_DefaultRouter_as_MessageRouter(uint64_t this_arg) { - LDKDefaultRouter this_arg_conv; - this_arg_conv.inner = untag_ptr(this_arg); - this_arg_conv.is_owned = ptr_is_owned(this_arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); - this_arg_conv.is_owned = false; - LDKMessageRouter* ret_ret = MALLOC(sizeof(LDKMessageRouter), "LDKMessageRouter"); - *ret_ret = DefaultRouter_as_MessageRouter(&this_arg_conv); - return tag_ptr(ret_ret, true); -} - void __attribute__((export_name("TS_Router_free"))) TS_Router_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -73823,7 +75944,29 @@ uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimate return ret_ref; } -uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimated_payment_success_probability"))) TS_ProbabilisticScorer_historical_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params) { +uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimated_payment_success_probability"))) TS_ProbabilisticScorer_historical_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params, jboolean allow_fallback_estimation) { + LDKProbabilisticScorer this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKNodeId target_conv; + target_conv.inner = untag_ptr(target); + target_conv.is_owned = ptr_is_owned(target); + CHECK_INNER_FIELD_ACCESS_OR_NULL(target_conv); + target_conv.is_owned = false; + LDKProbabilisticScoringFeeParameters params_conv; + params_conv.inner = untag_ptr(params); + params_conv.is_owned = ptr_is_owned(params); + CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); + params_conv.is_owned = false; + LDKCOption_f64Z *ret_copy = MALLOC(sizeof(LDKCOption_f64Z), "LDKCOption_f64Z"); + *ret_copy = ProbabilisticScorer_historical_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv, allow_fallback_estimation); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ProbabilisticScorer_live_estimated_payment_success_probability"))) TS_ProbabilisticScorer_live_estimated_payment_success_probability(uint64_t this_arg, int64_t scid, uint64_t target, int64_t amount_msat, uint64_t params) { LDKProbabilisticScorer this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); this_arg_conv.is_owned = ptr_is_owned(this_arg); @@ -73840,7 +75983,7 @@ uint64_t __attribute__((export_name("TS_ProbabilisticScorer_historical_estimate CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv.is_owned = false; LDKCOption_f64Z *ret_copy = MALLOC(sizeof(LDKCOption_f64Z), "LDKCOption_f64Z"); - *ret_copy = ProbabilisticScorer_historical_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv); + *ret_copy = ProbabilisticScorer_live_estimated_payment_success_probability(&this_arg_conv, scid, &target_conv, amount_msat, ¶ms_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -76008,34 +78151,8 @@ void __attribute__((export_name("TS_HeldHtlcAvailable_free"))) TS_HeldHtlcAvail HeldHtlcAvailable_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_HeldHtlcAvailable_get_payment_release_secret"))) TS_HeldHtlcAvailable_get_payment_release_secret(uint64_t this_ptr) { - LDKHeldHtlcAvailable this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *HeldHtlcAvailable_get_payment_release_secret(&this_ptr_conv), 32); - return ret_arr; -} - -void __attribute__((export_name("TS_HeldHtlcAvailable_set_payment_release_secret"))) TS_HeldHtlcAvailable_set_payment_release_secret(uint64_t this_ptr, int8_tArray val) { - LDKHeldHtlcAvailable this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - LDKThirtyTwoBytes val_ref; - CHECK(val->arr_len == 32); - memcpy(val_ref.data, val->elems, 32); FREE(val); - HeldHtlcAvailable_set_payment_release_secret(&this_ptr_conv, val_ref); -} - -uint64_t __attribute__((export_name("TS_HeldHtlcAvailable_new"))) TS_HeldHtlcAvailable_new(int8_tArray payment_release_secret_arg) { - LDKThirtyTwoBytes payment_release_secret_arg_ref; - CHECK(payment_release_secret_arg->arr_len == 32); - memcpy(payment_release_secret_arg_ref.data, payment_release_secret_arg->elems, 32); FREE(payment_release_secret_arg); - LDKHeldHtlcAvailable ret_var = HeldHtlcAvailable_new(payment_release_secret_arg_ref); +uint64_t __attribute__((export_name("TS_HeldHtlcAvailable_new"))) TS_HeldHtlcAvailable_new() { + LDKHeldHtlcAvailable ret_var = HeldHtlcAvailable_new(); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -76080,34 +78197,8 @@ void __attribute__((export_name("TS_ReleaseHeldHtlc_free"))) TS_ReleaseHeldHtlc ReleaseHeldHtlc_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_ReleaseHeldHtlc_get_payment_release_secret"))) TS_ReleaseHeldHtlc_get_payment_release_secret(uint64_t this_ptr) { - LDKReleaseHeldHtlc this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *ReleaseHeldHtlc_get_payment_release_secret(&this_ptr_conv), 32); - return ret_arr; -} - -void __attribute__((export_name("TS_ReleaseHeldHtlc_set_payment_release_secret"))) TS_ReleaseHeldHtlc_set_payment_release_secret(uint64_t this_ptr, int8_tArray val) { - LDKReleaseHeldHtlc this_ptr_conv; - this_ptr_conv.inner = untag_ptr(this_ptr); - this_ptr_conv.is_owned = ptr_is_owned(this_ptr); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); - this_ptr_conv.is_owned = false; - LDKThirtyTwoBytes val_ref; - CHECK(val->arr_len == 32); - memcpy(val_ref.data, val->elems, 32); FREE(val); - ReleaseHeldHtlc_set_payment_release_secret(&this_ptr_conv, val_ref); -} - -uint64_t __attribute__((export_name("TS_ReleaseHeldHtlc_new"))) TS_ReleaseHeldHtlc_new(int8_tArray payment_release_secret_arg) { - LDKThirtyTwoBytes payment_release_secret_arg_ref; - CHECK(payment_release_secret_arg->arr_len == 32); - memcpy(payment_release_secret_arg_ref.data, payment_release_secret_arg->elems, 32); FREE(payment_release_secret_arg); - LDKReleaseHeldHtlc ret_var = ReleaseHeldHtlc_new(payment_release_secret_arg_ref); +uint64_t __attribute__((export_name("TS_ReleaseHeldHtlc_new"))) TS_ReleaseHeldHtlc_new() { + LDKReleaseHeldHtlc ret_var = ReleaseHeldHtlc_new(); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -76232,6 +78323,480 @@ uint64_t __attribute__((export_name("TS_AsyncPaymentsMessage_read"))) TS_AsyncP return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_DNSResolverMessageHandler_free"))) TS_DNSResolverMessageHandler_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKDNSResolverMessageHandler this_ptr_conv = *(LDKDNSResolverMessageHandler*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + DNSResolverMessageHandler_free(this_ptr_conv); +} + +void __attribute__((export_name("TS_DNSResolverMessage_free"))) TS_DNSResolverMessage_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKDNSResolverMessage this_ptr_conv = *(LDKDNSResolverMessage*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + DNSResolverMessage_free(this_ptr_conv); +} + +static inline uint64_t DNSResolverMessage_clone_ptr(LDKDNSResolverMessage *NONNULL_PTR arg) { + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSResolverMessage_clone_ptr"))) TS_DNSResolverMessage_clone_ptr(uint64_t arg) { + LDKDNSResolverMessage* arg_conv = (LDKDNSResolverMessage*)untag_ptr(arg); + int64_t ret_conv = DNSResolverMessage_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_clone"))) TS_DNSResolverMessage_clone(uint64_t orig) { + LDKDNSResolverMessage* orig_conv = (LDKDNSResolverMessage*)untag_ptr(orig); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_dnssecquery"))) TS_DNSResolverMessage_dnssecquery(uint64_t a) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECQuery_clone(&a_conv); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_dnssecquery(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_dnssecproof"))) TS_DNSResolverMessage_dnssecproof(uint64_t a) { + LDKDNSSECProof a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSSECProof_clone(&a_conv); + LDKDNSResolverMessage *ret_copy = MALLOC(sizeof(LDKDNSResolverMessage), "LDKDNSResolverMessage"); + *ret_copy = DNSResolverMessage_dnssecproof(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSResolverMessage_hash"))) TS_DNSResolverMessage_hash(uint64_t o) { + LDKDNSResolverMessage* o_conv = (LDKDNSResolverMessage*)untag_ptr(o); + int64_t ret_conv = DNSResolverMessage_hash(o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverMessage_eq"))) TS_DNSResolverMessage_eq(uint64_t a, uint64_t b) { + LDKDNSResolverMessage* a_conv = (LDKDNSResolverMessage*)untag_ptr(a); + LDKDNSResolverMessage* b_conv = (LDKDNSResolverMessage*)untag_ptr(b); + jboolean ret_conv = DNSResolverMessage_eq(a_conv, b_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_DNSSECQuery_free"))) TS_DNSSECQuery_free(uint64_t this_obj) { + LDKDNSSECQuery this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSSECQuery_free(this_obj_conv); +} + +static inline uint64_t DNSSECQuery_clone_ptr(LDKDNSSECQuery *NONNULL_PTR arg) { + LDKDNSSECQuery ret_var = DNSSECQuery_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSSECQuery_clone_ptr"))) TS_DNSSECQuery_clone_ptr(uint64_t arg) { + LDKDNSSECQuery arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSSECQuery_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSSECQuery_clone"))) TS_DNSSECQuery_clone(uint64_t orig) { + LDKDNSSECQuery orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSSECQuery ret_var = DNSSECQuery_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSSECQuery_hash"))) TS_DNSSECQuery_hash(uint64_t o) { + LDKDNSSECQuery o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSSECQuery_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSSECQuery_eq"))) TS_DNSSECQuery_eq(uint64_t a, uint64_t b) { + LDKDNSSECQuery a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSSECQuery b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSSECQuery_eq(&a_conv, &b_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_DNSSECProof_free"))) TS_DNSSECProof_free(uint64_t this_obj) { + LDKDNSSECProof this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSSECProof_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_DNSSECProof_get_proof"))) TS_DNSSECProof_get_proof(uint64_t this_ptr) { + LDKDNSSECProof this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCVec_u8Z ret_var = DNSSECProof_get_proof(&this_ptr_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +void __attribute__((export_name("TS_DNSSECProof_set_proof"))) TS_DNSSECProof_set_proof(uint64_t this_ptr, int8_tArray val) { + LDKDNSSECProof this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKCVec_u8Z val_ref; + val_ref.datalen = val->arr_len; + val_ref.data = MALLOC(val_ref.datalen, "LDKCVec_u8Z Bytes"); + memcpy(val_ref.data, val->elems, val_ref.datalen); FREE(val); + DNSSECProof_set_proof(&this_ptr_conv, val_ref); +} + +static inline uint64_t DNSSECProof_clone_ptr(LDKDNSSECProof *NONNULL_PTR arg) { + LDKDNSSECProof ret_var = DNSSECProof_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSSECProof_clone_ptr"))) TS_DNSSECProof_clone_ptr(uint64_t arg) { + LDKDNSSECProof arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSSECProof_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSSECProof_clone"))) TS_DNSSECProof_clone(uint64_t orig) { + LDKDNSSECProof orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSSECProof ret_var = DNSSECProof_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSSECProof_hash"))) TS_DNSSECProof_hash(uint64_t o) { + LDKDNSSECProof o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSSECProof_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSSECProof_eq"))) TS_DNSSECProof_eq(uint64_t a, uint64_t b) { + LDKDNSSECProof a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSSECProof b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSSECProof_eq(&a_conv, &b_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverMessage_is_known_type"))) TS_DNSResolverMessage_is_known_type(int64_t tlv_type) { + jboolean ret_conv = DNSResolverMessage_is_known_type(tlv_type); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_DNSResolverMessage_write"))) TS_DNSResolverMessage_write(uint64_t obj) { + LDKDNSResolverMessage* obj_conv = (LDKDNSResolverMessage*)untag_ptr(obj); + LDKCVec_u8Z ret_var = DNSResolverMessage_write(obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_read"))) TS_DNSResolverMessage_read(int8_tArray ser, int64_t arg) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_DNSResolverMessageDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverMessageDecodeErrorZ), "LDKCResult_DNSResolverMessageDecodeErrorZ"); + *ret_conv = DNSResolverMessage_read(ser_ref, arg); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_DNSResolverMessage_as_OnionMessageContents"))) TS_DNSResolverMessage_as_OnionMessageContents(uint64_t this_arg) { + LDKDNSResolverMessage* this_arg_conv = (LDKDNSResolverMessage*)untag_ptr(this_arg); + LDKOnionMessageContents* ret_ret = MALLOC(sizeof(LDKOnionMessageContents), "LDKOnionMessageContents"); + *ret_ret = DNSResolverMessage_as_OnionMessageContents(this_arg_conv); + return tag_ptr(ret_ret, true); +} + +void __attribute__((export_name("TS_HumanReadableName_free"))) TS_HumanReadableName_free(uint64_t this_obj) { + LDKHumanReadableName this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + HumanReadableName_free(this_obj_conv); +} + +static inline uint64_t HumanReadableName_clone_ptr(LDKHumanReadableName *NONNULL_PTR arg) { + LDKHumanReadableName ret_var = HumanReadableName_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_HumanReadableName_clone_ptr"))) TS_HumanReadableName_clone_ptr(uint64_t arg) { + LDKHumanReadableName arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = HumanReadableName_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_clone"))) TS_HumanReadableName_clone(uint64_t orig) { + LDKHumanReadableName orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKHumanReadableName ret_var = HumanReadableName_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_HumanReadableName_hash"))) TS_HumanReadableName_hash(uint64_t o) { + LDKHumanReadableName o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = HumanReadableName_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_HumanReadableName_eq"))) TS_HumanReadableName_eq(uint64_t a, uint64_t b) { + LDKHumanReadableName a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKHumanReadableName b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = HumanReadableName_eq(&a_conv, &b_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_new"))) TS_HumanReadableName_new(jstring user, jstring domain) { + LDKStr user_conv = str_ref_to_owned_c(user); + LDKStr domain_conv = str_ref_to_owned_c(domain); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = HumanReadableName_new(user_conv, domain_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_from_encoded"))) TS_HumanReadableName_from_encoded(jstring encoded) { + LDKStr encoded_conv = str_ref_to_owned_c(encoded); + LDKCResult_HumanReadableNameNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameNoneZ), "LDKCResult_HumanReadableNameNoneZ"); + *ret_conv = HumanReadableName_from_encoded(encoded_conv); + return tag_ptr(ret_conv, true); +} + +jstring __attribute__((export_name("TS_HumanReadableName_user"))) TS_HumanReadableName_user(uint64_t this_arg) { + LDKHumanReadableName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = HumanReadableName_user(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +jstring __attribute__((export_name("TS_HumanReadableName_domain"))) TS_HumanReadableName_domain(uint64_t this_arg) { + LDKHumanReadableName this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKStr ret_str = HumanReadableName_domain(&this_arg_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_HumanReadableName_write"))) TS_HumanReadableName_write(uint64_t obj) { + LDKHumanReadableName obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = HumanReadableName_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_HumanReadableName_read"))) TS_HumanReadableName_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_HumanReadableNameDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_HumanReadableNameDecodeErrorZ), "LDKCResult_HumanReadableNameDecodeErrorZ"); + *ret_conv = HumanReadableName_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_OMNameResolver_free"))) TS_OMNameResolver_free(uint64_t this_obj) { + LDKOMNameResolver this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + OMNameResolver_free(this_obj_conv); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_new"))) TS_OMNameResolver_new(int32_t latest_block_time, int32_t latest_block_height) { + LDKOMNameResolver ret_var = OMNameResolver_new(latest_block_time, latest_block_height); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_OMNameResolver_new_best_block"))) TS_OMNameResolver_new_best_block(uint64_t this_arg, int32_t height, int32_t time) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + OMNameResolver_new_best_block(&this_arg_conv, height, time); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_resolve_name"))) TS_OMNameResolver_resolve_name(uint64_t this_arg, int8_tArray payment_id, uint64_t name, uint64_t entropy_source) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + LDKHumanReadableName name_conv; + name_conv.inner = untag_ptr(name); + name_conv.is_owned = ptr_is_owned(name); + CHECK_INNER_FIELD_ACCESS_OR_NULL(name_conv); + name_conv = HumanReadableName_clone(&name_conv); + void* entropy_source_ptr = untag_ptr(entropy_source); + if (ptr_is_owned(entropy_source)) { CHECK_ACCESS(entropy_source_ptr); } + LDKEntropySource* entropy_source_conv = (LDKEntropySource*)entropy_source_ptr; + LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ* ret_conv = MALLOC(sizeof(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ), "LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ"); + *ret_conv = OMNameResolver_resolve_name(&this_arg_conv, payment_id_ref, name_conv, entropy_source_conv); + return tag_ptr(ret_conv, true); +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_handle_dnssec_proof_for_offer"))) TS_OMNameResolver_handle_dnssec_proof_for_offer(uint64_t this_arg, uint64_t msg, uint64_t context) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSSECProof msg_conv; + msg_conv.inner = untag_ptr(msg); + msg_conv.is_owned = ptr_is_owned(msg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); + msg_conv = DNSSECProof_clone(&msg_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ"); + *ret_copy = OMNameResolver_handle_dnssec_proof_for_offer(&this_arg_conv, msg_conv, context_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_OMNameResolver_handle_dnssec_proof_for_uri"))) TS_OMNameResolver_handle_dnssec_proof_for_uri(uint64_t this_arg, uint64_t msg, uint64_t context) { + LDKOMNameResolver this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKDNSSECProof msg_conv; + msg_conv.inner = untag_ptr(msg); + msg_conv.is_owned = ptr_is_owned(msg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(msg_conv); + msg_conv = DNSSECProof_clone(&msg_conv); + LDKDNSResolverContext context_conv; + context_conv.inner = untag_ptr(context); + context_conv.is_owned = ptr_is_owned(context); + CHECK_INNER_FIELD_ACCESS_OR_NULL(context_conv); + context_conv = DNSResolverContext_clone(&context_conv); + LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *ret_copy = MALLOC(sizeof(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ), "LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ"); + *ret_copy = OMNameResolver_handle_dnssec_proof_for_uri(&this_arg_conv, msg_conv, context_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + void __attribute__((export_name("TS_OnionMessenger_free"))) TS_OnionMessenger_free(uint64_t this_obj) { LDKOnionMessenger this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -76384,6 +78949,18 @@ uint64_t __attribute__((export_name("TS_ResponseInstruction_clone"))) TS_Respon return ret_ref; } +uint64_t __attribute__((export_name("TS_ResponseInstruction_into_instructions"))) TS_ResponseInstruction_into_instructions(uint64_t this_arg) { + LDKResponseInstruction this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv = ResponseInstruction_clone(&this_arg_conv); + LDKMessageSendInstructions *ret_copy = MALLOC(sizeof(LDKMessageSendInstructions), "LDKMessageSendInstructions"); + *ret_copy = ResponseInstruction_into_instructions(this_arg_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + void __attribute__((export_name("TS_MessageSendInstructions_free"))) TS_MessageSendInstructions_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -77113,7 +79690,7 @@ uint64_t __attribute__((export_name("TS_peel_onion_message"))) TS_peel_onion_me return tag_ptr(ret_conv, true); } -uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenger_new(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t custom_handler) { +uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenger_new(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t dns_resolver, uint64_t custom_handler) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -77163,6 +79740,13 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenge // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKAsyncPaymentsMessageHandler_JCalls_cloned(&async_payments_handler_conv); } + void* dns_resolver_ptr = untag_ptr(dns_resolver); + CHECK_ACCESS(dns_resolver_ptr); + LDKDNSResolverMessageHandler dns_resolver_conv = *(LDKDNSResolverMessageHandler*)(dns_resolver_ptr); + if (dns_resolver_conv.free == LDKDNSResolverMessageHandler_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKDNSResolverMessageHandler_JCalls_cloned(&dns_resolver_conv); + } void* custom_handler_ptr = untag_ptr(custom_handler); CHECK_ACCESS(custom_handler_ptr); LDKCustomOnionMessageHandler custom_handler_conv = *(LDKCustomOnionMessageHandler*)(custom_handler_ptr); @@ -77170,14 +79754,14 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new"))) TS_OnionMessenge // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKCustomOnionMessageHandler_JCalls_cloned(&custom_handler_conv); } - LDKOnionMessenger ret_var = OnionMessenger_new(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, custom_handler_conv); + LDKOnionMessenger ret_var = OnionMessenger_new(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, dns_resolver_conv, custom_handler_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_interception"))) TS_OnionMessenger_new_with_offline_peer_interception(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t custom_handler) { +uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_interception"))) TS_OnionMessenger_new_with_offline_peer_interception(uint64_t entropy_source, uint64_t node_signer, uint64_t logger, uint64_t node_id_lookup, uint64_t message_router, uint64_t offers_handler, uint64_t async_payments_handler, uint64_t dns_resolver, uint64_t custom_handler) { void* entropy_source_ptr = untag_ptr(entropy_source); CHECK_ACCESS(entropy_source_ptr); LDKEntropySource entropy_source_conv = *(LDKEntropySource*)(entropy_source_ptr); @@ -77227,6 +79811,13 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_in // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKAsyncPaymentsMessageHandler_JCalls_cloned(&async_payments_handler_conv); } + void* dns_resolver_ptr = untag_ptr(dns_resolver); + CHECK_ACCESS(dns_resolver_ptr); + LDKDNSResolverMessageHandler dns_resolver_conv = *(LDKDNSResolverMessageHandler*)(dns_resolver_ptr); + if (dns_resolver_conv.free == LDKDNSResolverMessageHandler_JCalls_free) { + // If this_arg is a JCalls struct, then we need to increment the refcnt in it. + LDKDNSResolverMessageHandler_JCalls_cloned(&dns_resolver_conv); + } void* custom_handler_ptr = untag_ptr(custom_handler); CHECK_ACCESS(custom_handler_ptr); LDKCustomOnionMessageHandler custom_handler_conv = *(LDKCustomOnionMessageHandler*)(custom_handler_ptr); @@ -77234,7 +79825,7 @@ uint64_t __attribute__((export_name("TS_OnionMessenger_new_with_offline_peer_in // If this_arg is a JCalls struct, then we need to increment the refcnt in it. LDKCustomOnionMessageHandler_JCalls_cloned(&custom_handler_conv); } - LDKOnionMessenger ret_var = OnionMessenger_new_with_offline_peer_interception(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, custom_handler_conv); + LDKOnionMessenger ret_var = OnionMessenger_new_with_offline_peer_interception(entropy_source_conv, node_signer_conv, logger_conv, node_id_lookup_conv, message_router_conv, offers_handler_conv, async_payments_handler_conv, dns_resolver_conv, custom_handler_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -77673,6 +80264,17 @@ uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_offers"))) T return ret_ref; } +uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_dnsresolver"))) TS_ParsedOnionMessageContents_dnsresolver(uint64_t a) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKDNSResolverMessage a_conv = *(LDKDNSResolverMessage*)(a_ptr); + a_conv = DNSResolverMessage_clone((LDKDNSResolverMessage*)untag_ptr(a)); + LDKParsedOnionMessageContents *ret_copy = MALLOC(sizeof(LDKParsedOnionMessageContents), "LDKParsedOnionMessageContents"); + *ret_copy = ParsedOnionMessageContents_dnsresolver(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_ParsedOnionMessageContents_custom"))) TS_ParsedOnionMessageContents_custom(uint64_t a) { void* a_ptr = untag_ptr(a); CHECK_ACCESS(a_ptr); @@ -78777,19 +81379,70 @@ void __attribute__((export_name("TS_ReceiveTlvs_free"))) TS_ReceiveTlvs_free(ui ReceiveTlvs_free(this_obj_conv); } -int8_tArray __attribute__((export_name("TS_ReceiveTlvs_get_payment_secret"))) TS_ReceiveTlvs_get_payment_secret(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +static inline uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg) { + LDKReceiveTlvs ret_var = ReceiveTlvs_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_ReceiveTlvs_clone_ptr"))) TS_ReceiveTlvs_clone_ptr(uint64_t arg) { + LDKReceiveTlvs arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = ReceiveTlvs_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_ReceiveTlvs_clone"))) TS_ReceiveTlvs_clone(uint64_t orig) { + LDKReceiveTlvs orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKReceiveTlvs ret_var = ReceiveTlvs_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_ReceiveTlvs_tlvs"))) TS_ReceiveTlvs_tlvs(uint64_t this_arg) { + LDKReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + LDKUnauthenticatedReceiveTlvs ret_var = ReceiveTlvs_tlvs(&this_arg_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_free"))) TS_UnauthenticatedReceiveTlvs_free(uint64_t this_obj) { + LDKUnauthenticatedReceiveTlvs this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + UnauthenticatedReceiveTlvs_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_secret"))) TS_UnauthenticatedReceiveTlvs_get_payment_secret(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; int8_tArray ret_arr = init_int8_tArray(32, __LINE__); - memcpy(ret_arr->elems, *ReceiveTlvs_get_payment_secret(&this_ptr_conv), 32); + memcpy(ret_arr->elems, *UnauthenticatedReceiveTlvs_get_payment_secret(&this_ptr_conv), 32); return ret_arr; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_secret"))) TS_ReceiveTlvs_set_payment_secret(uint64_t this_ptr, int8_tArray val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_secret"))) TS_UnauthenticatedReceiveTlvs_set_payment_secret(uint64_t this_ptr, int8_tArray val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78797,24 +81450,24 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_secret"))) TS_Recei LDKThirtyTwoBytes val_ref; CHECK(val->arr_len == 32); memcpy(val_ref.data, val->elems, 32); FREE(val); - ReceiveTlvs_set_payment_secret(&this_ptr_conv, val_ref); + UnauthenticatedReceiveTlvs_set_payment_secret(&this_ptr_conv, val_ref); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_get_payment_constraints"))) TS_ReceiveTlvs_get_payment_constraints(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_constraints"))) TS_UnauthenticatedReceiveTlvs_get_payment_constraints(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; - LDKPaymentConstraints ret_var = ReceiveTlvs_get_payment_constraints(&this_ptr_conv); + LDKPaymentConstraints ret_var = UnauthenticatedReceiveTlvs_get_payment_constraints(&this_ptr_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_constraints"))) TS_ReceiveTlvs_set_payment_constraints(uint64_t this_ptr, uint64_t val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_constraints"))) TS_UnauthenticatedReceiveTlvs_set_payment_constraints(uint64_t this_ptr, uint64_t val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78824,23 +81477,23 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_constraints"))) TS_ val_conv.is_owned = ptr_is_owned(val); CHECK_INNER_FIELD_ACCESS_OR_NULL(val_conv); val_conv = PaymentConstraints_clone(&val_conv); - ReceiveTlvs_set_payment_constraints(&this_ptr_conv, val_conv); + UnauthenticatedReceiveTlvs_set_payment_constraints(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_get_payment_context"))) TS_ReceiveTlvs_get_payment_context(uint64_t this_ptr) { - LDKReceiveTlvs this_ptr_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_get_payment_context"))) TS_UnauthenticatedReceiveTlvs_get_payment_context(uint64_t this_ptr) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); this_ptr_conv.is_owned = false; LDKPaymentContext *ret_copy = MALLOC(sizeof(LDKPaymentContext), "LDKPaymentContext"); - *ret_copy = ReceiveTlvs_get_payment_context(&this_ptr_conv); + *ret_copy = UnauthenticatedReceiveTlvs_get_payment_context(&this_ptr_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -void __attribute__((export_name("TS_ReceiveTlvs_set_payment_context"))) TS_ReceiveTlvs_set_payment_context(uint64_t this_ptr, uint64_t val) { - LDKReceiveTlvs this_ptr_conv; +void __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_set_payment_context"))) TS_UnauthenticatedReceiveTlvs_set_payment_context(uint64_t this_ptr, uint64_t val) { + LDKUnauthenticatedReceiveTlvs this_ptr_conv; this_ptr_conv.inner = untag_ptr(this_ptr); this_ptr_conv.is_owned = ptr_is_owned(this_ptr); CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); @@ -78849,10 +81502,10 @@ void __attribute__((export_name("TS_ReceiveTlvs_set_payment_context"))) TS_Rece CHECK_ACCESS(val_ptr); LDKPaymentContext val_conv = *(LDKPaymentContext*)(val_ptr); val_conv = PaymentContext_clone((LDKPaymentContext*)untag_ptr(val)); - ReceiveTlvs_set_payment_context(&this_ptr_conv, val_conv); + UnauthenticatedReceiveTlvs_set_payment_context(&this_ptr_conv, val_conv); } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_new"))) TS_ReceiveTlvs_new(int8_tArray payment_secret_arg, uint64_t payment_constraints_arg, uint64_t payment_context_arg) { +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_new"))) TS_UnauthenticatedReceiveTlvs_new(int8_tArray payment_secret_arg, uint64_t payment_constraints_arg, uint64_t payment_context_arg) { LDKThirtyTwoBytes payment_secret_arg_ref; CHECK(payment_secret_arg->arr_len == 32); memcpy(payment_secret_arg_ref.data, payment_secret_arg->elems, 32); FREE(payment_secret_arg); @@ -78865,37 +81518,60 @@ uint64_t __attribute__((export_name("TS_ReceiveTlvs_new"))) TS_ReceiveTlvs_new( CHECK_ACCESS(payment_context_arg_ptr); LDKPaymentContext payment_context_arg_conv = *(LDKPaymentContext*)(payment_context_arg_ptr); payment_context_arg_conv = PaymentContext_clone((LDKPaymentContext*)untag_ptr(payment_context_arg)); - LDKReceiveTlvs ret_var = ReceiveTlvs_new(payment_secret_arg_ref, payment_constraints_arg_conv, payment_context_arg_conv); + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_new(payment_secret_arg_ref, payment_constraints_arg_conv, payment_context_arg_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -static inline uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg) { - LDKReceiveTlvs ret_var = ReceiveTlvs_clone(arg); +static inline uint64_t UnauthenticatedReceiveTlvs_clone_ptr(LDKUnauthenticatedReceiveTlvs *NONNULL_PTR arg) { + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_clone(arg); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -int64_t __attribute__((export_name("TS_ReceiveTlvs_clone_ptr"))) TS_ReceiveTlvs_clone_ptr(uint64_t arg) { - LDKReceiveTlvs arg_conv; +int64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_clone_ptr"))) TS_UnauthenticatedReceiveTlvs_clone_ptr(uint64_t arg) { + LDKUnauthenticatedReceiveTlvs arg_conv; arg_conv.inner = untag_ptr(arg); arg_conv.is_owned = ptr_is_owned(arg); CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); arg_conv.is_owned = false; - int64_t ret_conv = ReceiveTlvs_clone_ptr(&arg_conv); + int64_t ret_conv = UnauthenticatedReceiveTlvs_clone_ptr(&arg_conv); return ret_conv; } -uint64_t __attribute__((export_name("TS_ReceiveTlvs_clone"))) TS_ReceiveTlvs_clone(uint64_t orig) { - LDKReceiveTlvs orig_conv; +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_clone"))) TS_UnauthenticatedReceiveTlvs_clone(uint64_t orig) { + LDKUnauthenticatedReceiveTlvs orig_conv; orig_conv.inner = untag_ptr(orig); orig_conv.is_owned = ptr_is_owned(orig); CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); orig_conv.is_owned = false; - LDKReceiveTlvs ret_var = ReceiveTlvs_clone(&orig_conv); + LDKUnauthenticatedReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_authenticate"))) TS_UnauthenticatedReceiveTlvs_authenticate(uint64_t this_arg, uint64_t nonce, uint64_t expanded_key) { + LDKUnauthenticatedReceiveTlvs this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv = UnauthenticatedReceiveTlvs_clone(&this_arg_conv); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKExpandedKey expanded_key_conv; + expanded_key_conv.inner = untag_ptr(expanded_key); + expanded_key_conv.is_owned = ptr_is_owned(expanded_key); + CHECK_INNER_FIELD_ACCESS_OR_NULL(expanded_key_conv); + expanded_key_conv.is_owned = false; + LDKReceiveTlvs ret_var = UnauthenticatedReceiveTlvs_authenticate(this_arg_conv, nonce_conv, &expanded_key_conv); uint64_t ret_ref = 0; CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); @@ -79118,18 +81794,6 @@ uint64_t __attribute__((export_name("TS_PaymentContext_clone"))) TS_PaymentCont return ret_ref; } -uint64_t __attribute__((export_name("TS_PaymentContext_unknown"))) TS_PaymentContext_unknown(uint64_t a) { - LDKUnknownPaymentContext a_conv; - a_conv.inner = untag_ptr(a); - a_conv.is_owned = ptr_is_owned(a); - CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); - a_conv = UnknownPaymentContext_clone(&a_conv); - LDKPaymentContext *ret_copy = MALLOC(sizeof(LDKPaymentContext), "LDKPaymentContext"); - *ret_copy = PaymentContext_unknown(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - uint64_t __attribute__((export_name("TS_PaymentContext_bolt12_offer"))) TS_PaymentContext_bolt12_offer(uint64_t a) { LDKBolt12OfferContext a_conv; a_conv.inner = untag_ptr(a); @@ -79161,59 +81825,6 @@ jboolean __attribute__((export_name("TS_PaymentContext_eq"))) TS_PaymentContext return ret_conv; } -void __attribute__((export_name("TS_UnknownPaymentContext_free"))) TS_UnknownPaymentContext_free(uint64_t this_obj) { - LDKUnknownPaymentContext this_obj_conv; - this_obj_conv.inner = untag_ptr(this_obj); - this_obj_conv.is_owned = ptr_is_owned(this_obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); - UnknownPaymentContext_free(this_obj_conv); -} - -static inline uint64_t UnknownPaymentContext_clone_ptr(LDKUnknownPaymentContext *NONNULL_PTR arg) { - LDKUnknownPaymentContext ret_var = UnknownPaymentContext_clone(arg); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} -int64_t __attribute__((export_name("TS_UnknownPaymentContext_clone_ptr"))) TS_UnknownPaymentContext_clone_ptr(uint64_t arg) { - LDKUnknownPaymentContext arg_conv; - arg_conv.inner = untag_ptr(arg); - arg_conv.is_owned = ptr_is_owned(arg); - CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); - arg_conv.is_owned = false; - int64_t ret_conv = UnknownPaymentContext_clone_ptr(&arg_conv); - return ret_conv; -} - -uint64_t __attribute__((export_name("TS_UnknownPaymentContext_clone"))) TS_UnknownPaymentContext_clone(uint64_t orig) { - LDKUnknownPaymentContext orig_conv; - orig_conv.inner = untag_ptr(orig); - orig_conv.is_owned = ptr_is_owned(orig); - CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); - orig_conv.is_owned = false; - LDKUnknownPaymentContext ret_var = UnknownPaymentContext_clone(&orig_conv); - uint64_t ret_ref = 0; - CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); - ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); - return ret_ref; -} - -jboolean __attribute__((export_name("TS_UnknownPaymentContext_eq"))) TS_UnknownPaymentContext_eq(uint64_t a, uint64_t b) { - LDKUnknownPaymentContext a_conv; - a_conv.inner = untag_ptr(a); - a_conv.is_owned = ptr_is_owned(a); - CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); - a_conv.is_owned = false; - LDKUnknownPaymentContext b_conv; - b_conv.inner = untag_ptr(b); - b_conv.is_owned = ptr_is_owned(b); - CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); - b_conv.is_owned = false; - jboolean ret_conv = UnknownPaymentContext_eq(&a_conv, &b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_Bolt12OfferContext_free"))) TS_Bolt12OfferContext_free(uint64_t this_obj) { LDKBolt12OfferContext this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -79426,6 +82037,19 @@ int8_tArray __attribute__((export_name("TS_ReceiveTlvs_write"))) TS_ReceiveTlvs return ret_arr; } +int8_tArray __attribute__((export_name("TS_UnauthenticatedReceiveTlvs_write"))) TS_UnauthenticatedReceiveTlvs_write(uint64_t obj) { + LDKUnauthenticatedReceiveTlvs obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = UnauthenticatedReceiveTlvs_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + int8_tArray __attribute__((export_name("TS_PaymentRelay_write"))) TS_PaymentRelay_write(uint64_t obj) { LDKPaymentRelay obj_conv; obj_conv.inner = untag_ptr(obj); @@ -79491,29 +82115,6 @@ uint64_t __attribute__((export_name("TS_PaymentContext_read"))) TS_PaymentConte return tag_ptr(ret_conv, true); } -int8_tArray __attribute__((export_name("TS_UnknownPaymentContext_write"))) TS_UnknownPaymentContext_write(uint64_t obj) { - LDKUnknownPaymentContext obj_conv; - obj_conv.inner = untag_ptr(obj); - obj_conv.is_owned = ptr_is_owned(obj); - CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); - obj_conv.is_owned = false; - LDKCVec_u8Z ret_var = UnknownPaymentContext_write(&obj_conv); - int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); - memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); - CVec_u8Z_free(ret_var); - return ret_arr; -} - -uint64_t __attribute__((export_name("TS_UnknownPaymentContext_read"))) TS_UnknownPaymentContext_read(int8_tArray ser) { - LDKu8slice ser_ref; - ser_ref.datalen = ser->arr_len; - ser_ref.data = ser->elems; - LDKCResult_UnknownPaymentContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_UnknownPaymentContextDecodeErrorZ), "LDKCResult_UnknownPaymentContextDecodeErrorZ"); - *ret_conv = UnknownPaymentContext_read(ser_ref); - FREE(ser); - return tag_ptr(ret_conv, true); -} - int8_tArray __attribute__((export_name("TS_Bolt12OfferContext_write"))) TS_Bolt12OfferContext_write(uint64_t obj) { LDKBolt12OfferContext obj_conv; obj_conv.inner = untag_ptr(obj); @@ -80022,6 +82623,29 @@ uint64_t __attribute__((export_name("TS_MessageContext_offers"))) TS_MessageCon return ret_ref; } +uint64_t __attribute__((export_name("TS_MessageContext_async_payments"))) TS_MessageContext_async_payments(uint64_t a) { + void* a_ptr = untag_ptr(a); + CHECK_ACCESS(a_ptr); + LDKAsyncPaymentsContext a_conv = *(LDKAsyncPaymentsContext*)(a_ptr); + a_conv = AsyncPaymentsContext_clone((LDKAsyncPaymentsContext*)untag_ptr(a)); + LDKMessageContext *ret_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *ret_copy = MessageContext_async_payments(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_MessageContext_dnsresolver"))) TS_MessageContext_dnsresolver(uint64_t a) { + LDKDNSResolverContext a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = DNSResolverContext_clone(&a_conv); + LDKMessageContext *ret_copy = MALLOC(sizeof(LDKMessageContext), "LDKMessageContext"); + *ret_copy = MessageContext_dnsresolver(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_MessageContext_custom"))) TS_MessageContext_custom(int8_tArray a) { LDKCVec_u8Z a_ref; a_ref.datalen = a->arr_len; @@ -80092,12 +82716,20 @@ uint64_t __attribute__((export_name("TS_OffersContext_outbound_payment"))) TS_O return ret_ref; } -uint64_t __attribute__((export_name("TS_OffersContext_inbound_payment"))) TS_OffersContext_inbound_payment(int8_tArray payment_hash) { +uint64_t __attribute__((export_name("TS_OffersContext_inbound_payment"))) TS_OffersContext_inbound_payment(int8_tArray payment_hash, uint64_t nonce, int8_tArray hmac) { LDKThirtyTwoBytes payment_hash_ref; CHECK(payment_hash->arr_len == 32); memcpy(payment_hash_ref.data, payment_hash->elems, 32); FREE(payment_hash); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); LDKOffersContext *ret_copy = MALLOC(sizeof(LDKOffersContext), "LDKOffersContext"); - *ret_copy = OffersContext_inbound_payment(payment_hash_ref); + *ret_copy = OffersContext_inbound_payment(payment_hash_ref, nonce_conv, hmac_ref); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -80109,6 +82741,53 @@ jboolean __attribute__((export_name("TS_OffersContext_eq"))) TS_OffersContext_e return ret_conv; } +void __attribute__((export_name("TS_AsyncPaymentsContext_free"))) TS_AsyncPaymentsContext_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKAsyncPaymentsContext this_ptr_conv = *(LDKAsyncPaymentsContext*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + AsyncPaymentsContext_free(this_ptr_conv); +} + +static inline uint64_t AsyncPaymentsContext_clone_ptr(LDKAsyncPaymentsContext *NONNULL_PTR arg) { + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_AsyncPaymentsContext_clone_ptr"))) TS_AsyncPaymentsContext_clone_ptr(uint64_t arg) { + LDKAsyncPaymentsContext* arg_conv = (LDKAsyncPaymentsContext*)untag_ptr(arg); + int64_t ret_conv = AsyncPaymentsContext_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_clone"))) TS_AsyncPaymentsContext_clone(uint64_t orig) { + LDKAsyncPaymentsContext* orig_conv = (LDKAsyncPaymentsContext*)untag_ptr(orig); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_outbound_payment"))) TS_AsyncPaymentsContext_outbound_payment(int8_tArray payment_id, uint64_t nonce, int8_tArray hmac) { + LDKThirtyTwoBytes payment_id_ref; + CHECK(payment_id->arr_len == 32); + memcpy(payment_id_ref.data, payment_id->elems, 32); FREE(payment_id); + LDKNonce nonce_conv; + nonce_conv.inner = untag_ptr(nonce); + nonce_conv.is_owned = ptr_is_owned(nonce); + CHECK_INNER_FIELD_ACCESS_OR_NULL(nonce_conv); + nonce_conv = Nonce_clone(&nonce_conv); + LDKThirtyTwoBytes hmac_ref; + CHECK(hmac->arr_len == 32); + memcpy(hmac_ref.data, hmac->elems, 32); FREE(hmac); + LDKAsyncPaymentsContext *ret_copy = MALLOC(sizeof(LDKAsyncPaymentsContext), "LDKAsyncPaymentsContext"); + *ret_copy = AsyncPaymentsContext_outbound_payment(payment_id_ref, nonce_conv, hmac_ref); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + int8_tArray __attribute__((export_name("TS_MessageContext_write"))) TS_MessageContext_write(uint64_t obj) { LDKMessageContext* obj_conv = (LDKMessageContext*)untag_ptr(obj); LDKCVec_u8Z ret_var = MessageContext_write(obj_conv); @@ -80147,6 +82826,145 @@ uint64_t __attribute__((export_name("TS_OffersContext_read"))) TS_OffersContext return tag_ptr(ret_conv, true); } +int8_tArray __attribute__((export_name("TS_AsyncPaymentsContext_write"))) TS_AsyncPaymentsContext_write(uint64_t obj) { + LDKAsyncPaymentsContext* obj_conv = (LDKAsyncPaymentsContext*)untag_ptr(obj); + LDKCVec_u8Z ret_var = AsyncPaymentsContext_write(obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_AsyncPaymentsContext_read"))) TS_AsyncPaymentsContext_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_AsyncPaymentsContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_AsyncPaymentsContextDecodeErrorZ), "LDKCResult_AsyncPaymentsContextDecodeErrorZ"); + *ret_conv = AsyncPaymentsContext_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + +void __attribute__((export_name("TS_DNSResolverContext_free"))) TS_DNSResolverContext_free(uint64_t this_obj) { + LDKDNSResolverContext this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + DNSResolverContext_free(this_obj_conv); +} + +int8_tArray __attribute__((export_name("TS_DNSResolverContext_get_nonce"))) TS_DNSResolverContext_get_nonce(uint64_t this_ptr) { + LDKDNSResolverContext this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + int8_tArray ret_arr = init_int8_tArray(16, __LINE__); + memcpy(ret_arr->elems, *DNSResolverContext_get_nonce(&this_ptr_conv), 16); + return ret_arr; +} + +void __attribute__((export_name("TS_DNSResolverContext_set_nonce"))) TS_DNSResolverContext_set_nonce(uint64_t this_ptr, int8_tArray val) { + LDKDNSResolverContext this_ptr_conv; + this_ptr_conv.inner = untag_ptr(this_ptr); + this_ptr_conv.is_owned = ptr_is_owned(this_ptr); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_ptr_conv); + this_ptr_conv.is_owned = false; + LDKSixteenBytes val_ref; + CHECK(val->arr_len == 16); + memcpy(val_ref.data, val->elems, 16); FREE(val); + DNSResolverContext_set_nonce(&this_ptr_conv, val_ref); +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_new"))) TS_DNSResolverContext_new(int8_tArray nonce_arg) { + LDKSixteenBytes nonce_arg_ref; + CHECK(nonce_arg->arr_len == 16); + memcpy(nonce_arg_ref.data, nonce_arg->elems, 16); FREE(nonce_arg); + LDKDNSResolverContext ret_var = DNSResolverContext_new(nonce_arg_ref); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +static inline uint64_t DNSResolverContext_clone_ptr(LDKDNSResolverContext *NONNULL_PTR arg) { + LDKDNSResolverContext ret_var = DNSResolverContext_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} +int64_t __attribute__((export_name("TS_DNSResolverContext_clone_ptr"))) TS_DNSResolverContext_clone_ptr(uint64_t arg) { + LDKDNSResolverContext arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = DNSResolverContext_clone_ptr(&arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_clone"))) TS_DNSResolverContext_clone(uint64_t orig) { + LDKDNSResolverContext orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKDNSResolverContext ret_var = DNSResolverContext_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + +int64_t __attribute__((export_name("TS_DNSResolverContext_hash"))) TS_DNSResolverContext_hash(uint64_t o) { + LDKDNSResolverContext o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + int64_t ret_conv = DNSResolverContext_hash(&o_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_DNSResolverContext_eq"))) TS_DNSResolverContext_eq(uint64_t a, uint64_t b) { + LDKDNSResolverContext a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKDNSResolverContext b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = DNSResolverContext_eq(&a_conv, &b_conv); + return ret_conv; +} + +int8_tArray __attribute__((export_name("TS_DNSResolverContext_write"))) TS_DNSResolverContext_write(uint64_t obj) { + LDKDNSResolverContext obj_conv; + obj_conv.inner = untag_ptr(obj); + obj_conv.is_owned = ptr_is_owned(obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(obj_conv); + obj_conv.is_owned = false; + LDKCVec_u8Z ret_var = DNSResolverContext_write(&obj_conv); + int8_tArray ret_arr = init_int8_tArray(ret_var.datalen, __LINE__); + memcpy(ret_arr->elems, ret_var.data, ret_var.datalen); + CVec_u8Z_free(ret_var); + return ret_arr; +} + +uint64_t __attribute__((export_name("TS_DNSResolverContext_read"))) TS_DNSResolverContext_read(int8_tArray ser) { + LDKu8slice ser_ref; + ser_ref.datalen = ser->arr_len; + ser_ref.data = ser->elems; + LDKCResult_DNSResolverContextDecodeErrorZ* ret_conv = MALLOC(sizeof(LDKCResult_DNSResolverContextDecodeErrorZ), "LDKCResult_DNSResolverContextDecodeErrorZ"); + *ret_conv = DNSResolverContext_read(ser_ref); + FREE(ser); + return tag_ptr(ret_conv, true); +} + void __attribute__((export_name("TS_FundingInfo_free"))) TS_FundingInfo_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -80950,6 +83768,11 @@ uint32_t __attribute__((export_name("TS_PaymentFailureReason_invoice_request_re return ret_conv; } +uint32_t __attribute__((export_name("TS_PaymentFailureReason_blinded_path_creation_failed"))) TS_PaymentFailureReason_blinded_path_creation_failed() { + uint32_t ret_conv = LDKPaymentFailureReason_to_js(PaymentFailureReason_blinded_path_creation_failed()); + return ret_conv; +} + jboolean __attribute__((export_name("TS_PaymentFailureReason_eq"))) TS_PaymentFailureReason_eq(uint64_t a, uint64_t b) { LDKPaymentFailureReason* a_conv = (LDKPaymentFailureReason*)untag_ptr(a); LDKPaymentFailureReason* b_conv = (LDKPaymentFailureReason*)untag_ptr(b); @@ -80976,6 +83799,56 @@ uint64_t __attribute__((export_name("TS_PaymentFailureReason_read"))) TS_Paymen return tag_ptr(ret_conv, true); } +void __attribute__((export_name("TS_InboundChannelFunds_free"))) TS_InboundChannelFunds_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKInboundChannelFunds this_ptr_conv = *(LDKInboundChannelFunds*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + InboundChannelFunds_free(this_ptr_conv); +} + +static inline uint64_t InboundChannelFunds_clone_ptr(LDKInboundChannelFunds *NONNULL_PTR arg) { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_InboundChannelFunds_clone_ptr"))) TS_InboundChannelFunds_clone_ptr(uint64_t arg) { + LDKInboundChannelFunds* arg_conv = (LDKInboundChannelFunds*)untag_ptr(arg); + int64_t ret_conv = InboundChannelFunds_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_clone"))) TS_InboundChannelFunds_clone(uint64_t orig) { + LDKInboundChannelFunds* orig_conv = (LDKInboundChannelFunds*)untag_ptr(orig); + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_push_msat"))) TS_InboundChannelFunds_push_msat(int64_t a) { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_push_msat(a); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_InboundChannelFunds_dual_funded"))) TS_InboundChannelFunds_dual_funded() { + LDKInboundChannelFunds *ret_copy = MALLOC(sizeof(LDKInboundChannelFunds), "LDKInboundChannelFunds"); + *ret_copy = InboundChannelFunds_dual_funded(); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_InboundChannelFunds_eq"))) TS_InboundChannelFunds_eq(uint64_t a, uint64_t b) { + LDKInboundChannelFunds* a_conv = (LDKInboundChannelFunds*)untag_ptr(a); + LDKInboundChannelFunds* b_conv = (LDKInboundChannelFunds*)untag_ptr(b); + jboolean ret_conv = InboundChannelFunds_eq(a_conv, b_conv); + return ret_conv; +} + void __attribute__((export_name("TS_Event_free"))) TS_Event_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -81055,7 +83928,7 @@ uint64_t __attribute__((export_name("TS_Event_funding_tx_broadcast_safe"))) TS_ return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_payment_claimable(int8_tArray receiver_node_id, int8_tArray payment_hash, uint64_t onion_fields, int64_t amount_msat, int64_t counterparty_skimmed_fee_msat, uint64_t purpose, uint64_t via_channel_id, uint64_t via_user_channel_id, uint64_t claim_deadline) { +uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_payment_claimable(int8_tArray receiver_node_id, int8_tArray payment_hash, uint64_t onion_fields, int64_t amount_msat, int64_t counterparty_skimmed_fee_msat, uint64_t purpose, uint64_t via_channel_id, uint64_t via_user_channel_id, uint64_t claim_deadline, uint64_t payment_id) { LDKPublicKey receiver_node_id_ref; CHECK(receiver_node_id->arr_len == 33); memcpy(receiver_node_id_ref.compressed_form, receiver_node_id->elems, 33); FREE(receiver_node_id); @@ -81084,13 +83957,17 @@ uint64_t __attribute__((export_name("TS_Event_payment_claimable"))) TS_Event_pa CHECK_ACCESS(claim_deadline_ptr); LDKCOption_u32Z claim_deadline_conv = *(LDKCOption_u32Z*)(claim_deadline_ptr); claim_deadline_conv = COption_u32Z_clone((LDKCOption_u32Z*)untag_ptr(claim_deadline)); + void* payment_id_ptr = untag_ptr(payment_id); + CHECK_ACCESS(payment_id_ptr); + LDKCOption_ThirtyTwoBytesZ payment_id_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_id_ptr); + payment_id_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_id)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_claimable(receiver_node_id_ref, payment_hash_ref, onion_fields_conv, amount_msat, counterparty_skimmed_fee_msat, purpose_conv, via_channel_id_conv, via_user_channel_id_conv, claim_deadline_conv); + *ret_copy = Event_payment_claimable(receiver_node_id_ref, payment_hash_ref, onion_fields_conv, amount_msat, counterparty_skimmed_fee_msat, purpose_conv, via_channel_id_conv, via_user_channel_id_conv, claim_deadline_conv, payment_id_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_payment_claimed(int8_tArray receiver_node_id, int8_tArray payment_hash, int64_t amount_msat, uint64_t purpose, uint64_tArray htlcs, uint64_t sender_intended_total_msat, uint64_t onion_fields) { +uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_payment_claimed(int8_tArray receiver_node_id, int8_tArray payment_hash, int64_t amount_msat, uint64_t purpose, uint64_tArray htlcs, uint64_t sender_intended_total_msat, uint64_t onion_fields, uint64_t payment_id) { LDKPublicKey receiver_node_id_ref; CHECK(receiver_node_id->arr_len == 33); memcpy(receiver_node_id_ref.compressed_form, receiver_node_id->elems, 33); FREE(receiver_node_id); @@ -81127,8 +84004,12 @@ uint64_t __attribute__((export_name("TS_Event_payment_claimed"))) TS_Event_paym onion_fields_conv.is_owned = ptr_is_owned(onion_fields); CHECK_INNER_FIELD_ACCESS_OR_NULL(onion_fields_conv); onion_fields_conv = RecipientOnionFields_clone(&onion_fields_conv); + void* payment_id_ptr = untag_ptr(payment_id); + CHECK_ACCESS(payment_id_ptr); + LDKCOption_ThirtyTwoBytesZ payment_id_conv = *(LDKCOption_ThirtyTwoBytesZ*)(payment_id_ptr); + payment_id_conv = COption_ThirtyTwoBytesZ_clone((LDKCOption_ThirtyTwoBytesZ*)untag_ptr(payment_id)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_claimed(receiver_node_id_ref, payment_hash_ref, amount_msat, purpose_conv, htlcs_constr, sender_intended_total_msat_conv, onion_fields_conv); + *ret_copy = Event_payment_claimed(receiver_node_id_ref, payment_hash_ref, amount_msat, purpose_conv, htlcs_constr, sender_intended_total_msat_conv, onion_fields_conv, payment_id_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81356,7 +84237,7 @@ uint64_t __attribute__((export_name("TS_Event_spendable_outputs"))) TS_Event_sp return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_payment_forwarded(uint64_t prev_channel_id, uint64_t next_channel_id, uint64_t prev_user_channel_id, uint64_t next_user_channel_id, uint64_t total_fee_earned_msat, uint64_t skimmed_fee_msat, jboolean claim_from_onchain_tx, uint64_t outbound_amount_forwarded_msat) { +uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_payment_forwarded(uint64_t prev_channel_id, uint64_t next_channel_id, uint64_t prev_user_channel_id, uint64_t next_user_channel_id, int8_tArray prev_node_id, int8_tArray next_node_id, uint64_t total_fee_earned_msat, uint64_t skimmed_fee_msat, jboolean claim_from_onchain_tx, uint64_t outbound_amount_forwarded_msat) { LDKChannelId prev_channel_id_conv; prev_channel_id_conv.inner = untag_ptr(prev_channel_id); prev_channel_id_conv.is_owned = ptr_is_owned(prev_channel_id); @@ -81375,6 +84256,12 @@ uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_pa CHECK_ACCESS(next_user_channel_id_ptr); LDKCOption_U128Z next_user_channel_id_conv = *(LDKCOption_U128Z*)(next_user_channel_id_ptr); next_user_channel_id_conv = COption_U128Z_clone((LDKCOption_U128Z*)untag_ptr(next_user_channel_id)); + LDKPublicKey prev_node_id_ref; + CHECK(prev_node_id->arr_len == 33); + memcpy(prev_node_id_ref.compressed_form, prev_node_id->elems, 33); FREE(prev_node_id); + LDKPublicKey next_node_id_ref; + CHECK(next_node_id->arr_len == 33); + memcpy(next_node_id_ref.compressed_form, next_node_id->elems, 33); FREE(next_node_id); void* total_fee_earned_msat_ptr = untag_ptr(total_fee_earned_msat); CHECK_ACCESS(total_fee_earned_msat_ptr); LDKCOption_u64Z total_fee_earned_msat_conv = *(LDKCOption_u64Z*)(total_fee_earned_msat_ptr); @@ -81388,7 +84275,7 @@ uint64_t __attribute__((export_name("TS_Event_payment_forwarded"))) TS_Event_pa LDKCOption_u64Z outbound_amount_forwarded_msat_conv = *(LDKCOption_u64Z*)(outbound_amount_forwarded_msat_ptr); outbound_amount_forwarded_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(outbound_amount_forwarded_msat)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_payment_forwarded(prev_channel_id_conv, next_channel_id_conv, prev_user_channel_id_conv, next_user_channel_id_conv, total_fee_earned_msat_conv, skimmed_fee_msat_conv, claim_from_onchain_tx, outbound_amount_forwarded_msat_conv); + *ret_copy = Event_payment_forwarded(prev_channel_id_conv, next_channel_id_conv, prev_user_channel_id_conv, next_user_channel_id_conv, prev_node_id_ref, next_node_id_ref, total_fee_earned_msat_conv, skimmed_fee_msat_conv, claim_from_onchain_tx, outbound_amount_forwarded_msat_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81449,7 +84336,7 @@ uint64_t __attribute__((export_name("TS_Event_channel_ready"))) TS_Event_channe return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_channel_closed(uint64_t channel_id, int8_tArray user_channel_id, uint64_t reason, int8_tArray counterparty_node_id, uint64_t channel_capacity_sats, uint64_t channel_funding_txo) { +uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_channel_closed(uint64_t channel_id, int8_tArray user_channel_id, uint64_t reason, int8_tArray counterparty_node_id, uint64_t channel_capacity_sats, uint64_t channel_funding_txo, uint64_t last_local_balance_msat) { LDKChannelId channel_id_conv; channel_id_conv.inner = untag_ptr(channel_id); channel_id_conv.is_owned = ptr_is_owned(channel_id); @@ -81474,8 +84361,12 @@ uint64_t __attribute__((export_name("TS_Event_channel_closed"))) TS_Event_chann channel_funding_txo_conv.is_owned = ptr_is_owned(channel_funding_txo); CHECK_INNER_FIELD_ACCESS_OR_NULL(channel_funding_txo_conv); channel_funding_txo_conv = OutPoint_clone(&channel_funding_txo_conv); + void* last_local_balance_msat_ptr = untag_ptr(last_local_balance_msat); + CHECK_ACCESS(last_local_balance_msat_ptr); + LDKCOption_u64Z last_local_balance_msat_conv = *(LDKCOption_u64Z*)(last_local_balance_msat_ptr); + last_local_balance_msat_conv = COption_u64Z_clone((LDKCOption_u64Z*)untag_ptr(last_local_balance_msat)); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_channel_closed(channel_id_conv, user_channel_id_ref, reason_conv, counterparty_node_id_ref, channel_capacity_sats_conv, channel_funding_txo_conv); + *ret_copy = Event_channel_closed(channel_id_conv, user_channel_id_ref, reason_conv, counterparty_node_id_ref, channel_capacity_sats_conv, channel_funding_txo_conv, last_local_balance_msat_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -81496,7 +84387,7 @@ uint64_t __attribute__((export_name("TS_Event_discard_funding"))) TS_Event_disc return ret_ref; } -uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event_open_channel_request(uint64_t temporary_channel_id, int8_tArray counterparty_node_id, int64_t funding_satoshis, int64_t push_msat, uint64_t channel_type, jboolean is_announced, uint64_t params) { +uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event_open_channel_request(uint64_t temporary_channel_id, int8_tArray counterparty_node_id, int64_t funding_satoshis, uint64_t channel_negotiation_type, uint64_t channel_type, jboolean is_announced, uint64_t params) { LDKChannelId temporary_channel_id_conv; temporary_channel_id_conv.inner = untag_ptr(temporary_channel_id); temporary_channel_id_conv.is_owned = ptr_is_owned(temporary_channel_id); @@ -81505,6 +84396,10 @@ uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event LDKPublicKey counterparty_node_id_ref; CHECK(counterparty_node_id->arr_len == 33); memcpy(counterparty_node_id_ref.compressed_form, counterparty_node_id->elems, 33); FREE(counterparty_node_id); + void* channel_negotiation_type_ptr = untag_ptr(channel_negotiation_type); + CHECK_ACCESS(channel_negotiation_type_ptr); + LDKInboundChannelFunds channel_negotiation_type_conv = *(LDKInboundChannelFunds*)(channel_negotiation_type_ptr); + channel_negotiation_type_conv = InboundChannelFunds_clone((LDKInboundChannelFunds*)untag_ptr(channel_negotiation_type)); LDKChannelTypeFeatures channel_type_conv; channel_type_conv.inner = untag_ptr(channel_type); channel_type_conv.is_owned = ptr_is_owned(channel_type); @@ -81516,7 +84411,7 @@ uint64_t __attribute__((export_name("TS_Event_open_channel_request"))) TS_Event CHECK_INNER_FIELD_ACCESS_OR_NULL(params_conv); params_conv = ChannelParameters_clone(¶ms_conv); LDKEvent *ret_copy = MALLOC(sizeof(LDKEvent), "LDKEvent"); - *ret_copy = Event_open_channel_request(temporary_channel_id_conv, counterparty_node_id_ref, funding_satoshis, push_msat, channel_type_conv, is_announced, params_conv); + *ret_copy = Event_open_channel_request(temporary_channel_id_conv, counterparty_node_id_ref, funding_satoshis, channel_negotiation_type_conv, channel_type_conv, is_announced, params_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); return ret_ref; } @@ -86261,6 +89156,82 @@ jboolean __attribute__((export_name("TS_NodeFeatures_requires_shutdown_anysegwi return ret_conv; } +void __attribute__((export_name("TS_InitFeatures_set_dual_fund_optional"))) TS_InitFeatures_set_dual_fund_optional(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + InitFeatures_set_dual_fund_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_InitFeatures_set_dual_fund_required"))) TS_InitFeatures_set_dual_fund_required(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + InitFeatures_set_dual_fund_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_InitFeatures_supports_dual_fund"))) TS_InitFeatures_supports_dual_fund(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InitFeatures_supports_dual_fund(&this_arg_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_NodeFeatures_set_dual_fund_optional"))) TS_NodeFeatures_set_dual_fund_optional(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dual_fund_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_NodeFeatures_set_dual_fund_required"))) TS_NodeFeatures_set_dual_fund_required(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dual_fund_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_NodeFeatures_supports_dual_fund"))) TS_NodeFeatures_supports_dual_fund(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_supports_dual_fund(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_InitFeatures_requires_dual_fund"))) TS_InitFeatures_requires_dual_fund(uint64_t this_arg) { + LDKInitFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = InitFeatures_requires_dual_fund(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_NodeFeatures_requires_dual_fund"))) TS_NodeFeatures_requires_dual_fund(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_requires_dual_fund(&this_arg_conv); + return ret_conv; +} + void __attribute__((export_name("TS_InitFeatures_set_taproot_optional"))) TS_InitFeatures_set_taproot_optional(uint64_t this_arg) { LDKInitFeatures this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -86915,6 +89886,34 @@ jboolean __attribute__((export_name("TS_Bolt11InvoiceFeatures_supports_trampoli return ret_conv; } +void __attribute__((export_name("TS_Bolt12InvoiceFeatures_set_trampoline_routing_optional"))) TS_Bolt12InvoiceFeatures_set_trampoline_routing_optional(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + Bolt12InvoiceFeatures_set_trampoline_routing_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_Bolt12InvoiceFeatures_set_trampoline_routing_required"))) TS_Bolt12InvoiceFeatures_set_trampoline_routing_required(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + Bolt12InvoiceFeatures_set_trampoline_routing_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_Bolt12InvoiceFeatures_supports_trampoline_routing"))) TS_Bolt12InvoiceFeatures_supports_trampoline_routing(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = Bolt12InvoiceFeatures_supports_trampoline_routing(&this_arg_conv); + return ret_conv; +} + jboolean __attribute__((export_name("TS_InitFeatures_requires_trampoline_routing"))) TS_InitFeatures_requires_trampoline_routing(uint64_t this_arg) { LDKInitFeatures this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -86945,6 +89944,54 @@ jboolean __attribute__((export_name("TS_Bolt11InvoiceFeatures_requires_trampoli return ret_conv; } +jboolean __attribute__((export_name("TS_Bolt12InvoiceFeatures_requires_trampoline_routing"))) TS_Bolt12InvoiceFeatures_requires_trampoline_routing(uint64_t this_arg) { + LDKBolt12InvoiceFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = Bolt12InvoiceFeatures_requires_trampoline_routing(&this_arg_conv); + return ret_conv; +} + +void __attribute__((export_name("TS_NodeFeatures_set_dns_resolution_optional"))) TS_NodeFeatures_set_dns_resolution_optional(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dns_resolution_optional(&this_arg_conv); +} + +void __attribute__((export_name("TS_NodeFeatures_set_dns_resolution_required"))) TS_NodeFeatures_set_dns_resolution_required(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + NodeFeatures_set_dns_resolution_required(&this_arg_conv); +} + +jboolean __attribute__((export_name("TS_NodeFeatures_supports_dns_resolution"))) TS_NodeFeatures_supports_dns_resolution(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_supports_dns_resolution(&this_arg_conv); + return ret_conv; +} + +jboolean __attribute__((export_name("TS_NodeFeatures_requires_dns_resolution"))) TS_NodeFeatures_requires_dns_resolution(uint64_t this_arg) { + LDKNodeFeatures this_arg_conv; + this_arg_conv.inner = untag_ptr(this_arg); + this_arg_conv.is_owned = ptr_is_owned(this_arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_arg_conv); + this_arg_conv.is_owned = false; + jboolean ret_conv = NodeFeatures_requires_dns_resolution(&this_arg_conv); + return ret_conv; +} + void __attribute__((export_name("TS_RoutingFees_free"))) TS_RoutingFees_free(uint64_t this_obj) { LDKRoutingFees this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -87721,176 +90768,59 @@ jboolean __attribute__((export_name("TS_RapidGossipSync_is_initial_sync_complet return ret_conv; } -void __attribute__((export_name("TS_Bolt11ParseError_free"))) TS_Bolt11ParseError_free(uint64_t this_ptr) { - if (!ptr_is_owned(this_ptr)) return; - void* this_ptr_ptr = untag_ptr(this_ptr); - CHECK_ACCESS(this_ptr_ptr); - LDKBolt11ParseError this_ptr_conv = *(LDKBolt11ParseError*)(this_ptr_ptr); - FREE(untag_ptr(this_ptr)); - Bolt11ParseError_free(this_ptr_conv); +void __attribute__((export_name("TS_Bolt11ParseError_free"))) TS_Bolt11ParseError_free(uint64_t this_obj) { + LDKBolt11ParseError this_obj_conv; + this_obj_conv.inner = untag_ptr(this_obj); + this_obj_conv.is_owned = ptr_is_owned(this_obj); + CHECK_INNER_FIELD_ACCESS_OR_NULL(this_obj_conv); + Bolt11ParseError_free(this_obj_conv); +} + +jboolean __attribute__((export_name("TS_Bolt11ParseError_eq"))) TS_Bolt11ParseError_eq(uint64_t a, uint64_t b) { + LDKBolt11ParseError a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv.is_owned = false; + LDKBolt11ParseError b_conv; + b_conv.inner = untag_ptr(b); + b_conv.is_owned = ptr_is_owned(b); + CHECK_INNER_FIELD_ACCESS_OR_NULL(b_conv); + b_conv.is_owned = false; + jboolean ret_conv = Bolt11ParseError_eq(&a_conv, &b_conv); + return ret_conv; } static inline uint64_t Bolt11ParseError_clone_ptr(LDKBolt11ParseError *NONNULL_PTR arg) { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_clone(arg); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError ret_var = Bolt11ParseError_clone(arg); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } int64_t __attribute__((export_name("TS_Bolt11ParseError_clone_ptr"))) TS_Bolt11ParseError_clone_ptr(uint64_t arg) { - LDKBolt11ParseError* arg_conv = (LDKBolt11ParseError*)untag_ptr(arg); - int64_t ret_conv = Bolt11ParseError_clone_ptr(arg_conv); + LDKBolt11ParseError arg_conv; + arg_conv.inner = untag_ptr(arg); + arg_conv.is_owned = ptr_is_owned(arg); + CHECK_INNER_FIELD_ACCESS_OR_NULL(arg_conv); + arg_conv.is_owned = false; + int64_t ret_conv = Bolt11ParseError_clone_ptr(&arg_conv); return ret_conv; } uint64_t __attribute__((export_name("TS_Bolt11ParseError_clone"))) TS_Bolt11ParseError_clone(uint64_t orig) { - LDKBolt11ParseError* orig_conv = (LDKBolt11ParseError*)untag_ptr(orig); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_clone(orig_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_bech32_error"))) TS_Bolt11ParseError_bech32_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKBech32Error a_conv = *(LDKBech32Error*)(a_ptr); - a_conv = Bech32Error_clone((LDKBech32Error*)untag_ptr(a)); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_bech32_error(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_parse_amount_error"))) TS_Bolt11ParseError_parse_amount_error(int32_t a) { - - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_parse_amount_error((LDKError){ ._dummy = 0 }); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_malformed_signature"))) TS_Bolt11ParseError_malformed_signature(uint32_t a) { - LDKSecp256k1Error a_conv = LDKSecp256k1Error_from_js(a); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_malformed_signature(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_bad_prefix"))) TS_Bolt11ParseError_bad_prefix() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_bad_prefix(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unknown_currency"))) TS_Bolt11ParseError_unknown_currency() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unknown_currency(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unknown_si_prefix"))) TS_Bolt11ParseError_unknown_si_prefix() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unknown_si_prefix(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_malformed_hrp"))) TS_Bolt11ParseError_malformed_hrp() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_malformed_hrp(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_too_short_data_part"))) TS_Bolt11ParseError_too_short_data_part() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_too_short_data_part(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_unexpected_end_of_tagged_fields"))) TS_Bolt11ParseError_unexpected_end_of_tagged_fields() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_unexpected_end_of_tagged_fields(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_description_decode_error"))) TS_Bolt11ParseError_description_decode_error(int32_t a) { - - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_description_decode_error((LDKError){ ._dummy = 0 }); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_padding_error"))) TS_Bolt11ParseError_padding_error() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_padding_error(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_integer_overflow_error"))) TS_Bolt11ParseError_integer_overflow_error() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_integer_overflow_error(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_seg_wit_program_length"))) TS_Bolt11ParseError_invalid_seg_wit_program_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_seg_wit_program_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_pub_key_hash_length"))) TS_Bolt11ParseError_invalid_pub_key_hash_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_pub_key_hash_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_script_hash_length"))) TS_Bolt11ParseError_invalid_script_hash_length() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_script_hash_length(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_recovery_id"))) TS_Bolt11ParseError_invalid_recovery_id() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_recovery_id(); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_invalid_slice_length"))) TS_Bolt11ParseError_invalid_slice_length(jstring a) { - LDKStr a_conv = str_ref_to_owned_c(a); - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_invalid_slice_length(a_conv); - uint64_t ret_ref = tag_ptr(ret_copy, true); - return ret_ref; -} - -uint64_t __attribute__((export_name("TS_Bolt11ParseError_skip"))) TS_Bolt11ParseError_skip() { - LDKBolt11ParseError *ret_copy = MALLOC(sizeof(LDKBolt11ParseError), "LDKBolt11ParseError"); - *ret_copy = Bolt11ParseError_skip(); - uint64_t ret_ref = tag_ptr(ret_copy, true); + LDKBolt11ParseError orig_conv; + orig_conv.inner = untag_ptr(orig); + orig_conv.is_owned = ptr_is_owned(orig); + CHECK_INNER_FIELD_ACCESS_OR_NULL(orig_conv); + orig_conv.is_owned = false; + LDKBolt11ParseError ret_var = Bolt11ParseError_clone(&orig_conv); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); return ret_ref; } -jboolean __attribute__((export_name("TS_Bolt11ParseError_eq"))) TS_Bolt11ParseError_eq(uint64_t a, uint64_t b) { - LDKBolt11ParseError* a_conv = (LDKBolt11ParseError*)untag_ptr(a); - LDKBolt11ParseError* b_conv = (LDKBolt11ParseError*)untag_ptr(b); - jboolean ret_conv = Bolt11ParseError_eq(a_conv, b_conv); - return ret_conv; -} - void __attribute__((export_name("TS_ParseOrSemanticError_free"))) TS_ParseOrSemanticError_free(uint64_t this_ptr) { if (!ptr_is_owned(this_ptr)) return; void* this_ptr_ptr = untag_ptr(this_ptr); @@ -87921,10 +90851,11 @@ uint64_t __attribute__((export_name("TS_ParseOrSemanticError_clone"))) TS_Parse } uint64_t __attribute__((export_name("TS_ParseOrSemanticError_parse_error"))) TS_ParseOrSemanticError_parse_error(uint64_t a) { - void* a_ptr = untag_ptr(a); - CHECK_ACCESS(a_ptr); - LDKBolt11ParseError a_conv = *(LDKBolt11ParseError*)(a_ptr); - a_conv = Bolt11ParseError_clone((LDKBolt11ParseError*)untag_ptr(a)); + LDKBolt11ParseError a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Bolt11ParseError_clone(&a_conv); LDKParseOrSemanticError *ret_copy = MALLOC(sizeof(LDKParseOrSemanticError), "LDKParseOrSemanticError"); *ret_copy = ParseOrSemanticError_parse_error(a_conv); uint64_t ret_ref = tag_ptr(ret_copy, true); @@ -88009,6 +90940,74 @@ int64_t __attribute__((export_name("TS_Bolt11Invoice_hash"))) TS_Bolt11Invoice_ return ret_conv; } +void __attribute__((export_name("TS_Bolt11InvoiceDescription_free"))) TS_Bolt11InvoiceDescription_free(uint64_t this_ptr) { + if (!ptr_is_owned(this_ptr)) return; + void* this_ptr_ptr = untag_ptr(this_ptr); + CHECK_ACCESS(this_ptr_ptr); + LDKBolt11InvoiceDescription this_ptr_conv = *(LDKBolt11InvoiceDescription*)(this_ptr_ptr); + FREE(untag_ptr(this_ptr)); + Bolt11InvoiceDescription_free(this_ptr_conv); +} + +static inline uint64_t Bolt11InvoiceDescription_clone_ptr(LDKBolt11InvoiceDescription *NONNULL_PTR arg) { + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_clone(arg); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} +int64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_clone_ptr"))) TS_Bolt11InvoiceDescription_clone_ptr(uint64_t arg) { + LDKBolt11InvoiceDescription* arg_conv = (LDKBolt11InvoiceDescription*)untag_ptr(arg); + int64_t ret_conv = Bolt11InvoiceDescription_clone_ptr(arg_conv); + return ret_conv; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_clone"))) TS_Bolt11InvoiceDescription_clone(uint64_t orig) { + LDKBolt11InvoiceDescription* orig_conv = (LDKBolt11InvoiceDescription*)untag_ptr(orig); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_clone(orig_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_direct"))) TS_Bolt11InvoiceDescription_direct(uint64_t a) { + LDKDescription a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Description_clone(&a_conv); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_direct(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +uint64_t __attribute__((export_name("TS_Bolt11InvoiceDescription_hash"))) TS_Bolt11InvoiceDescription_hash(uint64_t a) { + LDKSha256 a_conv; + a_conv.inner = untag_ptr(a); + a_conv.is_owned = ptr_is_owned(a); + CHECK_INNER_FIELD_ACCESS_OR_NULL(a_conv); + a_conv = Sha256_clone(&a_conv); + LDKBolt11InvoiceDescription *ret_copy = MALLOC(sizeof(LDKBolt11InvoiceDescription), "LDKBolt11InvoiceDescription"); + *ret_copy = Bolt11InvoiceDescription_hash(a_conv); + uint64_t ret_ref = tag_ptr(ret_copy, true); + return ret_ref; +} + +jboolean __attribute__((export_name("TS_Bolt11InvoiceDescription_eq"))) TS_Bolt11InvoiceDescription_eq(uint64_t a, uint64_t b) { + LDKBolt11InvoiceDescription* a_conv = (LDKBolt11InvoiceDescription*)untag_ptr(a); + LDKBolt11InvoiceDescription* b_conv = (LDKBolt11InvoiceDescription*)untag_ptr(b); + jboolean ret_conv = Bolt11InvoiceDescription_eq(a_conv, b_conv); + return ret_conv; +} + +jstring __attribute__((export_name("TS_Bolt11InvoiceDescription_to_str"))) TS_Bolt11InvoiceDescription_to_str(uint64_t o) { + LDKBolt11InvoiceDescription* o_conv = (LDKBolt11InvoiceDescription*)untag_ptr(o); + LDKStr ret_str = Bolt11InvoiceDescription_to_str(o_conv); + jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); + Str_free(ret_str); + return ret_conv; +} + void __attribute__((export_name("TS_SignedRawBolt11Invoice_free"))) TS_SignedRawBolt11Invoice_free(uint64_t this_obj) { LDKSignedRawBolt11Invoice this_obj_conv; this_obj_conv.inner = untag_ptr(this_obj); @@ -89579,6 +92578,14 @@ uint64_t __attribute__((export_name("TS_Description_new"))) TS_Description_new( return tag_ptr(ret_conv, true); } +uint64_t __attribute__((export_name("TS_Description_empty"))) TS_Description_empty() { + LDKDescription ret_var = Description_empty(); + uint64_t ret_ref = 0; + CHECK_INNER_FIELD_ACCESS_OR_NULL(ret_var); + ret_ref = tag_ptr(ret_var.inner, ret_var.is_owned); + return ret_ref; +} + uint64_t __attribute__((export_name("TS_Description_into_inner"))) TS_Description_into_inner(uint64_t this_arg) { LDKDescription this_arg_conv; this_arg_conv.inner = untag_ptr(this_arg); @@ -89880,8 +92887,12 @@ uint64_t __attribute__((export_name("TS_SignedRawBolt11Invoice_from_str"))) TS_ } jstring __attribute__((export_name("TS_Bolt11ParseError_to_str"))) TS_Bolt11ParseError_to_str(uint64_t o) { - LDKBolt11ParseError* o_conv = (LDKBolt11ParseError*)untag_ptr(o); - LDKStr ret_str = Bolt11ParseError_to_str(o_conv); + LDKBolt11ParseError o_conv; + o_conv.inner = untag_ptr(o); + o_conv.is_owned = ptr_is_owned(o); + CHECK_INNER_FIELD_ACCESS_OR_NULL(o_conv); + o_conv.is_owned = false; + LDKStr ret_str = Bolt11ParseError_to_str(&o_conv); jstring ret_conv = str_ref_to_ts(ret_str.chars, ret_str.len); Str_free(ret_str); return ret_conv; diff --git a/ts/bindings.mts b/ts/bindings.mts index 7a605d55..ff7492cb 100644 --- a/ts/bindings.mts +++ b/ts/bindings.mts @@ -395,7 +395,7 @@ export enum Bolt11SemanticError { */ export enum Bolt12SemanticError { /** - * The current [`std::time::SystemTime`] is past the offer or invoice's expiration. + * The current system time is past the offer or invoice's expiration. */ LDKBolt12SemanticError_AlreadyExpired, /** @@ -411,7 +411,7 @@ export enum Bolt12SemanticError { */ LDKBolt12SemanticError_MissingAmount, /** - * The amount exceeded the total bitcoin supply. + * The amount exceeded the total bitcoin supply or didn't match an expected amount. */ LDKBolt12SemanticError_InvalidAmount, /** @@ -439,17 +439,13 @@ export enum Bolt12SemanticError { */ LDKBolt12SemanticError_MissingDescription, /** - * A signing pubkey was not provided. + * An issuer's signing pubkey was not provided. */ - LDKBolt12SemanticError_MissingSigningPubkey, + LDKBolt12SemanticError_MissingIssuerSigningPubkey, /** - * A signing pubkey was provided but a different one was expected. + * An issuer's signing pubkey was provided but was not expected. */ - LDKBolt12SemanticError_InvalidSigningPubkey, - /** - * A signing pubkey was provided but was not expected. - */ - LDKBolt12SemanticError_UnexpectedSigningPubkey, + LDKBolt12SemanticError_UnexpectedIssuerSigningPubkey, /** * A quantity was expected but was missing. */ @@ -475,9 +471,9 @@ export enum Bolt12SemanticError { */ LDKBolt12SemanticError_MissingPayerMetadata, /** - * A payer id was expected but was missing. + * A payer signing pubkey was expected but was missing. */ - LDKBolt12SemanticError_MissingPayerId, + LDKBolt12SemanticError_MissingPayerSigningPubkey, /** * The payment id for a refund or request is already in use. */ @@ -506,10 +502,25 @@ export enum Bolt12SemanticError { * An invoice payment hash was provided but was not expected. */ LDKBolt12SemanticError_UnexpectedPaymentHash, + /** + * A signing pubkey was not provided. + */ + LDKBolt12SemanticError_MissingSigningPubkey, + /** + * A signing pubkey was provided but a different one was expected. + */ + LDKBolt12SemanticError_InvalidSigningPubkey, /** * A signature was expected but was missing. */ LDKBolt12SemanticError_MissingSignature, + /** + * A Human Readable Name was provided but was not expected (i.e. was included in a + [`Refund`]). + + [`Refund`]: super::refund::Refund + */ + LDKBolt12SemanticError_UnexpectedHumanReadableName, } @@ -1059,12 +1070,9 @@ export enum PaymentFailureReason { */ LDKPaymentFailureReason_UserAbandoned, /** - * We exhausted all of our retry attempts while trying to send the payment, or we - exhausted the [`Retry::Timeout`] if the user set one. If at any point a retry - attempt failed while being forwarded along the path, an [`Event::PaymentPathFailed`] will + * We exhausted all of our retry attempts while trying to send the payment. + If at any point a retry attempt failed while being forwarded along the path, an [`Event::PaymentPathFailed`] will have come before this. - - [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout */ LDKPaymentFailureReason_RetriesExhausted, /** @@ -1078,11 +1086,15 @@ export enum PaymentFailureReason { */ LDKPaymentFailureReason_PaymentExpired, /** - * We failed to find a route while retrying the payment. + * We failed to find a route while sending or retrying the payment. Note that this generally indicates that we've exhausted the available set of possible routes - we tried the payment over a few routes but were not able to find any further candidate routes beyond those. + + Also used for [`BlindedPathCreationFailed`] when downgrading to versions prior to 0.0.124. + + [`BlindedPathCreationFailed`]: Self::BlindedPathCreationFailed */ LDKPaymentFailureReason_RouteNotFound, /** @@ -1104,6 +1116,14 @@ export enum PaymentFailureReason { [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest */ LDKPaymentFailureReason_InvoiceRequestRejected, + /** + * Failed to create a blinded path back to ourselves. + We attempted to initiate payment to a static invoice but failed to create a reply path for our + [`HeldHtlcAvailable`] message. + + [`HeldHtlcAvailable`]: crate::onion_message::async_payments::HeldHtlcAvailable + */ + LDKPaymentFailureReason_BlindedPathCreationFailed, } @@ -1138,8 +1158,7 @@ export enum Recipient { */ export enum RetryableSendFailure { /** - * The provided [`PaymentParameters::expiry_time`] indicated that the payment has expired. Note - that this error is *not* caused by [`Retry::Timeout`]. + * The provided [`PaymentParameters::expiry_time`] indicated that the payment has expired. [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time */ @@ -1499,176 +1518,602 @@ export function CResult_RetryDecodeErrorZ_get_err(owner: bigint): bigint { return nativeResponseValue; } /* @internal */ -export class LDKAPIError { +export class LDKCOption_ThirtyTwoBytesZ { protected constructor() {} } /* @internal */ -export function LDKAPIError_ty_from_ptr(ptr: bigint): number { +export function LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKAPIError_APIMisuseError_get_err(ptr: bigint): number { +export function LDKCOption_ThirtyTwoBytesZ_Some_get_some(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_APIMisuseError_get_err(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_ThirtyTwoBytesZ_Some_get_some(ptr); return nativeResponseValue; } /* @internal */ -export function LDKAPIError_FeeRateTooHigh_get_err(ptr: bigint): number { +export class LDKCOption_CVec_u8ZZ { + protected constructor() {} +} +/* @internal */ +export function LDKCOption_CVec_u8ZZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_FeeRateTooHigh_get_err(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_CVec_u8ZZ_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKAPIError_FeeRateTooHigh_get_feerate(ptr: bigint): number { +export function LDKCOption_CVec_u8ZZ_Some_get_some(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_FeeRateTooHigh_get_feerate(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_CVec_u8ZZ_Some_get_some(ptr); return nativeResponseValue; } + // struct LDKRecipientOnionFields CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(LDKCResult_RecipientOnionFieldsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKAPIError_InvalidRoute_get_err(ptr: bigint): number { +export function CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_InvalidRoute_get_err(ptr); + const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(owner); return nativeResponseValue; } + // struct LDKDecodeError CResult_RecipientOnionFieldsDecodeErrorZ_get_err(LDKCResult_RecipientOnionFieldsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKAPIError_ChannelUnavailable_get_err(ptr: bigint): number { +export function CResult_RecipientOnionFieldsDecodeErrorZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_ChannelUnavailable_get_err(ptr); + const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // uint64_t C2Tuple_u64CVec_u8ZZ_get_a(LDKC2Tuple_u64CVec_u8ZZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_u64CVec_u8ZZ_get_a(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_u64CVec_u8ZZ_get_a(owner); return nativeResponseValue; } + // struct LDKCVec_u8Z C2Tuple_u64CVec_u8ZZ_get_b(LDKC2Tuple_u64CVec_u8ZZ *NONNULL_PTR owner); /* @internal */ -export function LDKAPIError_IncompatibleShutdownScript_get_script(ptr: bigint): bigint { +export function C2Tuple_u64CVec_u8ZZ_get_b(owner: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKAPIError_IncompatibleShutdownScript_get_script(ptr); + const nativeResponseValue = wasm.TS_C2Tuple_u64CVec_u8ZZ_get_b(owner); return nativeResponseValue; } - // void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner); + // struct LDKRecipientOnionFields CResult_RecipientOnionFieldsNoneZ_get_ok(LDKCResult_RecipientOnionFieldsNoneZ *NONNULL_PTR owner); /* @internal */ -export function CResult_NoneAPIErrorZ_get_ok(owner: bigint): void { +export function CResult_RecipientOnionFieldsNoneZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsNoneZ_get_ok(owner); + return nativeResponseValue; +} + // void CResult_RecipientOnionFieldsNoneZ_get_err(LDKCResult_RecipientOnionFieldsNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_RecipientOnionFieldsNoneZ_get_err(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsNoneZ_get_err(owner); // debug statements here } - // struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_NoneAPIErrorZ_get_err(owner: bigint): bigint { +export class LDKDNSResolverMessage { + protected constructor() {} +} +/* @internal */ +export function LDKDNSResolverMessage_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKDNSResolverMessage_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export class LDKCOption_ThirtyTwoBytesZ { +export function LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof(ptr); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKResponseInstruction C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(owner); + return nativeResponseValue; +} +/* @internal */ +export class LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ { protected constructor() {} } /* @internal */ -export function LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(ptr: bigint): number { +export function LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_ThirtyTwoBytesZ_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKCOption_ThirtyTwoBytesZ_Some_get_some(ptr: bigint): number { +export function LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_ThirtyTwoBytesZ_Some_get_some(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some(ptr); return nativeResponseValue; } /* @internal */ -export class LDKCOption_CVec_u8ZZ { +export class LDKDestination { protected constructor() {} } /* @internal */ -export function LDKCOption_CVec_u8ZZ_ty_from_ptr(ptr: bigint): number { +export function LDKDestination_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_CVec_u8ZZ_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKDestination_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKCOption_CVec_u8ZZ_Some_get_some(ptr: bigint): number { +export function LDKDestination_Node_get_node(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_CVec_u8ZZ_Some_get_some(ptr); + const nativeResponseValue = wasm.TS_LDKDestination_Node_get_node(ptr); return nativeResponseValue; } - // struct LDKRecipientOnionFields CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(LDKCResult_RecipientOnionFieldsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(owner: bigint): bigint { +export function LDKDestination_BlindedPath_get_blinded_path(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsDecodeErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKDestination_BlindedPath_get_blinded_path(ptr); return nativeResponseValue; } - // struct LDKDecodeError CResult_RecipientOnionFieldsDecodeErrorZ_get_err(LDKCResult_RecipientOnionFieldsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_RecipientOnionFieldsDecodeErrorZ_get_err(owner: bigint): bigint { +export class LDKOffersContext { + protected constructor() {} +} +/* @internal */ +export function LDKOffersContext_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsDecodeErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKOffersContext_ty_from_ptr(ptr); return nativeResponseValue; } - // uint64_t C2Tuple_u64CVec_u8ZZ_get_a(LDKC2Tuple_u64CVec_u8ZZ *NONNULL_PTR owner); /* @internal */ -export function C2Tuple_u64CVec_u8ZZ_get_a(owner: bigint): bigint { +export function LDKOffersContext_InvoiceRequest_get_nonce(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_C2Tuple_u64CVec_u8ZZ_get_a(owner); + const nativeResponseValue = wasm.TS_LDKOffersContext_InvoiceRequest_get_nonce(ptr); return nativeResponseValue; } - // struct LDKCVec_u8Z C2Tuple_u64CVec_u8ZZ_get_b(LDKC2Tuple_u64CVec_u8ZZ *NONNULL_PTR owner); /* @internal */ -export function C2Tuple_u64CVec_u8ZZ_get_b(owner: bigint): number { +export function LDKOffersContext_OutboundPayment_get_payment_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_C2Tuple_u64CVec_u8ZZ_get_b(owner); + const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_payment_id(ptr); return nativeResponseValue; } - // struct LDKRecipientOnionFields CResult_RecipientOnionFieldsNoneZ_get_ok(LDKCResult_RecipientOnionFieldsNoneZ *NONNULL_PTR owner); /* @internal */ -export function CResult_RecipientOnionFieldsNoneZ_get_ok(owner: bigint): bigint { +export function LDKOffersContext_OutboundPayment_get_nonce(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsNoneZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_nonce(ptr); return nativeResponseValue; } - // void CResult_RecipientOnionFieldsNoneZ_get_err(LDKCResult_RecipientOnionFieldsNoneZ *NONNULL_PTR owner); /* @internal */ -export function CResult_RecipientOnionFieldsNoneZ_get_err(owner: bigint): void { +export function LDKOffersContext_OutboundPayment_get_hmac(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsNoneZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_hmac(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKOffersContext_InboundPayment_get_payment_hash(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKOffersContext_InboundPayment_get_payment_hash(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKOffersContext_InboundPayment_get_nonce(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKOffersContext_InboundPayment_get_nonce(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKOffersContext_InboundPayment_get_hmac(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKOffersContext_InboundPayment_get_hmac(ptr); + return nativeResponseValue; +} +/* @internal */ +export class LDKAsyncPaymentsContext { + protected constructor() {} +} +/* @internal */ +export function LDKAsyncPaymentsContext_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKAsyncPaymentsContext_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKAsyncPaymentsContext_OutboundPayment_get_payment_id(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKAsyncPaymentsContext_OutboundPayment_get_payment_id(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKAsyncPaymentsContext_OutboundPayment_get_nonce(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKAsyncPaymentsContext_OutboundPayment_get_nonce(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKAsyncPaymentsContext_OutboundPayment_get_hmac(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKAsyncPaymentsContext_OutboundPayment_get_hmac(ptr); + return nativeResponseValue; +} +/* @internal */ +export class LDKMessageContext { + protected constructor() {} +} +/* @internal */ +export function LDKMessageContext_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageContext_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageContext_Offers_get_offers(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageContext_Offers_get_offers(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageContext_AsyncPayments_get_async_payments(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageContext_AsyncPayments_get_async_payments(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageContext_DNSResolver_get_dns_resolver(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageContext_DNSResolver_get_dns_resolver(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageContext_Custom_get_custom(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageContext_Custom_get_custom(ptr); + return nativeResponseValue; +} +/* @internal */ +export class LDKMessageSendInstructions { + protected constructor() {} +} +/* @internal */ +export function LDKMessageSendInstructions_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_WithReplyPath_get_destination(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithReplyPath_get_destination(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_WithReplyPath_get_context(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithReplyPath_get_context(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_WithoutReplyPath_get_destination(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKMessageSendInstructions_ForReply_get_instructions(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_ForReply_get_instructions(ptr); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKMessageSendInstructions C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(owner); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage CResult_DNSResolverMessageDecodeErrorZ_get_ok(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_DNSResolverMessageDecodeErrorZ_get_err(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKHumanReadableName CResult_HumanReadableNameNoneZ_get_ok(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_get_ok(owner); + return nativeResponseValue; +} + // void CResult_HumanReadableNameNoneZ_get_err(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_get_err(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_get_err(owner); + // debug statements here +} + // struct LDKHumanReadableName CResult_HumanReadableNameDecodeErrorZ_get_ok(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_HumanReadableNameDecodeErrorZ_get_err(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKDNSSECQuery C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKDNSResolverContext C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(owner); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(owner); + return nativeResponseValue; +} + // void CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_err(owner); // debug statements here +} + // struct LDKHumanReadableName C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKThirtyTwoBytes C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(owner); + return nativeResponseValue; +} + // struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKOffer C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(owner); + return nativeResponseValue; +} +/* @internal */ +export class LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + protected constructor() {} +} +/* @internal */ +export function LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some(ptr); + return nativeResponseValue; +} + // struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKStr C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(owner); + return nativeResponseValue; +} +/* @internal */ +export class LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + protected constructor() {} +} +/* @internal */ +export function LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some(ptr); + return nativeResponseValue; } // struct LDKUnsignedBolt12Invoice CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ *NONNULL_PTR owner); /* @internal */ @@ -2334,6 +2779,7 @@ export interface LDKEcdsaChannelSigner { sign_closing_transaction (closing_tx: bigint): bigint; sign_holder_anchor_input (anchor_tx: number, input: number): bigint; sign_channel_announcement_with_funding_key (msg: bigint): bigint; + sign_splicing_funding_input (tx: number, input_index: number, input_value: bigint): bigint; } /* @internal */ @@ -2428,6 +2874,15 @@ export function EcdsaChannelSigner_sign_channel_announcement_with_funding_key(th } const nativeResponseValue = wasm.TS_EcdsaChannelSigner_sign_channel_announcement_with_funding_key(this_arg, msg); return nativeResponseValue; +} + // LDKCResult_ECDSASignatureNoneZ EcdsaChannelSigner_sign_splicing_funding_input LDKEcdsaChannelSigner *NONNULL_PTR this_arg, struct LDKTransaction tx, uintptr_t input_index, uint64_t input_value +/* @internal */ +export function EcdsaChannelSigner_sign_splicing_funding_input(this_arg: bigint, tx: number, input_index: number, input_value: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_EcdsaChannelSigner_sign_splicing_funding_input(this_arg, tx, input_index, input_value); + return nativeResponseValue; } // struct LDKEcdsaChannelSigner CResult_EcdsaChannelSignerDecodeErrorZ_get_ok(LDKCResult_EcdsaChannelSignerDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -2639,42 +3094,6 @@ export function CResult_CVec_BlindedPaymentPathZNoneZ_get_err(owner: bigint): vo } const nativeResponseValue = wasm.TS_CResult_CVec_BlindedPaymentPathZNoneZ_get_err(owner); // debug statements here -} - // struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_get_ok(owner); - return nativeResponseValue; -} - // void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_get_err(owner: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_get_err(owner); - // debug statements here -} - // struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner); - return nativeResponseValue; -} - // void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner); - // debug statements here } // struct LDKInFlightHtlcs CResult_InFlightHtlcsDecodeErrorZ_get_ok(LDKCResult_InFlightHtlcsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -3231,132 +3650,6 @@ export function C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ_get_d(owne } const nativeResponseValue = wasm.TS_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ_get_d(owner); return nativeResponseValue; -} - // struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner); - return nativeResponseValue; } // struct LDKOfferId CResult_OfferIdDecodeErrorZ_get_ok(LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -3412,40 +3705,22 @@ export function CResult_OfferBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12 const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_get_err(owner); return nativeResponseValue; } - // struct LDKInvoiceRequestWithDerivedPayerIdBuilder CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); + // struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(owner); return nativeResponseValue; } - // enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); + // enum LDKBolt12SemanticError CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(owner); - return nativeResponseValue; -} - // struct LDKInvoiceRequestWithExplicitPayerIdBuilder CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(owner); - return nativeResponseValue; -} - // enum LDKBolt12SemanticError CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(owner); return nativeResponseValue; } // struct LDKOffer CResult_OfferDecodeErrorZ_get_ok(LDKCResult_OfferDecodeErrorZ *NONNULL_PTR owner); @@ -4816,14 +5091,6 @@ export function LDKPaymentContext_ty_from_ptr(ptr: bigint): number { return nativeResponseValue; } /* @internal */ -export function LDKPaymentContext_Unknown_get_unknown(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKPaymentContext_Unknown_get_unknown(ptr); - return nativeResponseValue; -} -/* @internal */ export function LDKPaymentContext_Bolt12Offer_get_bolt12_offer(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -4897,176 +5164,176 @@ export function LDKCOption_C2Tuple_u64u16ZZ_Some_get_some(ptr: bigint): bigint { const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_u64u16ZZ_Some_get_some(ptr); return nativeResponseValue; } - // struct LDKChannelId CResult_ChannelIdAPIErrorZ_get_ok(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ChannelIdAPIErrorZ_get_ok(owner: bigint): bigint { +export class LDKAPIError { + protected constructor() {} +} +/* @internal */ +export function LDKAPIError_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelIdAPIErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKAPIError_ty_from_ptr(ptr); return nativeResponseValue; } - // struct LDKAPIError CResult_ChannelIdAPIErrorZ_get_err(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ChannelIdAPIErrorZ_get_err(owner: bigint): bigint { +export function LDKAPIError_APIMisuseError_get_err(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelIdAPIErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKAPIError_APIMisuseError_get_err(ptr); return nativeResponseValue; } /* @internal */ -export class LDKRecentPaymentDetails { - protected constructor() {} -} -/* @internal */ -export function LDKRecentPaymentDetails_ty_from_ptr(ptr: bigint): number { +export function LDKAPIError_FeeRateTooHigh_get_err(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKAPIError_FeeRateTooHigh_get_err(ptr); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_AwaitingInvoice_get_payment_id(ptr: bigint): number { +export function LDKAPIError_FeeRateTooHigh_get_feerate(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_AwaitingInvoice_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_LDKAPIError_FeeRateTooHigh_get_feerate(ptr); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_Pending_get_payment_id(ptr: bigint): number { +export function LDKAPIError_InvalidRoute_get_err(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_LDKAPIError_InvalidRoute_get_err(ptr); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_Pending_get_payment_hash(ptr: bigint): number { +export function LDKAPIError_ChannelUnavailable_get_err(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_payment_hash(ptr); + const nativeResponseValue = wasm.TS_LDKAPIError_ChannelUnavailable_get_err(ptr); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_Pending_get_total_msat(ptr: bigint): bigint { +export function LDKAPIError_IncompatibleShutdownScript_get_script(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_total_msat(ptr); + const nativeResponseValue = wasm.TS_LDKAPIError_IncompatibleShutdownScript_get_script(ptr); return nativeResponseValue; } + // struct LDKChannelId CResult_ChannelIdAPIErrorZ_get_ok(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKRecentPaymentDetails_Fulfilled_get_payment_id(ptr: bigint): number { +export function CResult_ChannelIdAPIErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Fulfilled_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_CResult_ChannelIdAPIErrorZ_get_ok(owner); return nativeResponseValue; } + // struct LDKAPIError CResult_ChannelIdAPIErrorZ_get_err(LDKCResult_ChannelIdAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKRecentPaymentDetails_Fulfilled_get_payment_hash(ptr: bigint): bigint { +export function CResult_ChannelIdAPIErrorZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Fulfilled_get_payment_hash(ptr); + const nativeResponseValue = wasm.TS_CResult_ChannelIdAPIErrorZ_get_err(owner); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_Abandoned_get_payment_id(ptr: bigint): number { +export class LDKRecentPaymentDetails { + protected constructor() {} +} +/* @internal */ +export function LDKRecentPaymentDetails_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Abandoned_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKRecentPaymentDetails_Abandoned_get_payment_hash(ptr: bigint): number { +export function LDKRecentPaymentDetails_AwaitingInvoice_get_payment_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Abandoned_get_payment_hash(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_AwaitingInvoice_get_payment_id(ptr); return nativeResponseValue; } /* @internal */ -export class LDKPaymentSendFailure { - protected constructor() {} -} -/* @internal */ -export function LDKPaymentSendFailure_ty_from_ptr(ptr: bigint): number { +export function LDKRecentPaymentDetails_Pending_get_payment_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_payment_id(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr: bigint): bigint { +export function LDKRecentPaymentDetails_Pending_get_payment_hash(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_payment_hash(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr: bigint): number { +export function LDKRecentPaymentDetails_Pending_get_total_msat(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Pending_get_total_msat(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe(ptr: bigint): number { +export function LDKRecentPaymentDetails_Fulfilled_get_payment_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Fulfilled_get_payment_id(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_PartialFailure_get_results(ptr: bigint): number { +export function LDKRecentPaymentDetails_Fulfilled_get_payment_hash(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_PartialFailure_get_results(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Fulfilled_get_payment_hash(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr: bigint): bigint { +export function LDKRecentPaymentDetails_Abandoned_get_payment_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Abandoned_get_payment_id(ptr); return nativeResponseValue; } /* @internal */ -export function LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr: bigint): number { +export function LDKRecentPaymentDetails_Abandoned_get_payment_hash(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_LDKRecentPaymentDetails_Abandoned_get_payment_hash(ptr); return nativeResponseValue; } - // void CResult_NonePaymentSendFailureZ_get_ok(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner); + // void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_NonePaymentSendFailureZ_get_ok(owner: bigint): void { +export function CResult_NoneAPIErrorZ_get_ok(owner: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_get_ok(owner); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_get_ok(owner); // debug statements here } - // struct LDKPaymentSendFailure CResult_NonePaymentSendFailureZ_get_err(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner); + // struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_NonePaymentSendFailureZ_get_err(owner: bigint): bigint { +export function CResult_NoneAPIErrorZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_get_err(owner); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_get_err(owner); return nativeResponseValue; } // void CResult_NoneRetryableSendFailureZ_get_ok(LDKCResult_NoneRetryableSendFailureZ *NONNULL_PTR owner); @@ -5087,22 +5354,62 @@ export function CResult_NoneRetryableSendFailureZ_get_err(owner: bigint): Retrya const nativeResponseValue = wasm.TS_CResult_NoneRetryableSendFailureZ_get_err(owner); return nativeResponseValue; } - // struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(owner: bigint): number { +export class LDKCOption_OffersContextZ { + protected constructor() {} +} +/* @internal */ +export function LDKCOption_OffersContextZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKCOption_OffersContextZ_ty_from_ptr(ptr); return nativeResponseValue; } - // struct LDKPaymentSendFailure CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(owner: bigint): bigint { +export function LDKCOption_OffersContextZ_Some_get_some(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKCOption_OffersContextZ_Some_get_some(ptr); + return nativeResponseValue; +} +/* @internal */ +export class LDKBolt12PaymentError { + protected constructor() {} +} +/* @internal */ +export function LDKBolt12PaymentError_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKBolt12PaymentError_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKBolt12PaymentError_SendingFailed_get_sending_failed(ptr: bigint): RetryableSendFailure { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(ptr); + return nativeResponseValue; +} + // void CResult_NoneBolt12PaymentErrorZ_get_ok(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_NoneBolt12PaymentErrorZ_get_ok(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_get_ok(owner); + // debug statements here +} + // struct LDKBolt12PaymentError CResult_NoneBolt12PaymentErrorZ_get_err(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_NoneBolt12PaymentErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_get_err(owner); return nativeResponseValue; } // struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesRetryableSendFailureZ_get_ok(LDKCResult_ThirtyTwoBytesRetryableSendFailureZ *NONNULL_PTR owner); @@ -5141,42 +5448,42 @@ export function C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_get_b(owner: bigint): numb const nativeResponseValue = wasm.TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_get_b(owner); return nativeResponseValue; } - // struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(owner: bigint): bigint { +export class LDKProbeSendFailure { + protected constructor() {} +} +/* @internal */ +export function LDKProbeSendFailure_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKProbeSendFailure_ty_from_ptr(ptr); return nativeResponseValue; } - // struct LDKPaymentSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR owner); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(owner: bigint): bigint { +export function LDKProbeSendFailure_ParameterError_get_parameter_error(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(owner); + const nativeResponseValue = wasm.TS_LDKProbeSendFailure_ParameterError_get_parameter_error(ptr); return nativeResponseValue; } + // struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner); /* @internal */ -export class LDKProbeSendFailure { - protected constructor() {} -} -/* @internal */ -export function LDKProbeSendFailure_ty_from_ptr(ptr: bigint): number { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKProbeSendFailure_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(owner); return nativeResponseValue; } + // struct LDKProbeSendFailure CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR owner); /* @internal */ -export function LDKProbeSendFailure_SendingFailed_get_sending_failed(ptr: bigint): bigint { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKProbeSendFailure_SendingFailed_get_sending_failed(ptr); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(owner); return nativeResponseValue; } // struct LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ CResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ_get_ok(LDKCResult_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ *NONNULL_PTR owner); @@ -5215,150 +5522,154 @@ export function C2Tuple_ChannelIdPublicKeyZ_get_b(owner: bigint): number { const nativeResponseValue = wasm.TS_C2Tuple_ChannelIdPublicKeyZ_get_b(owner); return nativeResponseValue; } - // struct LDKOfferWithDerivedMetadataBuilder CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); + // struct LDKPublicKey C2Tuple_PublicKeyChannelIdZ_get_a(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner); /* @internal */ -export function CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { +export function C2Tuple_PublicKeyChannelIdZ_get_a(owner: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_get_a(owner); return nativeResponseValue; } - // enum LDKBolt12SemanticError CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); + // struct LDKChannelId C2Tuple_PublicKeyChannelIdZ_get_b(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR owner); /* @internal */ -export function CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { +export function C2Tuple_PublicKeyChannelIdZ_get_b(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_get_b(owner); return nativeResponseValue; } /* @internal */ -export class LDKCOption_StrZ { +export class LDKCOption_C2Tuple_PublicKeyChannelIdZZ { protected constructor() {} } /* @internal */ -export function LDKCOption_StrZ_ty_from_ptr(ptr: bigint): number { +export function LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_StrZ_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKCOption_StrZ_Some_get_some(ptr: bigint): number { +export function LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_StrZ_Some_get_some(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some(ptr); return nativeResponseValue; } - // struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(owner: bigint): bigint { +export class LDKSignOrCreationError { + protected constructor() {} +} +/* @internal */ +export function LDKSignOrCreationError_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(owner); + const nativeResponseValue = wasm.TS_LDKSignOrCreationError_ty_from_ptr(ptr); return nativeResponseValue; } - // void CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(owner: bigint): void { +export function LDKSignOrCreationError_CreationError_get_creation_error(ptr: bigint): CreationError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(owner); - // debug statements here + const nativeResponseValue = wasm.TS_LDKSignOrCreationError_CreationError_get_creation_error(ptr); + return nativeResponseValue; } - // struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesAPIErrorZ_get_ok(LDKCResult_ThirtyTwoBytesAPIErrorZ *NONNULL_PTR owner); + // struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ThirtyTwoBytesAPIErrorZ_get_ok(owner: bigint): number { +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesAPIErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner); return nativeResponseValue; } - // struct LDKAPIError CResult_ThirtyTwoBytesAPIErrorZ_get_err(LDKCResult_ThirtyTwoBytesAPIErrorZ *NONNULL_PTR owner); + // struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_ThirtyTwoBytesAPIErrorZ_get_err(owner: bigint): bigint { +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesAPIErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner); return nativeResponseValue; } + // struct LDKOfferWithDerivedMetadataBuilder CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); /* @internal */ -export class LDKOffersContext { - protected constructor() {} -} -/* @internal */ -export function LDKOffersContext_ty_from_ptr(ptr: bigint): number { +export function CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_ok(owner); return nativeResponseValue; } + // enum LDKBolt12SemanticError CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKOffersContext_InvoiceRequest_get_nonce(ptr: bigint): bigint { +export function CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_InvoiceRequest_get_nonce(ptr); + const nativeResponseValue = wasm.TS_CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_get_err(owner); return nativeResponseValue; } /* @internal */ -export function LDKOffersContext_OutboundPayment_get_payment_id(ptr: bigint): number { +export class LDKCOption_StrZ { + protected constructor() {} +} +/* @internal */ +export function LDKCOption_StrZ_ty_from_ptr(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_payment_id(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_StrZ_ty_from_ptr(ptr); return nativeResponseValue; } /* @internal */ -export function LDKOffersContext_OutboundPayment_get_nonce(ptr: bigint): bigint { +export function LDKCOption_StrZ_Some_get_some(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_nonce(ptr); + const nativeResponseValue = wasm.TS_LDKCOption_StrZ_Some_get_some(ptr); return nativeResponseValue; } + // struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner); /* @internal */ -export function LDKOffersContext_OutboundPayment_get_hmac(ptr: bigint): number { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_OutboundPayment_get_hmac(ptr); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_ok(owner); return nativeResponseValue; } + // void CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ *NONNULL_PTR owner); /* @internal */ -export function LDKOffersContext_InboundPayment_get_payment_hash(ptr: bigint): number { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(owner: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKOffersContext_InboundPayment_get_payment_hash(ptr); - return nativeResponseValue; -} -/* @internal */ -export class LDKCOption_OffersContextZ { - protected constructor() {} + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_get_err(owner); + // debug statements here } + // struct LDKThirtyTwoBytes CResult_ThirtyTwoBytesAPIErrorZ_get_ok(LDKCResult_ThirtyTwoBytesAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKCOption_OffersContextZ_ty_from_ptr(ptr: bigint): number { +export function CResult_ThirtyTwoBytesAPIErrorZ_get_ok(owner: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_OffersContextZ_ty_from_ptr(ptr); + const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesAPIErrorZ_get_ok(owner); return nativeResponseValue; } + // struct LDKAPIError CResult_ThirtyTwoBytesAPIErrorZ_get_err(LDKCResult_ThirtyTwoBytesAPIErrorZ *NONNULL_PTR owner); /* @internal */ -export function LDKCOption_OffersContextZ_Some_get_some(ptr: bigint): bigint { +export function CResult_ThirtyTwoBytesAPIErrorZ_get_err(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKCOption_OffersContextZ_Some_get_some(ptr); + const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesAPIErrorZ_get_err(owner); return nativeResponseValue; } /* @internal */ @@ -5434,122 +5745,6 @@ export function LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ_Some_get_s } const nativeResponseValue = wasm.TS_LDKCOption_C2Tuple_OffersMessageResponseInstructionZZ_Some_get_some(ptr); return nativeResponseValue; -} -/* @internal */ -export class LDKDestination { - protected constructor() {} -} -/* @internal */ -export function LDKDestination_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKDestination_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKDestination_Node_get_node(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKDestination_Node_get_node(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKDestination_BlindedPath_get_blinded_path(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKDestination_BlindedPath_get_blinded_path(ptr); - return nativeResponseValue; -} -/* @internal */ -export class LDKMessageContext { - protected constructor() {} -} -/* @internal */ -export function LDKMessageContext_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageContext_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageContext_Offers_get_offers(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageContext_Offers_get_offers(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageContext_Custom_get_custom(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageContext_Custom_get_custom(ptr); - return nativeResponseValue; -} -/* @internal */ -export class LDKMessageSendInstructions { - protected constructor() {} -} -/* @internal */ -export function LDKMessageSendInstructions_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_destination(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithSpecifiedReplyPath_get_reply_path(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_WithReplyPath_get_destination(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithReplyPath_get_destination(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_WithReplyPath_get_context(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithReplyPath_get_context(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_WithoutReplyPath_get_destination(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_WithoutReplyPath_get_destination(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKMessageSendInstructions_ForReply_get_instructions(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKMessageSendInstructions_ForReply_get_instructions(ptr); - return nativeResponseValue; } // struct LDKOffersMessage C2Tuple_OffersMessageMessageSendInstructionsZ_get_a(LDKC2Tuple_OffersMessageMessageSendInstructionsZ *NONNULL_PTR owner); /* @internal */ @@ -5828,6 +6023,14 @@ export function LDKPendingHTLCRouting_ReceiveKeysend_get_requires_blinded_error( } const nativeResponseValue = wasm.TS_LDKPendingHTLCRouting_ReceiveKeysend_get_requires_blinded_error(ptr); return nativeResponseValue; +} +/* @internal */ +export function LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret(ptr: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret(ptr); + return nativeResponseValue; } // struct LDKPendingHTLCRouting CResult_PendingHTLCRoutingDecodeErrorZ_get_ok(LDKCResult_PendingHTLCRoutingDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -6019,11 +6222,10 @@ export function LDKUnsignedGossipMessage_NodeAnnouncement_get_node_announcement( } /* @internal */ export interface LDKNodeSigner { - get_inbound_payment_key_material (): number; + get_inbound_payment_key (): bigint; get_node_id (recipient: Recipient): bigint; ecdh (recipient: Recipient, other_key: number, tweak: bigint): bigint; sign_invoice (invoice: bigint, recipient: Recipient): bigint; - sign_bolt12_invoice_request (invoice_request: bigint): bigint; sign_bolt12_invoice (invoice: bigint): bigint; sign_gossip_message (msg: bigint): bigint; } @@ -6040,13 +6242,13 @@ export function LDKNodeSigner_new(impl: LDKNodeSigner): [bigint, number] { js_objs[i] = new WeakRef(impl); return [wasm.TS_LDKNodeSigner_new(i), i]; } - // LDKThirtyTwoBytes NodeSigner_get_inbound_payment_key_material LDKNodeSigner *NONNULL_PTR this_arg + // LDKExpandedKey NodeSigner_get_inbound_payment_key LDKNodeSigner *NONNULL_PTR this_arg /* @internal */ -export function NodeSigner_get_inbound_payment_key_material(this_arg: bigint): number { +export function NodeSigner_get_inbound_payment_key(this_arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_NodeSigner_get_inbound_payment_key_material(this_arg); + const nativeResponseValue = wasm.TS_NodeSigner_get_inbound_payment_key(this_arg); return nativeResponseValue; } // LDKCResult_PublicKeyNoneZ NodeSigner_get_node_id LDKNodeSigner *NONNULL_PTR this_arg, enum LDKRecipient recipient @@ -6075,15 +6277,6 @@ export function NodeSigner_sign_invoice(this_arg: bigint, invoice: bigint, recip } const nativeResponseValue = wasm.TS_NodeSigner_sign_invoice(this_arg, invoice, recipient); return nativeResponseValue; -} - // LDKCResult_SchnorrSignatureNoneZ NodeSigner_sign_bolt12_invoice_request LDKNodeSigner *NONNULL_PTR this_arg, const struct LDKUnsignedInvoiceRequest *NONNULL_PTR invoice_request -/* @internal */ -export function NodeSigner_sign_bolt12_invoice_request(this_arg: bigint, invoice_request: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_NodeSigner_sign_bolt12_invoice_request(this_arg, invoice_request); - return nativeResponseValue; } // LDKCResult_SchnorrSignatureNoneZ NodeSigner_sign_bolt12_invoice LDKNodeSigner *NONNULL_PTR this_arg, const struct LDKUnsignedBolt12Invoice *NONNULL_PTR invoice /* @internal */ @@ -6196,14 +6389,14 @@ export function FeeEstimator_get_est_sat_per_1000_weight(this_arg: bigint, confi return nativeResponseValue; } /* @internal */ -export interface LDKMessageRouter { - find_path (sender: number, peers: number, destination: bigint): bigint; - create_blinded_paths (recipient: number, context: bigint, peers: number): bigint; - create_compact_blinded_paths (recipient: number, context: bigint, peers: number): bigint; +export interface LDKRouter { + find_route (payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint): bigint; + find_route_with_id (payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint, _payment_hash: number, _payment_id: number): bigint; + create_blinded_payment_paths (recipient: number, first_hops: number, tlvs: bigint, amount_msats: bigint): bigint; } /* @internal */ -export function LDKMessageRouter_new(impl: LDKMessageRouter): [bigint, number] { +export function LDKRouter_new(impl: LDKRouter): [bigint, number] { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } @@ -6212,44 +6405,80 @@ export function LDKMessageRouter_new(impl: LDKMessageRouter): [bigint, number] { if (js_objs[i] == null || js_objs[i] == undefined) { new_obj_idx = i; break; } } js_objs[i] = new WeakRef(impl); - return [wasm.TS_LDKMessageRouter_new(i), i]; + return [wasm.TS_LDKRouter_new(i), i]; } - // LDKCResult_OnionMessagePathNoneZ MessageRouter_find_path LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey sender, struct LDKCVec_PublicKeyZ peers, struct LDKDestination destination + // LDKCResult_RouteLightningErrorZ Router_find_route LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKInFlightHtlcs inflight_htlcs /* @internal */ -export function MessageRouter_find_path(this_arg: bigint, sender: number, peers: number, destination: bigint): bigint { +export function Router_find_route(this_arg: bigint, payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_MessageRouter_find_path(this_arg, sender, peers, destination); + const nativeResponseValue = wasm.TS_Router_find_route(this_arg, payer, route_params, first_hops, inflight_htlcs); return nativeResponseValue; } - // LDKCResult_CVec_BlindedMessagePathZNoneZ MessageRouter_create_blinded_paths LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKMessageContext context, struct LDKCVec_PublicKeyZ peers + // LDKCResult_RouteLightningErrorZ Router_find_route_with_id LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKInFlightHtlcs inflight_htlcs, struct LDKThirtyTwoBytes _payment_hash, struct LDKThirtyTwoBytes _payment_id /* @internal */ -export function MessageRouter_create_blinded_paths(this_arg: bigint, recipient: number, context: bigint, peers: number): bigint { +export function Router_find_route_with_id(this_arg: bigint, payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint, _payment_hash: number, _payment_id: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_MessageRouter_create_blinded_paths(this_arg, recipient, context, peers); + const nativeResponseValue = wasm.TS_Router_find_route_with_id(this_arg, payer, route_params, first_hops, inflight_htlcs, _payment_hash, _payment_id); return nativeResponseValue; } - // LDKCResult_CVec_BlindedMessagePathZNoneZ MessageRouter_create_compact_blinded_paths LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKMessageContext context, struct LDKCVec_MessageForwardNodeZ peers + // LDKCResult_CVec_BlindedPaymentPathZNoneZ Router_create_blinded_payment_paths LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKCVec_ChannelDetailsZ first_hops, struct LDKReceiveTlvs tlvs, uint64_t amount_msats /* @internal */ -export function MessageRouter_create_compact_blinded_paths(this_arg: bigint, recipient: number, context: bigint, peers: number): bigint { +export function Router_create_blinded_payment_paths(this_arg: bigint, recipient: number, first_hops: number, tlvs: bigint, amount_msats: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_MessageRouter_create_compact_blinded_paths(this_arg, recipient, context, peers); + const nativeResponseValue = wasm.TS_Router_create_blinded_payment_paths(this_arg, recipient, first_hops, tlvs, amount_msats); return nativeResponseValue; } + // struct LDKOnionMessagePath CResult_OnionMessagePathNoneZ_get_ok(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner); /* @internal */ -export interface LDKRouter { - find_route (payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint): bigint; - find_route_with_id (payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint, _payment_hash: number, _payment_id: number): bigint; - create_blinded_payment_paths (recipient: number, first_hops: number, tlvs: bigint, amount_msats: bigint): bigint; +export function CResult_OnionMessagePathNoneZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_get_ok(owner); + return nativeResponseValue; +} + // void CResult_OnionMessagePathNoneZ_get_err(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_get_err(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_get_err(owner); + // debug statements here +} + // struct LDKCVec_BlindedMessagePathZ CResult_CVec_BlindedMessagePathZNoneZ_get_ok(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_get_ok(owner); + return nativeResponseValue; +} + // void CResult_CVec_BlindedMessagePathZNoneZ_get_err(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_get_err(owner); + // debug statements here +} +/* @internal */ +export interface LDKMessageRouter { + find_path (sender: number, peers: number, destination: bigint): bigint; + create_blinded_paths (recipient: number, context: bigint, peers: number): bigint; + create_compact_blinded_paths (recipient: number, context: bigint, peers: number): bigint; } /* @internal */ -export function LDKRouter_new(impl: LDKRouter, MessageRouter: number): [bigint, number] { +export function LDKMessageRouter_new(impl: LDKMessageRouter): [bigint, number] { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } @@ -6258,33 +6487,33 @@ export function LDKRouter_new(impl: LDKRouter, MessageRouter: number): [bigint, if (js_objs[i] == null || js_objs[i] == undefined) { new_obj_idx = i; break; } } js_objs[i] = new WeakRef(impl); - return [wasm.TS_LDKRouter_new(i, MessageRouter), i]; + return [wasm.TS_LDKMessageRouter_new(i), i]; } - // LDKCResult_RouteLightningErrorZ Router_find_route LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKInFlightHtlcs inflight_htlcs + // LDKCResult_OnionMessagePathNoneZ MessageRouter_find_path LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey sender, struct LDKCVec_PublicKeyZ peers, struct LDKDestination destination /* @internal */ -export function Router_find_route(this_arg: bigint, payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint): bigint { +export function MessageRouter_find_path(this_arg: bigint, sender: number, peers: number, destination: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Router_find_route(this_arg, payer, route_params, first_hops, inflight_htlcs); + const nativeResponseValue = wasm.TS_MessageRouter_find_path(this_arg, sender, peers, destination); return nativeResponseValue; } - // LDKCResult_RouteLightningErrorZ Router_find_route_with_id LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKInFlightHtlcs inflight_htlcs, struct LDKThirtyTwoBytes _payment_hash, struct LDKThirtyTwoBytes _payment_id + // LDKCResult_CVec_BlindedMessagePathZNoneZ MessageRouter_create_blinded_paths LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKMessageContext context, struct LDKCVec_PublicKeyZ peers /* @internal */ -export function Router_find_route_with_id(this_arg: bigint, payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint, _payment_hash: number, _payment_id: number): bigint { +export function MessageRouter_create_blinded_paths(this_arg: bigint, recipient: number, context: bigint, peers: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Router_find_route_with_id(this_arg, payer, route_params, first_hops, inflight_htlcs, _payment_hash, _payment_id); + const nativeResponseValue = wasm.TS_MessageRouter_create_blinded_paths(this_arg, recipient, context, peers); return nativeResponseValue; } - // LDKCResult_CVec_BlindedPaymentPathZNoneZ Router_create_blinded_payment_paths LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKCVec_ChannelDetailsZ first_hops, struct LDKReceiveTlvs tlvs, uint64_t amount_msats + // LDKCResult_CVec_BlindedMessagePathZNoneZ MessageRouter_create_compact_blinded_paths LDKMessageRouter *NONNULL_PTR this_arg, struct LDKPublicKey recipient, struct LDKMessageContext context, struct LDKCVec_MessageForwardNodeZ peers /* @internal */ -export function Router_create_blinded_payment_paths(this_arg: bigint, recipient: number, first_hops: number, tlvs: bigint, amount_msats: bigint): bigint { +export function MessageRouter_create_compact_blinded_paths(this_arg: bigint, recipient: number, context: bigint, peers: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Router_create_blinded_payment_paths(this_arg, recipient, first_hops, tlvs, amount_msats); + const nativeResponseValue = wasm.TS_MessageRouter_create_compact_blinded_paths(this_arg, recipient, context, peers); return nativeResponseValue; } // struct LDKThirtyTwoBytes C2Tuple_ThirtyTwoBytesChannelManagerZ_get_a(LDKC2Tuple_ThirtyTwoBytesChannelManagerZ *NONNULL_PTR owner); @@ -6626,6 +6855,24 @@ export function C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ_get_b(owner: bigi } const nativeResponseValue = wasm.TS_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ_get_b(owner); return nativeResponseValue; +} + // bool C2Tuple_boolboolZ_get_a(LDKC2Tuple_boolboolZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_boolboolZ_get_a(owner: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_get_a(owner); + return nativeResponseValue; +} + // bool C2Tuple_boolboolZ_get_b(LDKC2Tuple_boolboolZ *NONNULL_PTR owner); +/* @internal */ +export function C2Tuple_boolboolZ_get_b(owner: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_get_b(owner); + return nativeResponseValue; } /* @internal */ export class LDKBalance { @@ -7268,6 +7515,51 @@ export function CResult_CVec_StrZIOErrorZ_get_err(owner: bigint): IOError { } const nativeResponseValue = wasm.TS_CResult_CVec_StrZIOErrorZ_get_err(owner); return nativeResponseValue; +} + // struct LDKStr C3Tuple_StrStrStrZ_get_a(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner); +/* @internal */ +export function C3Tuple_StrStrStrZ_get_a(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_get_a(owner); + return nativeResponseValue; +} + // struct LDKStr C3Tuple_StrStrStrZ_get_b(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner); +/* @internal */ +export function C3Tuple_StrStrStrZ_get_b(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_get_b(owner); + return nativeResponseValue; +} + // struct LDKStr C3Tuple_StrStrStrZ_get_c(LDKC3Tuple_StrStrStrZ *NONNULL_PTR owner); +/* @internal */ +export function C3Tuple_StrStrStrZ_get_c(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_get_c(owner); + return nativeResponseValue; +} + // struct LDKCVec_C3Tuple_StrStrStrZZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(owner: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(owner); + return nativeResponseValue; +} + // enum LDKIOError CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(owner: bigint): IOError { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(owner); + return nativeResponseValue; } // struct LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ CResult_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ_get_ok(LDKCResult_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ *NONNULL_PTR owner); /* @internal */ @@ -7305,22 +7597,40 @@ export function CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_get_err(ow const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_get_err(owner); return nativeResponseValue; } - // struct LDKUnsignedInvoiceRequest CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner); + // struct LDKMonitorName CResult_MonitorNameIOErrorZ_get_ok(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_MonitorNameIOErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_get_ok(owner); + return nativeResponseValue; +} + // enum LDKIOError CResult_MonitorNameIOErrorZ_get_err(LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_MonitorNameIOErrorZ_get_err(owner: bigint): IOError { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKUpdateName CResult_UpdateNameIOErrorZ_get_ok(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(owner: bigint): bigint { +export function CResult_UpdateNameIOErrorZ_get_ok(owner: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(owner); + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_get_ok(owner); return nativeResponseValue; } - // enum LDKBolt12SemanticError CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner); + // enum LDKIOError CResult_UpdateNameIOErrorZ_get_err(LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR owner); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(owner: bigint): Bolt12SemanticError { +export function CResult_UpdateNameIOErrorZ_get_err(owner: bigint): IOError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(owner); + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_get_err(owner); return nativeResponseValue; } // struct LDKInvoiceRequest CResult_InvoiceRequestBolt12SemanticErrorZ_get_ok(LDKCResult_InvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR owner); @@ -7394,6 +7704,24 @@ export function CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErro } const nativeResponseValue = wasm.TS_CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(owner); return nativeResponseValue; +} + // struct LDKInvoiceRequest CResult_InvoiceRequestDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_InvoiceRequestDecodeErrorZ_get_err(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_get_err(owner); + return nativeResponseValue; } // struct LDKInvoiceRequestFields CResult_InvoiceRequestFieldsDecodeErrorZ_get_ok(LDKCResult_InvoiceRequestFieldsDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -9412,6 +9740,26 @@ export function LDKCOption_U128Z_Some_get_some(ptr: bigint): number { return nativeResponseValue; } /* @internal */ +export class LDKInboundChannelFunds { + protected constructor() {} +} +/* @internal */ +export function LDKInboundChannelFunds_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKInboundChannelFunds_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKInboundChannelFunds_PushMsat_get_push_msat(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKInboundChannelFunds_PushMsat_get_push_msat(ptr); + return nativeResponseValue; +} +/* @internal */ export class LDKBumpTransactionEvent { protected constructor() {} } @@ -9700,6 +10048,14 @@ export function LDKEvent_PaymentClaimable_get_claim_deadline(ptr: bigint): bigin return nativeResponseValue; } /* @internal */ +export function LDKEvent_PaymentClaimable_get_payment_id(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKEvent_PaymentClaimable_get_payment_id(ptr); + return nativeResponseValue; +} +/* @internal */ export function LDKEvent_PaymentClaimed_get_receiver_node_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -9756,6 +10112,14 @@ export function LDKEvent_PaymentClaimed_get_onion_fields(ptr: bigint): bigint { return nativeResponseValue; } /* @internal */ +export function LDKEvent_PaymentClaimed_get_payment_id(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKEvent_PaymentClaimed_get_payment_id(ptr); + return nativeResponseValue; +} +/* @internal */ export function LDKEvent_ConnectionNeeded_get_node_id(ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -10084,6 +10448,22 @@ export function LDKEvent_PaymentForwarded_get_next_user_channel_id(ptr: bigint): return nativeResponseValue; } /* @internal */ +export function LDKEvent_PaymentForwarded_get_prev_node_id(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKEvent_PaymentForwarded_get_prev_node_id(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKEvent_PaymentForwarded_get_next_node_id(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKEvent_PaymentForwarded_get_next_node_id(ptr); + return nativeResponseValue; +} +/* @internal */ export function LDKEvent_PaymentForwarded_get_total_fee_earned_msat(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -10244,6 +10624,14 @@ export function LDKEvent_ChannelClosed_get_channel_funding_txo(ptr: bigint): big return nativeResponseValue; } /* @internal */ +export function LDKEvent_ChannelClosed_get_last_local_balance_msat(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKEvent_ChannelClosed_get_last_local_balance_msat(ptr); + return nativeResponseValue; +} +/* @internal */ export function LDKEvent_DiscardFunding_get_channel_id(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -10284,11 +10672,11 @@ export function LDKEvent_OpenChannelRequest_get_funding_satoshis(ptr: bigint): b return nativeResponseValue; } /* @internal */ -export function LDKEvent_OpenChannelRequest_get_push_msat(ptr: bigint): bigint { +export function LDKEvent_OpenChannelRequest_get_channel_negotiation_type(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_LDKEvent_OpenChannelRequest_get_push_msat(ptr); + const nativeResponseValue = wasm.TS_LDKEvent_OpenChannelRequest_get_channel_negotiation_type(ptr); return nativeResponseValue; } /* @internal */ @@ -10418,58 +10806,6 @@ export function CResult_NonceDecodeErrorZ_get_err(owner: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_NonceDecodeErrorZ_get_err(owner); return nativeResponseValue; -} -/* @internal */ -export class LDKBolt11ParseError { - protected constructor() {} -} -/* @internal */ -export function LDKBolt11ParseError_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt11ParseError_Bech32Error_get_bech32_error(ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_Bech32Error_get_bech32_error(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt11ParseError_ParseAmountError_get_parse_amount_error(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_ParseAmountError_get_parse_amount_error(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt11ParseError_MalformedSignature_get_malformed_signature(ptr: bigint): Secp256k1Error { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_MalformedSignature_get_malformed_signature(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length(ptr); - return nativeResponseValue; } // enum LDKSiPrefix CResult_SiPrefixBolt11ParseErrorZ_get_ok(LDKCResult_SiPrefixBolt11ParseErrorZ *NONNULL_PTR owner); /* @internal */ @@ -10813,6 +11149,132 @@ export function CResult_ChannelIdDecodeErrorZ_get_err(owner: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_ChannelIdDecodeErrorZ_get_err(owner); return nativeResponseValue; +} + // struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKBolt11InvoiceFeatures CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKBolt12InvoiceFeatures CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKBlindedHopFeatures CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_BlindedHopFeaturesDecodeErrorZ_get_err(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner); + return nativeResponseValue; } // struct LDKThirtyTwoBytes C2Tuple__u832u16Z_get_a(LDKC2Tuple__u832u16Z *NONNULL_PTR owner); /* @internal */ @@ -10921,24 +11383,6 @@ export function CResult_PaymentContextDecodeErrorZ_get_err(owner: bigint): bigin } const nativeResponseValue = wasm.TS_CResult_PaymentContextDecodeErrorZ_get_err(owner); return nativeResponseValue; -} - // struct LDKUnknownPaymentContext CResult_UnknownPaymentContextDecodeErrorZ_get_ok(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKDecodeError CResult_UnknownPaymentContextDecodeErrorZ_get_err(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_get_err(owner); - return nativeResponseValue; } // struct LDKBolt12OfferContext CResult_Bolt12OfferContextDecodeErrorZ_get_ok(LDKCResult_Bolt12OfferContextDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -11136,6 +11580,14 @@ export function LDKParsedOnionMessageContents_Offers_get_offers(ptr: bigint): bi return nativeResponseValue; } /* @internal */ +export function LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver(ptr); + return nativeResponseValue; +} +/* @internal */ export function LDKParsedOnionMessageContents_Custom_get_custom(ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); @@ -11286,44 +11738,6 @@ export function CResult_BlindedHopDecodeErrorZ_get_err(owner: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_BlindedHopDecodeErrorZ_get_err(owner); return nativeResponseValue; -} -/* @internal */ -export class LDKSignOrCreationError { - protected constructor() {} -} -/* @internal */ -export function LDKSignOrCreationError_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKSignOrCreationError_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKSignOrCreationError_CreationError_get_creation_error(ptr: bigint): CreationError { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKSignOrCreationError_CreationError_get_creation_error(ptr); - return nativeResponseValue; -} - // struct LDKBolt11Invoice CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_ok(owner); - return nativeResponseValue; -} - // struct LDKSignOrCreationError CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR owner); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_get_err(owner); - return nativeResponseValue; } // struct LDKInvoiceError CResult_InvoiceErrorDecodeErrorZ_get_ok(LDKCResult_InvoiceErrorDecodeErrorZ *NONNULL_PTR owner); /* @internal */ @@ -11914,6 +12328,68 @@ export function CResult_OffersContextDecodeErrorZ_get_err(owner: bigint): bigint } const nativeResponseValue = wasm.TS_CResult_OffersContextDecodeErrorZ_get_err(owner); return nativeResponseValue; +} + // struct LDKAsyncPaymentsContext CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_AsyncPaymentsContextDecodeErrorZ_get_err(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} + // struct LDKDNSResolverContext CResult_DNSResolverContextDecodeErrorZ_get_ok(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_get_ok(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_get_ok(owner); + return nativeResponseValue; +} + // struct LDKDecodeError CResult_DNSResolverContextDecodeErrorZ_get_err(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR owner); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_get_err(owner: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_get_err(owner); + return nativeResponseValue; +} +/* @internal */ +export interface LDKMigratableKVStore { + list_all_keys (): bigint; +} + +/* @internal */ +export function LDKMigratableKVStore_new(impl: LDKMigratableKVStore, KVStore: number): [bigint, number] { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + var new_obj_idx = js_objs.length; + for (var i = 0; i < js_objs.length; i++) { + if (js_objs[i] == null || js_objs[i] == undefined) { new_obj_idx = i; break; } + } + js_objs[i] = new WeakRef(impl); + return [wasm.TS_LDKMigratableKVStore_new(i, KVStore), i]; +} + // LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ MigratableKVStore_list_all_keys LDKMigratableKVStore *NONNULL_PTR this_arg +/* @internal */ +export function MigratableKVStore_list_all_keys(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MigratableKVStore_list_all_keys(this_arg); + return nativeResponseValue; } /* @internal */ export class LDKCandidateRouteHop { @@ -12422,6 +12898,42 @@ export function EventsProvider_process_pending_events(this_arg: bigint, handler: // debug statements here } /* @internal */ +export interface LDKVerification { + hmac_for_offer_payment (nonce: bigint, expanded_key: bigint): number; + verify_for_offer_payment (hmac: number, nonce: bigint, expanded_key: bigint): bigint; +} + +/* @internal */ +export function LDKVerification_new(impl: LDKVerification): [bigint, number] { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + var new_obj_idx = js_objs.length; + for (var i = 0; i < js_objs.length; i++) { + if (js_objs[i] == null || js_objs[i] == undefined) { new_obj_idx = i; break; } + } + js_objs[i] = new WeakRef(impl); + return [wasm.TS_LDKVerification_new(i), i]; +} + // LDKThirtyTwoBytes Verification_hmac_for_offer_payment LDKVerification *NONNULL_PTR this_arg, struct LDKNonce nonce, const struct LDKExpandedKey *NONNULL_PTR expanded_key +/* @internal */ +export function Verification_hmac_for_offer_payment(this_arg: bigint, nonce: bigint, expanded_key: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Verification_hmac_for_offer_payment(this_arg, nonce, expanded_key); + return nativeResponseValue; +} + // LDKCResult_NoneNoneZ Verification_verify_for_offer_payment LDKVerification *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes hmac, struct LDKNonce nonce, const struct LDKExpandedKey *NONNULL_PTR expanded_key +/* @internal */ +export function Verification_verify_for_offer_payment(this_arg: bigint, hmac: number, nonce: bigint, expanded_key: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Verification_verify_for_offer_payment(this_arg, hmac, nonce, expanded_key); + return nativeResponseValue; +} +/* @internal */ export class LDKFailureCode { protected constructor() {} } @@ -12442,6 +12954,34 @@ export function LDKFailureCode_InvalidOnionPayload_get_invalid_onion_payload(ptr return nativeResponseValue; } /* @internal */ +export class LDKBolt11InvoiceDescription { + protected constructor() {} +} +/* @internal */ +export function LDKBolt11InvoiceDescription_ty_from_ptr(ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKBolt11InvoiceDescription_ty_from_ptr(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKBolt11InvoiceDescription_Direct_get_direct(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKBolt11InvoiceDescription_Direct_get_direct(ptr); + return nativeResponseValue; +} +/* @internal */ +export function LDKBolt11InvoiceDescription_Hash_get_hash(ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_LDKBolt11InvoiceDescription_Hash_get_hash(ptr); + return nativeResponseValue; +} +/* @internal */ export interface LDKMessageSendEventsProvider { get_and_clear_pending_msg_events (): number; } @@ -12504,6 +13044,7 @@ export interface LDKChannelMessageHandler { provided_node_features (): bigint; provided_init_features (their_node_id: number): bigint; get_chain_hashes (): bigint; + message_received (): void; } /* @internal */ @@ -12832,6 +13373,15 @@ export function ChannelMessageHandler_get_chain_hashes(this_arg: bigint): bigint } const nativeResponseValue = wasm.TS_ChannelMessageHandler_get_chain_hashes(this_arg); return nativeResponseValue; +} + // void ChannelMessageHandler_message_received LDKChannelMessageHandler *NONNULL_PTR this_arg +/* @internal */ +export function ChannelMessageHandler_message_received(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelMessageHandler_message_received(this_arg); + // debug statements here } /* @internal */ export interface LDKOffersMessageHandler { @@ -12871,8 +13421,8 @@ export function OffersMessageHandler_release_pending_messages(this_arg: bigint): } /* @internal */ export interface LDKAsyncPaymentsMessageHandler { - held_htlc_available (message: bigint, responder: bigint): bigint; - release_held_htlc (message: bigint): void; + handle_held_htlc_available (message: bigint, responder: bigint): bigint; + handle_release_held_htlc (message: bigint, context: bigint): void; release_pending_messages (): number; } @@ -12888,22 +13438,22 @@ export function LDKAsyncPaymentsMessageHandler_new(impl: LDKAsyncPaymentsMessage js_objs[i] = new WeakRef(impl); return [wasm.TS_LDKAsyncPaymentsMessageHandler_new(i), i]; } - // LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ AsyncPaymentsMessageHandler_held_htlc_available LDKAsyncPaymentsMessageHandler *NONNULL_PTR this_arg, struct LDKHeldHtlcAvailable message, struct LDKResponder responder + // LDKCOption_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ AsyncPaymentsMessageHandler_handle_held_htlc_available LDKAsyncPaymentsMessageHandler *NONNULL_PTR this_arg, struct LDKHeldHtlcAvailable message, struct LDKResponder responder /* @internal */ -export function AsyncPaymentsMessageHandler_held_htlc_available(this_arg: bigint, message: bigint, responder: bigint): bigint { +export function AsyncPaymentsMessageHandler_handle_held_htlc_available(this_arg: bigint, message: bigint, responder: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_AsyncPaymentsMessageHandler_held_htlc_available(this_arg, message, responder); + const nativeResponseValue = wasm.TS_AsyncPaymentsMessageHandler_handle_held_htlc_available(this_arg, message, responder); return nativeResponseValue; } - // void AsyncPaymentsMessageHandler_release_held_htlc LDKAsyncPaymentsMessageHandler *NONNULL_PTR this_arg, struct LDKReleaseHeldHtlc message + // void AsyncPaymentsMessageHandler_handle_release_held_htlc LDKAsyncPaymentsMessageHandler *NONNULL_PTR this_arg, struct LDKReleaseHeldHtlc message, struct LDKAsyncPaymentsContext context /* @internal */ -export function AsyncPaymentsMessageHandler_release_held_htlc(this_arg: bigint, message: bigint): void { +export function AsyncPaymentsMessageHandler_handle_release_held_htlc(this_arg: bigint, message: bigint, context: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_AsyncPaymentsMessageHandler_release_held_htlc(this_arg, message); + const nativeResponseValue = wasm.TS_AsyncPaymentsMessageHandler_handle_release_held_htlc(this_arg, message, context); // debug statements here } // LDKCVec_C2Tuple_AsyncPaymentsMessageMessageSendInstructionsZZ AsyncPaymentsMessageHandler_release_pending_messages LDKAsyncPaymentsMessageHandler *NONNULL_PTR this_arg @@ -12916,6 +13466,62 @@ export function AsyncPaymentsMessageHandler_release_pending_messages(this_arg: b return nativeResponseValue; } /* @internal */ +export interface LDKDNSResolverMessageHandler { + handle_dnssec_query (message: bigint, responder: bigint): bigint; + handle_dnssec_proof (message: bigint, context: bigint): void; + provided_node_features (): bigint; + release_pending_messages (): number; +} + +/* @internal */ +export function LDKDNSResolverMessageHandler_new(impl: LDKDNSResolverMessageHandler): [bigint, number] { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + var new_obj_idx = js_objs.length; + for (var i = 0; i < js_objs.length; i++) { + if (js_objs[i] == null || js_objs[i] == undefined) { new_obj_idx = i; break; } + } + js_objs[i] = new WeakRef(impl); + return [wasm.TS_LDKDNSResolverMessageHandler_new(i), i]; +} + // LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ DNSResolverMessageHandler_handle_dnssec_query LDKDNSResolverMessageHandler *NONNULL_PTR this_arg, struct LDKDNSSECQuery message, struct LDKResponder responder +/* @internal */ +export function DNSResolverMessageHandler_handle_dnssec_query(this_arg: bigint, message: bigint, responder: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessageHandler_handle_dnssec_query(this_arg, message, responder); + return nativeResponseValue; +} + // void DNSResolverMessageHandler_handle_dnssec_proof LDKDNSResolverMessageHandler *NONNULL_PTR this_arg, struct LDKDNSSECProof message, struct LDKDNSResolverContext context +/* @internal */ +export function DNSResolverMessageHandler_handle_dnssec_proof(this_arg: bigint, message: bigint, context: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessageHandler_handle_dnssec_proof(this_arg, message, context); + // debug statements here +} + // LDKNodeFeatures DNSResolverMessageHandler_provided_node_features LDKDNSResolverMessageHandler *NONNULL_PTR this_arg +/* @internal */ +export function DNSResolverMessageHandler_provided_node_features(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessageHandler_provided_node_features(this_arg); + return nativeResponseValue; +} + // LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ DNSResolverMessageHandler_release_pending_messages LDKDNSResolverMessageHandler *NONNULL_PTR this_arg +/* @internal */ +export function DNSResolverMessageHandler_release_pending_messages(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessageHandler_release_pending_messages(this_arg); + return nativeResponseValue; +} +/* @internal */ export interface LDKNodeIdLookUp { next_node_id (short_channel_id: bigint): number; } @@ -12943,9 +13549,9 @@ export function NodeIdLookUp_next_node_id(this_arg: bigint, short_channel_id: bi } /* @internal */ export interface LDKRoutingMessageHandler { - handle_node_announcement (msg: bigint): bigint; - handle_channel_announcement (msg: bigint): bigint; - handle_channel_update (msg: bigint): bigint; + handle_node_announcement (their_node_id: number, msg: bigint): bigint; + handle_channel_announcement (their_node_id: number, msg: bigint): bigint; + handle_channel_update (their_node_id: number, msg: bigint): bigint; get_next_channel_announcement (starting_point: bigint): bigint; get_next_node_announcement (starting_point: bigint): bigint; peer_connected (their_node_id: number, init: bigint, inbound: boolean): bigint; @@ -12970,31 +13576,31 @@ export function LDKRoutingMessageHandler_new(impl: LDKRoutingMessageHandler, Mes js_objs[i] = new WeakRef(impl); return [wasm.TS_LDKRoutingMessageHandler_new(i, MessageSendEventsProvider), i]; } - // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_node_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKNodeAnnouncement *NONNULL_PTR msg + // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_node_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKNodeAnnouncement *NONNULL_PTR msg /* @internal */ -export function RoutingMessageHandler_handle_node_announcement(this_arg: bigint, msg: bigint): bigint { +export function RoutingMessageHandler_handle_node_announcement(this_arg: bigint, their_node_id: number, msg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_node_announcement(this_arg, msg); + const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_node_announcement(this_arg, their_node_id, msg); return nativeResponseValue; } - // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKChannelAnnouncement *NONNULL_PTR msg + // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelAnnouncement *NONNULL_PTR msg /* @internal */ -export function RoutingMessageHandler_handle_channel_announcement(this_arg: bigint, msg: bigint): bigint { +export function RoutingMessageHandler_handle_channel_announcement(this_arg: bigint, their_node_id: number, msg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_channel_announcement(this_arg, msg); + const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_channel_announcement(this_arg, their_node_id, msg); return nativeResponseValue; } - // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_update LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKChannelUpdate *NONNULL_PTR msg + // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_update LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelUpdate *NONNULL_PTR msg /* @internal */ -export function RoutingMessageHandler_handle_channel_update(this_arg: bigint, msg: bigint): bigint { +export function RoutingMessageHandler_handle_channel_update(this_arg: bigint, their_node_id: number, msg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_channel_update(this_arg, msg); + const nativeResponseValue = wasm.TS_RoutingMessageHandler_handle_channel_update(this_arg, their_node_id, msg); return nativeResponseValue; } // LDKCOption_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ RoutingMessageHandler_get_next_channel_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, uint64_t starting_point @@ -13369,26 +13975,6 @@ export function SocketDescriptor_hash(this_arg: bigint): bigint { return nativeResponseValue; } /* @internal */ -export class LDKBolt12PaymentError { - protected constructor() {} -} -/* @internal */ -export function LDKBolt12PaymentError_ty_from_ptr(ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt12PaymentError_ty_from_ptr(ptr); - return nativeResponseValue; -} -/* @internal */ -export function LDKBolt12PaymentError_SendingFailed_get_sending_failed(ptr: bigint): RetryableSendFailure { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_LDKBolt12PaymentError_SendingFailed_get_sending_failed(ptr); - return nativeResponseValue; -} -/* @internal */ export interface LDKSignBolt12InvoiceFn { sign_invoice (message: bigint): bigint; } @@ -14408,78 +14994,6 @@ export function CResult_RetryDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_RetryDecodeErrorZ_clone(orig); return nativeResponseValue; -} - // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_ok(void); -/* @internal */ -export function CResult_NoneAPIErrorZ_ok(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_ok(); - return nativeResponseValue; -} - // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_err(struct LDKAPIError e); -/* @internal */ -export function CResult_NoneAPIErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_NoneAPIErrorZ_is_ok(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_NoneAPIErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_NoneAPIErrorZ_free(struct LDKCResult_NoneAPIErrorZ _res); -/* @internal */ -export function CResult_NoneAPIErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_NoneAPIErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_clone(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_NoneAPIErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_clone(orig); - return nativeResponseValue; -} - // void CVec_CResult_NoneAPIErrorZZ_free(struct LDKCVec_CResult_NoneAPIErrorZZ _res); -/* @internal */ -export function CVec_CResult_NoneAPIErrorZZ_free(_res: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CVec_CResult_NoneAPIErrorZZ_free(_res); - // debug statements here -} - // void CVec_APIErrorZ_free(struct LDKCVec_APIErrorZ _res); -/* @internal */ -export function CVec_APIErrorZ_free(_res: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CVec_APIErrorZ_free(_res); - // debug statements here } // struct LDKCOption_ThirtyTwoBytesZ COption_ThirtyTwoBytesZ_some(struct LDKThirtyTwoBytes o); /* @internal */ @@ -14723,6 +15237,591 @@ export function CResult_RecipientOnionFieldsNoneZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_RecipientOnionFieldsNoneZ_clone(orig); return nativeResponseValue; +} + // uint64_t C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSResolverMessageResponseInstructionZ C2Tuple_DNSResolverMessageResponseInstructionZ_clone(const struct LDKC2Tuple_DNSResolverMessageResponseInstructionZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSResolverMessageResponseInstructionZ C2Tuple_DNSResolverMessageResponseInstructionZ_new(struct LDKDNSResolverMessage a, struct LDKResponseInstruction b); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_new(a: bigint, b: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_DNSResolverMessageResponseInstructionZ_free(struct LDKC2Tuple_DNSResolverMessageResponseInstructionZ _res); +/* @internal */ +export function C2Tuple_DNSResolverMessageResponseInstructionZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageResponseInstructionZ_free(_res); + // debug statements here +} + // struct LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(struct LDKC2Tuple_DNSResolverMessageResponseInstructionZ o); +/* @internal */ +export function COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(o); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(void); +/* @internal */ +export function COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(); + return nativeResponseValue; +} + // void COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(struct LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ _res); +/* @internal */ +export function COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free(_res); + // debug statements here +} + // uint64_t COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *NONNULL_PTR arg); +/* @internal */ +export function COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(const struct LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ *NONNULL_PTR orig); +/* @internal */ +export function COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(orig); + return nativeResponseValue; +} + // uint64_t C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(const struct LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(struct LDKDNSResolverMessage a, struct LDKMessageSendInstructions b); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(a: bigint, b: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(struct LDKC2Tuple_DNSResolverMessageMessageSendInstructionsZ _res); +/* @internal */ +export function C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free(_res); + // debug statements here +} + // void CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(struct LDKCVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ _res); +/* @internal */ +export function CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_C2Tuple_DNSResolverMessageMessageSendInstructionsZZ_free(_res); + // debug statements here +} + // struct LDKCResult_DNSResolverMessageDecodeErrorZ CResult_DNSResolverMessageDecodeErrorZ_ok(struct LDKDNSResolverMessage o); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverMessageDecodeErrorZ CResult_DNSResolverMessageDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_DNSResolverMessageDecodeErrorZ_is_ok(const struct LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_DNSResolverMessageDecodeErrorZ_free(struct LDKCResult_DNSResolverMessageDecodeErrorZ _res); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverMessageDecodeErrorZ CResult_DNSResolverMessageDecodeErrorZ_clone(const struct LDKCResult_DNSResolverMessageDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_DNSResolverMessageDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverMessageDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameNoneZ CResult_HumanReadableNameNoneZ_ok(struct LDKHumanReadableName o); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameNoneZ CResult_HumanReadableNameNoneZ_err(void); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_err(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_err(); + return nativeResponseValue; +} + // bool CResult_HumanReadableNameNoneZ_is_ok(const struct LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR o); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_HumanReadableNameNoneZ_free(struct LDKCResult_HumanReadableNameNoneZ _res); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_free(_res); + // debug statements here +} + // uint64_t CResult_HumanReadableNameNoneZ_clone_ptr(LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameNoneZ CResult_HumanReadableNameNoneZ_clone(const struct LDKCResult_HumanReadableNameNoneZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_HumanReadableNameNoneZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameNoneZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameDecodeErrorZ CResult_HumanReadableNameDecodeErrorZ_ok(struct LDKHumanReadableName o); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameDecodeErrorZ CResult_HumanReadableNameDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_HumanReadableNameDecodeErrorZ_is_ok(const struct LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_HumanReadableNameDecodeErrorZ_free(struct LDKCResult_HumanReadableNameDecodeErrorZ _res); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_HumanReadableNameDecodeErrorZ_clone_ptr(LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameDecodeErrorZ CResult_HumanReadableNameDecodeErrorZ_clone(const struct LDKCResult_HumanReadableNameDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_HumanReadableNameDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_HumanReadableNameDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // uint64_t C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ C2Tuple_DNSSECQueryDNSResolverContextZ_clone(const struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ C2Tuple_DNSSECQueryDNSResolverContextZ_new(struct LDKDNSSECQuery a, struct LDKDNSResolverContext b); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_new(a: bigint, b: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_DNSSECQueryDNSResolverContextZ_free(struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ _res); +/* @internal */ +export function C2Tuple_DNSSECQueryDNSResolverContextZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_DNSSECQueryDNSResolverContextZ_free(_res); + // debug statements here +} + // struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(struct LDKC2Tuple_DNSSECQueryDNSResolverContextZ o); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(void); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(); + return nativeResponseValue; +} + // bool CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(const struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR o); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ _res); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free(_res); + // debug statements here +} + // uint64_t CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(const struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(orig); + return nativeResponseValue; +} + // uint64_t C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(const struct LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(struct LDKHumanReadableName a, struct LDKThirtyTwoBytes b); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(a: bigint, b: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(struct LDKC2Tuple_HumanReadableNameThirtyTwoBytesZ _res); +/* @internal */ +export function C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_HumanReadableNameThirtyTwoBytesZ_free(_res); + // debug statements here +} + // void CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ _res); +/* @internal */ +export function CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ_free(_res); + // debug statements here +} + // uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(const struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a, struct LDKOffer b); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(a: number, b: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ _res); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free(_res); + // debug statements here +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ o); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(o); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(void); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(); + return nativeResponseValue; +} + // void COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ _res); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free(_res); + // debug statements here +} + // uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *NONNULL_PTR arg); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(const struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ *NONNULL_PTR orig); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(orig); + return nativeResponseValue; +} + // uint64_t C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(const struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(struct LDKCVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZ a, struct LDKStr b); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(a: number, b: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ _res); +/* @internal */ +export function C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free(_res); + // debug statements here +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(struct LDKC2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ o); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(o); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(void); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(); + return nativeResponseValue; +} + // void COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ _res); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free(_res); + // debug statements here +} + // uint64_t COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *NONNULL_PTR arg); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(const struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ *NONNULL_PTR orig); +/* @internal */ +export function COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(orig); + return nativeResponseValue; } // struct LDKCResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ CResult_UnsignedBolt12InvoiceBolt12SemanticErrorZ_ok(struct LDKUnsignedBolt12Invoice o); /* @internal */ @@ -14885,6 +15984,15 @@ export function CResult_SchnorrSignatureNoneZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_SchnorrSignatureNoneZ_clone(orig); return nativeResponseValue; +} + // void CVec_BlindedPaymentPathZ_free(struct LDKCVec_BlindedPaymentPathZ _res); +/* @internal */ +export function CVec_BlindedPaymentPathZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_BlindedPaymentPathZ_free(_res); + // debug statements here } // void CVec_StrZ_free(struct LDKCVec_StrZ _res); /* @internal */ @@ -16550,15 +17658,6 @@ export function CResult_RouteLightningErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_RouteLightningErrorZ_clone(orig); return nativeResponseValue; -} - // void CVec_BlindedPaymentPathZ_free(struct LDKCVec_BlindedPaymentPathZ _res); -/* @internal */ -export function CVec_BlindedPaymentPathZ_free(_res: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CVec_BlindedPaymentPathZ_free(_res); - // debug statements here } // struct LDKCResult_CVec_BlindedPaymentPathZNoneZ CResult_CVec_BlindedPaymentPathZNoneZ_ok(struct LDKCVec_BlindedPaymentPathZ o); /* @internal */ @@ -16613,132 +17712,6 @@ export function CResult_CVec_BlindedPaymentPathZNoneZ_clone(orig: bigint): bigin } const nativeResponseValue = wasm.TS_CResult_CVec_BlindedPaymentPathZNoneZ_clone(orig); return nativeResponseValue; -} - // void CVec_PublicKeyZ_free(struct LDKCVec_PublicKeyZ _res); -/* @internal */ -export function CVec_PublicKeyZ_free(_res: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CVec_PublicKeyZ_free(_res); - // debug statements here -} - // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_ok(struct LDKOnionMessagePath o); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_err(void); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_err(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_err(); - return nativeResponseValue; -} - // bool CResult_OnionMessagePathNoneZ_is_ok(const struct LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR o); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_OnionMessagePathNoneZ_free(struct LDKCResult_OnionMessagePathNoneZ _res); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_free(_res); - // debug statements here -} - // uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_clone(const struct LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_OnionMessagePathNoneZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_ok(struct LDKCVec_BlindedMessagePathZ o); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_ok(o: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_err(void); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_err(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_err(); - return nativeResponseValue; -} - // bool CResult_CVec_BlindedMessagePathZNoneZ_is_ok(const struct LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR o); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_CVec_BlindedMessagePathZNoneZ_free(struct LDKCResult_CVec_BlindedMessagePathZNoneZ _res); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_free(_res); - // debug statements here -} - // uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_clone(const struct LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_CVec_BlindedMessagePathZNoneZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(orig); - return nativeResponseValue; -} - // void CVec_MessageForwardNodeZ_free(struct LDKCVec_MessageForwardNodeZ _res); -/* @internal */ -export function CVec_MessageForwardNodeZ_free(_res: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CVec_MessageForwardNodeZ_free(_res); - // debug statements here } // struct LDKCResult_InFlightHtlcsDecodeErrorZ CResult_InFlightHtlcsDecodeErrorZ_ok(struct LDKInFlightHtlcs o); /* @internal */ @@ -17216,6 +18189,15 @@ export function CResult_RouteHintHopDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_RouteHintHopDecodeErrorZ_clone(orig); return nativeResponseValue; +} + // void CVec_PublicKeyZ_free(struct LDKCVec_PublicKeyZ _res); +/* @internal */ +export function CVec_PublicKeyZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_PublicKeyZ_free(_res); + // debug statements here } // struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_ok(struct LDKFixedPenaltyScorer o); /* @internal */ @@ -17757,959 +18739,545 @@ export function CVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ_free const nativeResponseValue = wasm.TS_CVec_C4Tuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZZ_free(_res); // debug statements here } - // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_ok(struct LDKInitFeatures o); + // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_ok(struct LDKOfferId o); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_OfferIdDecodeErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_err(struct LDKDecodeError e); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_OfferIdDecodeErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_err(e); return nativeResponseValue; } - // bool CResult_InitFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_OfferIdDecodeErrorZ_is_ok(const struct LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_OfferIdDecodeErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_InitFeaturesDecodeErrorZ_free(struct LDKCResult_InitFeaturesDecodeErrorZ _res); + // void CResult_OfferIdDecodeErrorZ_free(struct LDKCResult_OfferIdDecodeErrorZ _res); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_OfferIdDecodeErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_free(_res); // debug statements here } - // uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_OfferIdDecodeErrorZ_clone_ptr(LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_OfferIdDecodeErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_clone(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_clone(const struct LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_InitFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_OfferIdDecodeErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_ok(struct LDKChannelFeatures o); + // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_ok(void); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_NoneBolt12SemanticErrorZ_ok(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_ok(); return nativeResponseValue; } - // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_NoneBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_err(e); return nativeResponseValue; } - // bool CResult_ChannelFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_NoneBolt12SemanticErrorZ_is_ok(const struct LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_NoneBolt12SemanticErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_ChannelFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelFeaturesDecodeErrorZ _res); + // void CResult_NoneBolt12SemanticErrorZ_free(struct LDKCResult_NoneBolt12SemanticErrorZ _res); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_NoneBolt12SemanticErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_free(_res); // debug statements here } - // uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_NoneBolt12SemanticErrorZ_clone_ptr(LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_NoneBolt12SemanticErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_clone(const struct LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_ChannelFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_NoneBolt12SemanticErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_ok(struct LDKNodeFeatures o); + // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_ok(struct LDKOffer o); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_OfferBolt12SemanticErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_OfferBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_err(e); return nativeResponseValue; } - // bool CResult_NodeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_OfferBolt12SemanticErrorZ_is_ok(const struct LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_OfferBolt12SemanticErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_NodeFeaturesDecodeErrorZ_free(struct LDKCResult_NodeFeaturesDecodeErrorZ _res); + // void CResult_OfferBolt12SemanticErrorZ_free(struct LDKCResult_OfferBolt12SemanticErrorZ _res); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_OfferBolt12SemanticErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_free(_res); // debug statements here } - // uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_OfferBolt12SemanticErrorZ_clone_ptr(LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_OfferBolt12SemanticErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_clone(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_clone(const struct LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_NodeFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_OfferBolt12SemanticErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(struct LDKBolt11InvoiceFeatures o); + // struct LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder o); /* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); /* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(e); return nativeResponseValue; } - // bool CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(const struct LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res); + // void CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(struct LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ _res); /* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res); // debug statements here } - // uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(const struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(struct LDKBolt12InvoiceFeatures o); + // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_ok(struct LDKOffer o); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_OfferDecodeErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_err(struct LDKDecodeError e); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_OfferDecodeErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_err(e); return nativeResponseValue; } - // bool CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_OfferDecodeErrorZ_is_ok(const struct LDKCResult_OfferDecodeErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_OfferDecodeErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res); + // void CResult_OfferDecodeErrorZ_free(struct LDKCResult_OfferDecodeErrorZ _res); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_OfferDecodeErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_free(_res); // debug statements here } - // uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_OfferDecodeErrorZ_clone_ptr(LDKCResult_OfferDecodeErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_OfferDecodeErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(const struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_clone(const struct LDKCResult_OfferDecodeErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_OfferDecodeErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_ok(struct LDKBlindedHopFeatures o); + // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_ok(struct LDKOffer o); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_OfferBolt12ParseErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_err(struct LDKBolt12ParseError e); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_OfferBolt12ParseErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_err(e); return nativeResponseValue; } - // bool CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_OfferBolt12ParseErrorZ_is_ok(const struct LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_OfferBolt12ParseErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_BlindedHopFeaturesDecodeErrorZ_free(struct LDKCResult_BlindedHopFeaturesDecodeErrorZ _res); + // void CResult_OfferBolt12ParseErrorZ_free(struct LDKCResult_OfferBolt12ParseErrorZ _res); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_OfferBolt12ParseErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_free(_res); // debug statements here } - // uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_OfferBolt12ParseErrorZ_clone_ptr(LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_OfferBolt12ParseErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_clone(const struct LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_clone(const struct LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_OfferBolt12ParseErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_ok(struct LDKChannelTypeFeatures o); + // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_ok(struct LDKNodeId o); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_NodeIdDecodeErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_err(struct LDKDecodeError e); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_err(e: bigint): bigint { +export function CResult_NodeIdDecodeErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_err(e); return nativeResponseValue; } - // bool CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR o); + // bool CResult_NodeIdDecodeErrorZ_is_ok(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_NodeIdDecodeErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_ChannelTypeFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res); + // void CResult_NodeIdDecodeErrorZ_free(struct LDKCResult_NodeIdDecodeErrorZ _res); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res: bigint): void { +export function CResult_NodeIdDecodeErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_free(_res); // debug statements here } - // uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg); + // uint64_t CResult_NodeIdDecodeErrorZ_clone_ptr(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_NodeIdDecodeErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR orig); + // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_clone(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_NodeIdDecodeErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_ok(struct LDKOfferId o); + // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_ok(struct LDKPublicKey o); /* @internal */ -export function CResult_OfferIdDecodeErrorZ_ok(o: bigint): bigint { +export function CResult_PublicKeySecp256k1ErrorZ_ok(o: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_err(struct LDKDecodeError e); + // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_err(enum LDKSecp256k1Error e); /* @internal */ -export function CResult_OfferIdDecodeErrorZ_err(e: bigint): bigint { +export function CResult_PublicKeySecp256k1ErrorZ_err(e: Secp256k1Error): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_err(e); return nativeResponseValue; } - // bool CResult_OfferIdDecodeErrorZ_is_ok(const struct LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR o); + // bool CResult_PublicKeySecp256k1ErrorZ_is_ok(const struct LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_OfferIdDecodeErrorZ_is_ok(o: bigint): boolean { +export function CResult_PublicKeySecp256k1ErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_OfferIdDecodeErrorZ_free(struct LDKCResult_OfferIdDecodeErrorZ _res); + // void CResult_PublicKeySecp256k1ErrorZ_free(struct LDKCResult_PublicKeySecp256k1ErrorZ _res); /* @internal */ -export function CResult_OfferIdDecodeErrorZ_free(_res: bigint): void { +export function CResult_PublicKeySecp256k1ErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_free(_res); // debug statements here } - // uint64_t CResult_OfferIdDecodeErrorZ_clone_ptr(LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_OfferIdDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_OfferIdDecodeErrorZ CResult_OfferIdDecodeErrorZ_clone(const struct LDKCResult_OfferIdDecodeErrorZ *NONNULL_PTR orig); + // uint64_t CResult_PublicKeySecp256k1ErrorZ_clone_ptr(LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_OfferIdDecodeErrorZ_clone(orig: bigint): bigint { +export function CResult_PublicKeySecp256k1ErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferIdDecodeErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_ok(void); + // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_clone(const struct LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_ok(): bigint { +export function CResult_PublicKeySecp256k1ErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_ok(); + const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); + // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_some(struct LDKNetworkUpdate o); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { +export function COption_NetworkUpdateZ_some(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_err(e); + const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_some(o); return nativeResponseValue; } - // bool CResult_NoneBolt12SemanticErrorZ_is_ok(const struct LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR o); + // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_none(void); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_is_ok(o: bigint): boolean { +export function COption_NetworkUpdateZ_none(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_none(); return nativeResponseValue; } - // void CResult_NoneBolt12SemanticErrorZ_free(struct LDKCResult_NoneBolt12SemanticErrorZ _res); + // void COption_NetworkUpdateZ_free(struct LDKCOption_NetworkUpdateZ _res); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_free(_res: bigint): void { +export function COption_NetworkUpdateZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_free(_res); + const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_free(_res); // debug statements here } - // uint64_t CResult_NoneBolt12SemanticErrorZ_clone_ptr(LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR arg); + // uint64_t COption_NetworkUpdateZ_clone_ptr(LDKCOption_NetworkUpdateZ *NONNULL_PTR arg); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_clone_ptr(arg: bigint): bigint { +export function COption_NetworkUpdateZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_NoneBolt12SemanticErrorZ CResult_NoneBolt12SemanticErrorZ_clone(const struct LDKCResult_NoneBolt12SemanticErrorZ *NONNULL_PTR orig); + // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_clone(const struct LDKCOption_NetworkUpdateZ *NONNULL_PTR orig); /* @internal */ -export function CResult_NoneBolt12SemanticErrorZ_clone(orig: bigint): bigint { +export function COption_NetworkUpdateZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NoneBolt12SemanticErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_ok(struct LDKOffer o); + // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_ok(struct LDKCOption_NetworkUpdateZ o); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_ok(o: bigint): bigint { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); + // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_err(struct LDKDecodeError e); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_err(e); return nativeResponseValue; } - // bool CResult_OfferBolt12SemanticErrorZ_is_ok(const struct LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR o); + // bool CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_is_ok(o: bigint): boolean { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_OfferBolt12SemanticErrorZ_free(struct LDKCResult_OfferBolt12SemanticErrorZ _res); + // void CResult_COption_NetworkUpdateZDecodeErrorZ_free(struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ _res); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_free(_res: bigint): void { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res); // debug statements here } - // uint64_t CResult_OfferBolt12SemanticErrorZ_clone_ptr(LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR arg); + // uint64_t CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_OfferBolt12SemanticErrorZ CResult_OfferBolt12SemanticErrorZ_clone(const struct LDKCResult_OfferBolt12SemanticErrorZ *NONNULL_PTR orig); + // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_clone(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_OfferBolt12SemanticErrorZ_clone(orig: bigint): bigint { +export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12SemanticErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(struct LDKInvoiceRequestWithDerivedPayerIdBuilder o); + // struct LDKCOption_UtxoLookupZ COption_UtxoLookupZ_some(struct LDKUtxoLookup o); /* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(o: bigint): bigint { +export function COption_UtxoLookupZ_some(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(o); + const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_some(o); return nativeResponseValue; } - // struct LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); + // struct LDKCOption_UtxoLookupZ COption_UtxoLookupZ_none(void); /* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { +export function COption_UtxoLookupZ_none(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(e); + const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_none(); return nativeResponseValue; } - // bool CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(const struct LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR o); + // void COption_UtxoLookupZ_free(struct LDKCOption_UtxoLookupZ _res); /* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(o: bigint): boolean { +export function COption_UtxoLookupZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(struct LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ _res); -/* @internal */ -export function CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free(_res); - // debug statements here -} - // struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(struct LDKInvoiceRequestWithExplicitPayerIdBuilder o); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(const struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ _res); -/* @internal */ -export function CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free(_res); - // debug statements here -} - // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_ok(struct LDKOffer o); -/* @internal */ -export function CResult_OfferDecodeErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_err(struct LDKDecodeError e); -/* @internal */ -export function CResult_OfferDecodeErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_OfferDecodeErrorZ_is_ok(const struct LDKCResult_OfferDecodeErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_OfferDecodeErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_OfferDecodeErrorZ_free(struct LDKCResult_OfferDecodeErrorZ _res); -/* @internal */ -export function CResult_OfferDecodeErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_OfferDecodeErrorZ_clone_ptr(LDKCResult_OfferDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_OfferDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_OfferDecodeErrorZ CResult_OfferDecodeErrorZ_clone(const struct LDKCResult_OfferDecodeErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_OfferDecodeErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferDecodeErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_ok(struct LDKOffer o); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_err(struct LDKBolt12ParseError e); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_OfferBolt12ParseErrorZ_is_ok(const struct LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_OfferBolt12ParseErrorZ_free(struct LDKCResult_OfferBolt12ParseErrorZ _res); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_OfferBolt12ParseErrorZ_clone_ptr(LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_OfferBolt12ParseErrorZ CResult_OfferBolt12ParseErrorZ_clone(const struct LDKCResult_OfferBolt12ParseErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_OfferBolt12ParseErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_OfferBolt12ParseErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_ok(struct LDKNodeId o); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_err(struct LDKDecodeError e); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_NodeIdDecodeErrorZ_is_ok(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_NodeIdDecodeErrorZ_free(struct LDKCResult_NodeIdDecodeErrorZ _res); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_NodeIdDecodeErrorZ_clone_ptr(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_clone(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_NodeIdDecodeErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_ok(struct LDKPublicKey o); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_ok(o: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_err(enum LDKSecp256k1Error e); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_err(e: Secp256k1Error): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_PublicKeySecp256k1ErrorZ_is_ok(const struct LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_PublicKeySecp256k1ErrorZ_free(struct LDKCResult_PublicKeySecp256k1ErrorZ _res); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_PublicKeySecp256k1ErrorZ_clone_ptr(LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_PublicKeySecp256k1ErrorZ CResult_PublicKeySecp256k1ErrorZ_clone(const struct LDKCResult_PublicKeySecp256k1ErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_PublicKeySecp256k1ErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_PublicKeySecp256k1ErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_some(struct LDKNetworkUpdate o); -/* @internal */ -export function COption_NetworkUpdateZ_some(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_some(o); - return nativeResponseValue; -} - // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_none(void); -/* @internal */ -export function COption_NetworkUpdateZ_none(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_none(); - return nativeResponseValue; -} - // void COption_NetworkUpdateZ_free(struct LDKCOption_NetworkUpdateZ _res); -/* @internal */ -export function COption_NetworkUpdateZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_free(_res); - // debug statements here -} - // uint64_t COption_NetworkUpdateZ_clone_ptr(LDKCOption_NetworkUpdateZ *NONNULL_PTR arg); -/* @internal */ -export function COption_NetworkUpdateZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_clone(const struct LDKCOption_NetworkUpdateZ *NONNULL_PTR orig); -/* @internal */ -export function COption_NetworkUpdateZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_ok(struct LDKCOption_NetworkUpdateZ o); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_err(struct LDKDecodeError e); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_COption_NetworkUpdateZDecodeErrorZ_free(struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ _res); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_clone(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig); - return nativeResponseValue; -} - // struct LDKCOption_UtxoLookupZ COption_UtxoLookupZ_some(struct LDKUtxoLookup o); -/* @internal */ -export function COption_UtxoLookupZ_some(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_some(o); - return nativeResponseValue; -} - // struct LDKCOption_UtxoLookupZ COption_UtxoLookupZ_none(void); -/* @internal */ -export function COption_UtxoLookupZ_none(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_none(); - return nativeResponseValue; -} - // void COption_UtxoLookupZ_free(struct LDKCOption_UtxoLookupZ _res); -/* @internal */ -export function COption_UtxoLookupZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_free(_res); - // debug statements here + const nativeResponseValue = wasm.TS_COption_UtxoLookupZ_free(_res); + // debug statements here } // struct LDKCResult_NoneLightningErrorZ CResult_NoneLightningErrorZ_ok(void); /* @internal */ @@ -19836,58 +20404,58 @@ export function CVec_RecentPaymentDetailsZ_free(_res: number): void { const nativeResponseValue = wasm.TS_CVec_RecentPaymentDetailsZ_free(_res); // debug statements here } - // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_ok(void); + // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_ok(void); /* @internal */ -export function CResult_NonePaymentSendFailureZ_ok(): bigint { +export function CResult_NoneAPIErrorZ_ok(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_ok(); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_ok(); return nativeResponseValue; } - // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_err(struct LDKPaymentSendFailure e); + // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_err(struct LDKAPIError e); /* @internal */ -export function CResult_NonePaymentSendFailureZ_err(e: bigint): bigint { +export function CResult_NoneAPIErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_err(e); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_err(e); return nativeResponseValue; } - // bool CResult_NonePaymentSendFailureZ_is_ok(const struct LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR o); + // bool CResult_NoneAPIErrorZ_is_ok(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_NonePaymentSendFailureZ_is_ok(o: bigint): boolean { +export function CResult_NoneAPIErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_NonePaymentSendFailureZ_free(struct LDKCResult_NonePaymentSendFailureZ _res); + // void CResult_NoneAPIErrorZ_free(struct LDKCResult_NoneAPIErrorZ _res); /* @internal */ -export function CResult_NonePaymentSendFailureZ_free(_res: bigint): void { +export function CResult_NoneAPIErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_free(_res); // debug statements here } - // uint64_t CResult_NonePaymentSendFailureZ_clone_ptr(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR arg); + // uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_NonePaymentSendFailureZ_clone_ptr(arg: bigint): bigint { +export function CResult_NoneAPIErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_clone(const struct LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR orig); + // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_clone(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_NonePaymentSendFailureZ_clone(orig: bigint): bigint { +export function CResult_NoneAPIErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_clone(orig); return nativeResponseValue; } // struct LDKCResult_NoneRetryableSendFailureZ CResult_NoneRetryableSendFailureZ_ok(void); @@ -19944,58 +20512,103 @@ export function CResult_NoneRetryableSendFailureZ_clone(orig: bigint): bigint { const nativeResponseValue = wasm.TS_CResult_NoneRetryableSendFailureZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(struct LDKThirtyTwoBytes o); + // struct LDKCOption_OffersContextZ COption_OffersContextZ_some(struct LDKOffersContext o); +/* @internal */ +export function COption_OffersContextZ_some(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_OffersContextZ_some(o); + return nativeResponseValue; +} + // struct LDKCOption_OffersContextZ COption_OffersContextZ_none(void); +/* @internal */ +export function COption_OffersContextZ_none(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_OffersContextZ_none(); + return nativeResponseValue; +} + // void COption_OffersContextZ_free(struct LDKCOption_OffersContextZ _res); +/* @internal */ +export function COption_OffersContextZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_OffersContextZ_free(_res); + // debug statements here +} + // uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg); +/* @internal */ +export function COption_OffersContextZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_OffersContextZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCOption_OffersContextZ COption_OffersContextZ_clone(const struct LDKCOption_OffersContextZ *NONNULL_PTR orig); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(o: number): bigint { +export function COption_OffersContextZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(o); + const nativeResponseValue = wasm.TS_COption_OffersContextZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ CResult_ThirtyTwoBytesPaymentSendFailureZ_err(struct LDKPaymentSendFailure e); + // struct LDKCResult_NoneBolt12PaymentErrorZ CResult_NoneBolt12PaymentErrorZ_ok(void); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_err(e: bigint): bigint { +export function CResult_NoneBolt12PaymentErrorZ_ok(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_err(e); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_ok(); return nativeResponseValue; } - // bool CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(const struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR o); + // struct LDKCResult_NoneBolt12PaymentErrorZ CResult_NoneBolt12PaymentErrorZ_err(struct LDKBolt12PaymentError e); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(o: bigint): boolean { +export function CResult_NoneBolt12PaymentErrorZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_err(e); return nativeResponseValue; } - // void CResult_ThirtyTwoBytesPaymentSendFailureZ_free(struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ _res); + // bool CResult_NoneBolt12PaymentErrorZ_is_ok(const struct LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_free(_res: bigint): void { +export function CResult_NoneBolt12PaymentErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_NoneBolt12PaymentErrorZ_free(struct LDKCResult_NoneBolt12PaymentErrorZ _res); +/* @internal */ +export function CResult_NoneBolt12PaymentErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_free(_res); // debug statements here } - // uint64_t CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR arg); + // uint64_t CResult_NoneBolt12PaymentErrorZ_clone_ptr(LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR arg); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(arg: bigint): bigint { +export function CResult_NoneBolt12PaymentErrorZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(const struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ *NONNULL_PTR orig); + // struct LDKCResult_NoneBolt12PaymentErrorZ CResult_NoneBolt12PaymentErrorZ_clone(const struct LDKCResult_NoneBolt12PaymentErrorZ *NONNULL_PTR orig); /* @internal */ -export function CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(orig: bigint): bigint { +export function CResult_NoneBolt12PaymentErrorZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_NoneBolt12PaymentErrorZ_clone(orig); return nativeResponseValue; } // struct LDKCResult_ThirtyTwoBytesRetryableSendFailureZ CResult_ThirtyTwoBytesRetryableSendFailureZ_ok(struct LDKThirtyTwoBytes o); @@ -20088,58 +20701,58 @@ export function C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free(_res: bigint): void { const nativeResponseValue = wasm.TS_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZ_free(_res); // debug statements here } - // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ o); + // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ o); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(o: bigint): bigint { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(struct LDKPaymentSendFailure e); + // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(struct LDKProbeSendFailure e); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(e: bigint): bigint { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(e: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(e); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(e); return nativeResponseValue; } - // bool CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(const struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR o); + // bool CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(const struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR o); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(o: bigint): boolean { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(o); return nativeResponseValue; } - // void CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ _res); + // void CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ _res); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(_res: bigint): void { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free(_res); // debug statements here } - // uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR arg); + // uint64_t CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR arg); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(arg: bigint): bigint { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(arg); return nativeResponseValue; } - // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(const struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ *NONNULL_PTR orig); + // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(const struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ *NONNULL_PTR orig); /* @internal */ -export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(orig: bigint): bigint { +export function CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(orig); return nativeResponseValue; } // void CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ_free(struct LDKCVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZ _res); @@ -20258,6 +20871,141 @@ export function CVec_ChannelIdZ_free(_res: number): void { } const nativeResponseValue = wasm.TS_CVec_ChannelIdZ_free(_res); // debug statements here +} + // uint64_t C2Tuple_PublicKeyChannelIdZ_clone_ptr(LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_PublicKeyChannelIdZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_PublicKeyChannelIdZ C2Tuple_PublicKeyChannelIdZ_clone(const struct LDKC2Tuple_PublicKeyChannelIdZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_PublicKeyChannelIdZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_PublicKeyChannelIdZ C2Tuple_PublicKeyChannelIdZ_new(struct LDKPublicKey a, struct LDKChannelId b); +/* @internal */ +export function C2Tuple_PublicKeyChannelIdZ_new(a: number, b: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_PublicKeyChannelIdZ_free(struct LDKC2Tuple_PublicKeyChannelIdZ _res); +/* @internal */ +export function C2Tuple_PublicKeyChannelIdZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_PublicKeyChannelIdZ_free(_res); + // debug statements here +} + // struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ COption_C2Tuple_PublicKeyChannelIdZZ_some(struct LDKC2Tuple_PublicKeyChannelIdZ o); +/* @internal */ +export function COption_C2Tuple_PublicKeyChannelIdZZ_some(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_PublicKeyChannelIdZZ_some(o); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ COption_C2Tuple_PublicKeyChannelIdZZ_none(void); +/* @internal */ +export function COption_C2Tuple_PublicKeyChannelIdZZ_none(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_PublicKeyChannelIdZZ_none(); + return nativeResponseValue; +} + // void COption_C2Tuple_PublicKeyChannelIdZZ_free(struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ _res); +/* @internal */ +export function COption_C2Tuple_PublicKeyChannelIdZZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_PublicKeyChannelIdZZ_free(_res); + // debug statements here +} + // uint64_t COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(LDKCOption_C2Tuple_PublicKeyChannelIdZZ *NONNULL_PTR arg); +/* @internal */ +export function COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ COption_C2Tuple_PublicKeyChannelIdZZ_clone(const struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ *NONNULL_PTR orig); +/* @internal */ +export function COption_C2Tuple_PublicKeyChannelIdZZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_COption_C2Tuple_PublicKeyChannelIdZZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(struct LDKBolt11Invoice o); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_err(struct LDKSignOrCreationError e); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(const struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_Bolt11InvoiceSignOrCreationErrorZ_free(struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(const struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig); + return nativeResponseValue; } // struct LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ CResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ_ok(struct LDKOfferWithDerivedMetadataBuilder o); /* @internal */ @@ -20357,6 +21105,15 @@ export function COption_StrZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_COption_StrZ_clone(orig); return nativeResponseValue; +} + // void CVec_DestinationZ_free(struct LDKCVec_DestinationZ _res); +/* @internal */ +export function CVec_DestinationZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_DestinationZ_free(_res); + // debug statements here } // struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ_ok(struct LDKC2Tuple_ThirtyTwoBytesThirtyTwoBytesZ o); /* @internal */ @@ -20465,51 +21222,6 @@ export function CResult_ThirtyTwoBytesAPIErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_ThirtyTwoBytesAPIErrorZ_clone(orig); return nativeResponseValue; -} - // struct LDKCOption_OffersContextZ COption_OffersContextZ_some(struct LDKOffersContext o); -/* @internal */ -export function COption_OffersContextZ_some(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_OffersContextZ_some(o); - return nativeResponseValue; -} - // struct LDKCOption_OffersContextZ COption_OffersContextZ_none(void); -/* @internal */ -export function COption_OffersContextZ_none(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_OffersContextZ_none(); - return nativeResponseValue; -} - // void COption_OffersContextZ_free(struct LDKCOption_OffersContextZ _res); -/* @internal */ -export function COption_OffersContextZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_OffersContextZ_free(_res); - // debug statements here -} - // uint64_t COption_OffersContextZ_clone_ptr(LDKCOption_OffersContextZ *NONNULL_PTR arg); -/* @internal */ -export function COption_OffersContextZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_OffersContextZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCOption_OffersContextZ COption_OffersContextZ_clone(const struct LDKCOption_OffersContextZ *NONNULL_PTR orig); -/* @internal */ -export function COption_OffersContextZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_COption_OffersContextZ_clone(orig); - return nativeResponseValue; } // uint64_t C2Tuple_OffersMessageResponseInstructionZ_clone_ptr(LDKC2Tuple_OffersMessageResponseInstructionZ *NONNULL_PTR arg); /* @internal */ @@ -21833,6 +22545,42 @@ export function CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ_free(_res: } const nativeResponseValue = wasm.TS_CVec_C2Tuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZZ_free(_res); // debug statements here +} + // uint64_t C2Tuple_boolboolZ_clone_ptr(LDKC2Tuple_boolboolZ *NONNULL_PTR arg); +/* @internal */ +export function C2Tuple_boolboolZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC2Tuple_boolboolZ C2Tuple_boolboolZ_clone(const struct LDKC2Tuple_boolboolZ *NONNULL_PTR orig); +/* @internal */ +export function C2Tuple_boolboolZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC2Tuple_boolboolZ C2Tuple_boolboolZ_new(bool a, bool b); +/* @internal */ +export function C2Tuple_boolboolZ_new(a: boolean, b: boolean): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_new(a, b); + return nativeResponseValue; +} + // void C2Tuple_boolboolZ_free(struct LDKC2Tuple_boolboolZ _res); +/* @internal */ +export function C2Tuple_boolboolZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C2Tuple_boolboolZ_free(_res); + // debug statements here } // void CVec_BalanceZ_free(struct LDKCVec_BalanceZ _res); /* @internal */ @@ -22715,6 +23463,105 @@ export function CResult_CVec_StrZIOErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_CVec_StrZIOErrorZ_clone(orig); return nativeResponseValue; +} + // uint64_t C3Tuple_StrStrStrZ_clone_ptr(LDKC3Tuple_StrStrStrZ *NONNULL_PTR arg); +/* @internal */ +export function C3Tuple_StrStrStrZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKC3Tuple_StrStrStrZ C3Tuple_StrStrStrZ_clone(const struct LDKC3Tuple_StrStrStrZ *NONNULL_PTR orig); +/* @internal */ +export function C3Tuple_StrStrStrZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_clone(orig); + return nativeResponseValue; +} + // struct LDKC3Tuple_StrStrStrZ C3Tuple_StrStrStrZ_new(struct LDKStr a, struct LDKStr b, struct LDKStr c); +/* @internal */ +export function C3Tuple_StrStrStrZ_new(a: number, b: number, c: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_new(a, b, c); + return nativeResponseValue; +} + // void C3Tuple_StrStrStrZ_free(struct LDKC3Tuple_StrStrStrZ _res); +/* @internal */ +export function C3Tuple_StrStrStrZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_C3Tuple_StrStrStrZ_free(_res); + // debug statements here +} + // void CVec_C3Tuple_StrStrStrZZ_free(struct LDKCVec_C3Tuple_StrStrStrZZ _res); +/* @internal */ +export function CVec_C3Tuple_StrStrStrZZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_C3Tuple_StrStrStrZZ_free(_res); + // debug statements here +} + // struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(struct LDKCVec_C3Tuple_StrStrStrZZ o); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(o: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(enum LDKIOError e); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(e: IOError): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(const struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ _res); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(const struct LDKCResult_CVec_C3Tuple_StrStrStrZZIOErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(orig); + return nativeResponseValue; } // void CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ_free(struct LDKCVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZ _res); /* @internal */ @@ -22833,59 +23680,77 @@ export function CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_clone(orig const nativeResponseValue = wasm.TS_CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_clone(orig); return nativeResponseValue; } - // struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(struct LDKUnsignedInvoiceRequest o); + // struct LDKCResult_MonitorNameIOErrorZ CResult_MonitorNameIOErrorZ_ok(struct LDKMonitorName o); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(o: bigint): bigint { +export function CResult_MonitorNameIOErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(o); + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(enum LDKBolt12SemanticError e); + // struct LDKCResult_MonitorNameIOErrorZ CResult_MonitorNameIOErrorZ_err(enum LDKIOError e); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(e: Bolt12SemanticError): bigint { +export function CResult_MonitorNameIOErrorZ_err(e: IOError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(e); + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_err(e); return nativeResponseValue; } - // bool CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(const struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR o); + // bool CResult_MonitorNameIOErrorZ_is_ok(const struct LDKCResult_MonitorNameIOErrorZ *NONNULL_PTR o); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(o: bigint): boolean { +export function CResult_MonitorNameIOErrorZ_is_ok(o: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(o); + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_is_ok(o); return nativeResponseValue; } - // void CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ _res); + // void CResult_MonitorNameIOErrorZ_free(struct LDKCResult_MonitorNameIOErrorZ _res); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(_res: bigint): void { +export function CResult_MonitorNameIOErrorZ_free(_res: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free(_res); + const nativeResponseValue = wasm.TS_CResult_MonitorNameIOErrorZ_free(_res); // debug statements here } - // uint64_t CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR arg); + // struct LDKCResult_UpdateNameIOErrorZ CResult_UpdateNameIOErrorZ_ok(struct LDKUpdateName o); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(arg: bigint): bigint { +export function CResult_UpdateNameIOErrorZ_ok(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(arg); + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_ok(o); return nativeResponseValue; } - // struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(const struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ *NONNULL_PTR orig); + // struct LDKCResult_UpdateNameIOErrorZ CResult_UpdateNameIOErrorZ_err(enum LDKIOError e); /* @internal */ -export function CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(orig: bigint): bigint { +export function CResult_UpdateNameIOErrorZ_err(e: IOError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(orig); + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_err(e); return nativeResponseValue; +} + // bool CResult_UpdateNameIOErrorZ_is_ok(const struct LDKCResult_UpdateNameIOErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_UpdateNameIOErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_UpdateNameIOErrorZ_free(struct LDKCResult_UpdateNameIOErrorZ _res); +/* @internal */ +export function CResult_UpdateNameIOErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_UpdateNameIOErrorZ_free(_res); + // debug statements here } // struct LDKCResult_InvoiceRequestBolt12SemanticErrorZ CResult_InvoiceRequestBolt12SemanticErrorZ_ok(struct LDKInvoiceRequest o); /* @internal */ @@ -23066,6 +23931,60 @@ export function CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErro } const nativeResponseValue = wasm.TS_CResult_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ_free(_res); // debug statements here +} + // struct LDKCResult_InvoiceRequestDecodeErrorZ CResult_InvoiceRequestDecodeErrorZ_ok(struct LDKInvoiceRequest o); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_InvoiceRequestDecodeErrorZ CResult_InvoiceRequestDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_InvoiceRequestDecodeErrorZ_is_ok(const struct LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_InvoiceRequestDecodeErrorZ_free(struct LDKCResult_InvoiceRequestDecodeErrorZ _res); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_InvoiceRequestDecodeErrorZ_clone_ptr(LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_InvoiceRequestDecodeErrorZ CResult_InvoiceRequestDecodeErrorZ_clone(const struct LDKCResult_InvoiceRequestDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_InvoiceRequestDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InvoiceRequestDecodeErrorZ_clone(orig); + return nativeResponseValue; } // struct LDKCResult_InvoiceRequestFieldsDecodeErrorZ CResult_InvoiceRequestFieldsDecodeErrorZ_ok(struct LDKInvoiceRequestFields o); /* @internal */ @@ -29483,6 +30402,384 @@ export function CResult_ChannelIdDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_ChannelIdDecodeErrorZ_clone(orig); return nativeResponseValue; +} + // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_ok(struct LDKInitFeatures o); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_InitFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_InitFeaturesDecodeErrorZ_free(struct LDKCResult_InitFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_clone(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_InitFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_ok(struct LDKChannelFeatures o); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_ChannelFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_ChannelFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_ChannelFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_ok(struct LDKNodeFeatures o); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_NodeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_NodeFeaturesDecodeErrorZ_free(struct LDKCResult_NodeFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_clone(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_NodeFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(struct LDKBolt11InvoiceFeatures o); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(const struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(struct LDKBolt12InvoiceFeatures o); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(const struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_Bolt12InvoiceFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_ok(struct LDKBlindedHopFeatures o); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_BlindedHopFeaturesDecodeErrorZ_free(struct LDKCResult_BlindedHopFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ CResult_BlindedHopFeaturesDecodeErrorZ_clone(const struct LDKCResult_BlindedHopFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_BlindedHopFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_ok(struct LDKChannelTypeFeatures o); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_ChannelTypeFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig); + return nativeResponseValue; } // uint64_t C2Tuple__u832u16Z_clone_ptr(LDKC2Tuple__u832u16Z *NONNULL_PTR arg); /* @internal */ @@ -29798,60 +31095,6 @@ export function CResult_PaymentContextDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_PaymentContextDecodeErrorZ_clone(orig); return nativeResponseValue; -} - // struct LDKCResult_UnknownPaymentContextDecodeErrorZ CResult_UnknownPaymentContextDecodeErrorZ_ok(struct LDKUnknownPaymentContext o); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_UnknownPaymentContextDecodeErrorZ CResult_UnknownPaymentContextDecodeErrorZ_err(struct LDKDecodeError e); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_UnknownPaymentContextDecodeErrorZ_is_ok(const struct LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_UnknownPaymentContextDecodeErrorZ_free(struct LDKCResult_UnknownPaymentContextDecodeErrorZ _res); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_UnknownPaymentContextDecodeErrorZ CResult_UnknownPaymentContextDecodeErrorZ_clone(const struct LDKCResult_UnknownPaymentContextDecodeErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_UnknownPaymentContextDecodeErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_UnknownPaymentContextDecodeErrorZ_clone(orig); - return nativeResponseValue; } // struct LDKCResult_Bolt12OfferContextDecodeErrorZ CResult_Bolt12OfferContextDecodeErrorZ_ok(struct LDKBolt12OfferContext o); /* @internal */ @@ -30068,6 +31311,123 @@ export function CResult_ResponderDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_ResponderDecodeErrorZ_clone(orig); return nativeResponseValue; +} + // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_ok(struct LDKOnionMessagePath o); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_err(void); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_err(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_err(); + return nativeResponseValue; +} + // bool CResult_OnionMessagePathNoneZ_is_ok(const struct LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR o); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_OnionMessagePathNoneZ_free(struct LDKCResult_OnionMessagePathNoneZ _res); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_free(_res); + // debug statements here +} + // uint64_t CResult_OnionMessagePathNoneZ_clone_ptr(LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_OnionMessagePathNoneZ CResult_OnionMessagePathNoneZ_clone(const struct LDKCResult_OnionMessagePathNoneZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_OnionMessagePathNoneZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_OnionMessagePathNoneZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_ok(struct LDKCVec_BlindedMessagePathZ o); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_ok(o: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_err(void); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_err(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_err(); + return nativeResponseValue; +} + // bool CResult_CVec_BlindedMessagePathZNoneZ_is_ok(const struct LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR o); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_CVec_BlindedMessagePathZNoneZ_free(struct LDKCResult_CVec_BlindedMessagePathZNoneZ _res); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_free(_res); + // debug statements here +} + // uint64_t CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_CVec_BlindedMessagePathZNoneZ CResult_CVec_BlindedMessagePathZNoneZ_clone(const struct LDKCResult_CVec_BlindedMessagePathZNoneZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_CVec_BlindedMessagePathZNoneZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_CVec_BlindedMessagePathZNoneZ_clone(orig); + return nativeResponseValue; +} + // void CVec_MessageForwardNodeZ_free(struct LDKCVec_MessageForwardNodeZ _res); +/* @internal */ +export function CVec_MessageForwardNodeZ_free(_res: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CVec_MessageForwardNodeZ_free(_res); + // debug statements here } // struct LDKCOption_MessageContextZ COption_MessageContextZ_some(struct LDKMessageContext o); /* @internal */ @@ -30428,60 +31788,6 @@ export function CVec_PhantomRouteHintsZ_free(_res: number): void { } const nativeResponseValue = wasm.TS_CVec_PhantomRouteHintsZ_free(_res); // debug statements here -} - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(struct LDKBolt11Invoice o); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_ok(o); - return nativeResponseValue; -} - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_err(struct LDKSignOrCreationError e); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_err(e); - return nativeResponseValue; -} - // bool CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(const struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR o); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_is_ok(o); - return nativeResponseValue; -} - // void CResult_Bolt11InvoiceSignOrCreationErrorZ_free(struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ _res); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_free(_res); - // debug statements here -} - // uint64_t CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR arg); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(const struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ *NONNULL_PTR orig); -/* @internal */ -export function CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_CResult_Bolt11InvoiceSignOrCreationErrorZ_clone(orig); - return nativeResponseValue; } // struct LDKCResult_InvoiceErrorDecodeErrorZ CResult_InvoiceErrorDecodeErrorZ_ok(struct LDKInvoiceError o); /* @internal */ @@ -31436,6 +32742,114 @@ export function CResult_OffersContextDecodeErrorZ_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_CResult_OffersContextDecodeErrorZ_clone(orig); return nativeResponseValue; +} + // struct LDKCResult_AsyncPaymentsContextDecodeErrorZ CResult_AsyncPaymentsContextDecodeErrorZ_ok(struct LDKAsyncPaymentsContext o); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_AsyncPaymentsContextDecodeErrorZ CResult_AsyncPaymentsContextDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(const struct LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_AsyncPaymentsContextDecodeErrorZ_free(struct LDKCResult_AsyncPaymentsContextDecodeErrorZ _res); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_AsyncPaymentsContextDecodeErrorZ CResult_AsyncPaymentsContextDecodeErrorZ_clone(const struct LDKCResult_AsyncPaymentsContextDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_AsyncPaymentsContextDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_AsyncPaymentsContextDecodeErrorZ_clone(orig); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverContextDecodeErrorZ CResult_DNSResolverContextDecodeErrorZ_ok(struct LDKDNSResolverContext o); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_ok(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_ok(o); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverContextDecodeErrorZ CResult_DNSResolverContextDecodeErrorZ_err(struct LDKDecodeError e); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_err(e: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_err(e); + return nativeResponseValue; +} + // bool CResult_DNSResolverContextDecodeErrorZ_is_ok(const struct LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR o); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_is_ok(o: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_is_ok(o); + return nativeResponseValue; +} + // void CResult_DNSResolverContextDecodeErrorZ_free(struct LDKCResult_DNSResolverContextDecodeErrorZ _res); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_free(_res: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_free(_res); + // debug statements here +} + // uint64_t CResult_DNSResolverContextDecodeErrorZ_clone_ptr(LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR arg); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverContextDecodeErrorZ CResult_DNSResolverContextDecodeErrorZ_clone(const struct LDKCResult_DNSResolverContextDecodeErrorZ *NONNULL_PTR orig); +/* @internal */ +export function CResult_DNSResolverContextDecodeErrorZ_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_CResult_DNSResolverContextDecodeErrorZ_clone(orig); + return nativeResponseValue; } // void APIError_free(struct LDKAPIError this_ptr); /* @internal */ @@ -31859,6 +33273,24 @@ export function KVStore_free(this_ptr: bigint): void { } const nativeResponseValue = wasm.TS_KVStore_free(this_ptr); // debug statements here +} + // void MigratableKVStore_free(struct LDKMigratableKVStore this_ptr); +/* @internal */ +export function MigratableKVStore_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MigratableKVStore_free(this_ptr); + // debug statements here +} + // struct LDKCResult_NoneIOErrorZ migrate_kv_store_data(struct LDKMigratableKVStore *NONNULL_PTR source_store, struct LDKMigratableKVStore *NONNULL_PTR target_store); +/* @internal */ +export function migrate_kv_store_data(source_store: bigint, target_store: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_migrate_kv_store_data(source_store, target_store); + return nativeResponseValue; } // void Persister_free(struct LDKPersister this_ptr); /* @internal */ @@ -31931,6 +33363,78 @@ export function MonitorUpdatingPersister_as_Persist(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_MonitorUpdatingPersister_as_Persist(this_arg); return nativeResponseValue; +} + // void MonitorName_free(struct LDKMonitorName this_obj); +/* @internal */ +export function MonitorName_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MonitorName_free(this_obj); + // debug statements here +} + // MUST_USE_RES struct LDKCResult_MonitorNameIOErrorZ MonitorName_new(struct LDKStr name); +/* @internal */ +export function MonitorName_new(name: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MonitorName_new(name); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKStr MonitorName_as_str(const struct LDKMonitorName *NONNULL_PTR this_arg); +/* @internal */ +export function MonitorName_as_str(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MonitorName_as_str(this_arg); + return nativeResponseValue; +} + // void UpdateName_free(struct LDKUpdateName this_obj); +/* @internal */ +export function UpdateName_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UpdateName_free(this_obj); + // debug statements here +} + // uint64_t UpdateName_get_a(const struct LDKUpdateName *NONNULL_PTR this_ptr); +/* @internal */ +export function UpdateName_get_a(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UpdateName_get_a(this_ptr); + return nativeResponseValue; +} + // void UpdateName_set_a(struct LDKUpdateName *NONNULL_PTR this_ptr, uint64_t val); +/* @internal */ +export function UpdateName_set_a(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UpdateName_set_a(this_ptr, val); + // debug statements here +} + // MUST_USE_RES struct LDKCResult_UpdateNameIOErrorZ UpdateName_new(struct LDKStr name); +/* @internal */ +export function UpdateName_new(name: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UpdateName_new(name); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKStr UpdateName_as_str(const struct LDKUpdateName *NONNULL_PTR this_arg); +/* @internal */ +export function UpdateName_as_str(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UpdateName_as_str(this_arg); + return nativeResponseValue; } // enum LDKShortChannelIdError ShortChannelIdError_clone(const enum LDKShortChannelIdError *NONNULL_PTR orig); /* @internal */ @@ -33614,24 +35118,6 @@ export function UserConfig_set_accept_intercept_htlcs(this_ptr: bigint, val: boo } const nativeResponseValue = wasm.TS_UserConfig_set_accept_intercept_htlcs(this_ptr, val); // debug statements here -} - // bool UserConfig_get_accept_mpp_keysend(const struct LDKUserConfig *NONNULL_PTR this_ptr); -/* @internal */ -export function UserConfig_get_accept_mpp_keysend(this_ptr: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UserConfig_get_accept_mpp_keysend(this_ptr); - return nativeResponseValue; -} - // void UserConfig_set_accept_mpp_keysend(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val); -/* @internal */ -export function UserConfig_set_accept_mpp_keysend(this_ptr: bigint, val: boolean): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UserConfig_set_accept_mpp_keysend(this_ptr, val); - // debug statements here } // bool UserConfig_get_manually_handle_bolt12_invoices(const struct LDKUserConfig *NONNULL_PTR this_ptr); /* @internal */ @@ -33651,13 +35137,13 @@ export function UserConfig_set_manually_handle_bolt12_invoices(this_ptr: bigint, const nativeResponseValue = wasm.TS_UserConfig_set_manually_handle_bolt12_invoices(this_ptr, val); // debug statements here } - // MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig channel_handshake_config_arg, struct LDKChannelHandshakeLimits channel_handshake_limits_arg, struct LDKChannelConfig channel_config_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg, bool manually_accept_inbound_channels_arg, bool accept_intercept_htlcs_arg, bool accept_mpp_keysend_arg, bool manually_handle_bolt12_invoices_arg); + // MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig channel_handshake_config_arg, struct LDKChannelHandshakeLimits channel_handshake_limits_arg, struct LDKChannelConfig channel_config_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg, bool manually_accept_inbound_channels_arg, bool accept_intercept_htlcs_arg, bool manually_handle_bolt12_invoices_arg); /* @internal */ -export function UserConfig_new(channel_handshake_config_arg: bigint, channel_handshake_limits_arg: bigint, channel_config_arg: bigint, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean, accept_intercept_htlcs_arg: boolean, accept_mpp_keysend_arg: boolean, manually_handle_bolt12_invoices_arg: boolean): bigint { +export function UserConfig_new(channel_handshake_config_arg: bigint, channel_handshake_limits_arg: bigint, channel_config_arg: bigint, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean, accept_intercept_htlcs_arg: boolean, manually_handle_bolt12_invoices_arg: boolean): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_UserConfig_new(channel_handshake_config_arg, channel_handshake_limits_arg, channel_config_arg, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, accept_mpp_keysend_arg, manually_handle_bolt12_invoices_arg); + const nativeResponseValue = wasm.TS_UserConfig_new(channel_handshake_config_arg, channel_handshake_limits_arg, channel_config_arg, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, manually_handle_bolt12_invoices_arg); return nativeResponseValue; } // uint64_t UserConfig_clone_ptr(LDKUserConfig *NONNULL_PTR arg); @@ -34749,13 +36235,13 @@ export function ChannelMonitor_get_and_clear_pending_monitor_events(this_arg: bi const nativeResponseValue = wasm.TS_ChannelMonitor_get_and_clear_pending_monitor_events(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_NoneReplayEventZ ChannelMonitor_process_pending_events(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKEventHandler *NONNULL_PTR handler); + // MUST_USE_RES struct LDKCResult_NoneReplayEventZ ChannelMonitor_process_pending_events(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKEventHandler *NONNULL_PTR handler, const struct LDKLogger *NONNULL_PTR logger); /* @internal */ -export function ChannelMonitor_process_pending_events(this_arg: bigint, handler: bigint): bigint { +export function ChannelMonitor_process_pending_events(this_arg: bigint, handler: bigint, logger: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelMonitor_process_pending_events(this_arg, handler); + const nativeResponseValue = wasm.TS_ChannelMonitor_process_pending_events(this_arg, handler, logger); return nativeResponseValue; } // MUST_USE_RES struct LDKCommitmentTransaction ChannelMonitor_initial_counterparty_commitment_tx(const struct LDKChannelMonitor *NONNULL_PTR this_arg); @@ -34902,13 +36388,13 @@ export function ChannelMonitor_get_spendable_outputs(this_arg: bigint, tx: numbe const nativeResponseValue = wasm.TS_ChannelMonitor_get_spendable_outputs(this_arg, tx, confirmation_height); return nativeResponseValue; } - // MUST_USE_RES bool ChannelMonitor_is_fully_resolved(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKLogger *NONNULL_PTR logger); + // MUST_USE_RES struct LDKC2Tuple_boolboolZ ChannelMonitor_check_and_update_full_resolution_status(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKLogger *NONNULL_PTR logger); /* @internal */ -export function ChannelMonitor_is_fully_resolved(this_arg: bigint, logger: bigint): boolean { +export function ChannelMonitor_check_and_update_full_resolution_status(this_arg: bigint, logger: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelMonitor_is_fully_resolved(this_arg, logger); + const nativeResponseValue = wasm.TS_ChannelMonitor_check_and_update_full_resolution_status(this_arg, logger); return nativeResponseValue; } // MUST_USE_RES struct LDKCVec_BalanceZ ChannelMonitor_get_claimable_balances(const struct LDKChannelMonitor *NONNULL_PTR this_arg); @@ -35154,13 +36640,13 @@ export function InboundHTLCErr_eq(a: bigint, b: bigint): boolean { const nativeResponseValue = wasm.TS_InboundHTLCErr_eq(a, b); return nativeResponseValue; } - // struct LDKCResult_PendingHTLCInfoInboundHTLCErrZ peel_payment_onion(const struct LDKUpdateAddHTLC *NONNULL_PTR msg, struct LDKNodeSigner node_signer, struct LDKLogger logger, uint32_t cur_height, bool accept_mpp_keysend, bool allow_skimmed_fees); + // struct LDKCResult_PendingHTLCInfoInboundHTLCErrZ peel_payment_onion(const struct LDKUpdateAddHTLC *NONNULL_PTR msg, struct LDKNodeSigner node_signer, struct LDKLogger logger, uint32_t cur_height, bool allow_skimmed_fees); /* @internal */ -export function peel_payment_onion(msg: bigint, node_signer: bigint, logger: bigint, cur_height: number, accept_mpp_keysend: boolean, allow_skimmed_fees: boolean): bigint { +export function peel_payment_onion(msg: bigint, node_signer: bigint, logger: bigint, cur_height: number, allow_skimmed_fees: boolean): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_peel_payment_onion(msg, node_signer, logger, cur_height, accept_mpp_keysend, allow_skimmed_fees); + const nativeResponseValue = wasm.TS_peel_payment_onion(msg, node_signer, logger, cur_height, allow_skimmed_fees); return nativeResponseValue; } // void PendingHTLCRouting_free(struct LDKPendingHTLCRouting this_ptr); @@ -35208,13 +36694,13 @@ export function PendingHTLCRouting_receive(payment_data: bigint, payment_metadat const nativeResponseValue = wasm.TS_PendingHTLCRouting_receive(payment_data, payment_metadata, payment_context, incoming_cltv_expiry, phantom_shared_secret, custom_tlvs, requires_blinded_error); return nativeResponseValue; } - // struct LDKPendingHTLCRouting PendingHTLCRouting_receive_keysend(struct LDKFinalOnionHopData payment_data, struct LDKThirtyTwoBytes payment_preimage, struct LDKCOption_CVec_u8ZZ payment_metadata, uint32_t incoming_cltv_expiry, struct LDKCVec_C2Tuple_u64CVec_u8ZZZ custom_tlvs, bool requires_blinded_error); + // struct LDKPendingHTLCRouting PendingHTLCRouting_receive_keysend(struct LDKFinalOnionHopData payment_data, struct LDKThirtyTwoBytes payment_preimage, struct LDKCOption_CVec_u8ZZ payment_metadata, uint32_t incoming_cltv_expiry, struct LDKCVec_C2Tuple_u64CVec_u8ZZZ custom_tlvs, bool requires_blinded_error, bool has_recipient_created_payment_secret); /* @internal */ -export function PendingHTLCRouting_receive_keysend(payment_data: bigint, payment_preimage: number, payment_metadata: bigint, incoming_cltv_expiry: number, custom_tlvs: number, requires_blinded_error: boolean): bigint { +export function PendingHTLCRouting_receive_keysend(payment_data: bigint, payment_preimage: number, payment_metadata: bigint, incoming_cltv_expiry: number, custom_tlvs: number, requires_blinded_error: boolean, has_recipient_created_payment_secret: boolean): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_PendingHTLCRouting_receive_keysend(payment_data, payment_preimage, payment_metadata, incoming_cltv_expiry, custom_tlvs, requires_blinded_error); + const nativeResponseValue = wasm.TS_PendingHTLCRouting_receive_keysend(payment_data, payment_preimage, payment_metadata, incoming_cltv_expiry, custom_tlvs, requires_blinded_error, has_recipient_created_payment_secret); return nativeResponseValue; } // void BlindedForward_free(struct LDKBlindedForward this_obj); @@ -35531,6 +37017,24 @@ export function BlindedFailure_eq(a: bigint, b: bigint): boolean { } const nativeResponseValue = wasm.TS_BlindedFailure_eq(a, b); return nativeResponseValue; +} + // void Verification_free(struct LDKVerification this_ptr); +/* @internal */ +export function Verification_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Verification_free(this_ptr); + // debug statements here +} + // struct LDKVerification UnauthenticatedReceiveTlvs_as_Verification(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_arg); +/* @internal */ +export function UnauthenticatedReceiveTlvs_as_Verification(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_as_Verification(this_arg); + return nativeResponseValue; } // void FailureCode_free(struct LDKFailureCode this_ptr); /* @internal */ @@ -35829,13 +37333,13 @@ export function PhantomRouteHints_clone(orig: bigint): bigint { const nativeResponseValue = wasm.TS_PhantomRouteHints_clone(orig); return nativeResponseValue; } - // MUST_USE_RES struct LDKChannelManager ChannelManager_new(struct LDKFeeEstimator fee_est, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKRouter router, struct LDKLogger logger, struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKSignerProvider signer_provider, struct LDKUserConfig config, struct LDKChainParameters params, uint32_t current_timestamp); + // MUST_USE_RES struct LDKChannelManager ChannelManager_new(struct LDKFeeEstimator fee_est, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKRouter router, struct LDKMessageRouter message_router, struct LDKLogger logger, struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKSignerProvider signer_provider, struct LDKUserConfig config, struct LDKChainParameters params, uint32_t current_timestamp); /* @internal */ -export function ChannelManager_new(fee_est: bigint, chain_monitor: bigint, tx_broadcaster: bigint, router: bigint, logger: bigint, entropy_source: bigint, node_signer: bigint, signer_provider: bigint, config: bigint, params: bigint, current_timestamp: number): bigint { +export function ChannelManager_new(fee_est: bigint, chain_monitor: bigint, tx_broadcaster: bigint, router: bigint, message_router: bigint, logger: bigint, entropy_source: bigint, node_signer: bigint, signer_provider: bigint, config: bigint, params: bigint, current_timestamp: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelManager_new(fee_est, chain_monitor, tx_broadcaster, router, logger, entropy_source, node_signer, signer_provider, config, params, current_timestamp); + const nativeResponseValue = wasm.TS_ChannelManager_new(fee_est, chain_monitor, tx_broadcaster, router, message_router, logger, entropy_source, node_signer, signer_provider, config, params, current_timestamp); return nativeResponseValue; } // MUST_USE_RES struct LDKUserConfig ChannelManager_get_current_default_configuration(const struct LDKChannelManager *NONNULL_PTR this_arg); @@ -35946,22 +37450,22 @@ export function ChannelManager_force_close_all_channels_without_broadcasting_txn const nativeResponseValue = wasm.TS_ChannelManager_force_close_all_channels_without_broadcasting_txn(this_arg, error_message); // debug statements here } - // MUST_USE_RES struct LDKCResult_NonePaymentSendFailureZ ChannelManager_send_payment_with_route(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKRoute route, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id); + // MUST_USE_RES struct LDKCResult_NoneRetryableSendFailureZ ChannelManager_send_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id, struct LDKRouteParameters route_params, struct LDKRetry retry_strategy); /* @internal */ -export function ChannelManager_send_payment_with_route(this_arg: bigint, route: bigint, payment_hash: number, recipient_onion: bigint, payment_id: number): bigint { +export function ChannelManager_send_payment(this_arg: bigint, payment_hash: number, recipient_onion: bigint, payment_id: number, route_params: bigint, retry_strategy: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelManager_send_payment_with_route(this_arg, route, payment_hash, recipient_onion, payment_id); + const nativeResponseValue = wasm.TS_ChannelManager_send_payment(this_arg, payment_hash, recipient_onion, payment_id, route_params, retry_strategy); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_NoneRetryableSendFailureZ ChannelManager_send_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id, struct LDKRouteParameters route_params, struct LDKRetry retry_strategy); + // MUST_USE_RES struct LDKCResult_NoneBolt12PaymentErrorZ ChannelManager_send_payment_for_bolt12_invoice(const struct LDKChannelManager *NONNULL_PTR this_arg, const struct LDKBolt12Invoice *NONNULL_PTR invoice, struct LDKCOption_OffersContextZ context); /* @internal */ -export function ChannelManager_send_payment(this_arg: bigint, payment_hash: number, recipient_onion: bigint, payment_id: number, route_params: bigint, retry_strategy: bigint): bigint { +export function ChannelManager_send_payment_for_bolt12_invoice(this_arg: bigint, invoice: bigint, context: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelManager_send_payment(this_arg, payment_hash, recipient_onion, payment_id, route_params, retry_strategy); + const nativeResponseValue = wasm.TS_ChannelManager_send_payment_for_bolt12_invoice(this_arg, invoice, context); return nativeResponseValue; } // void ChannelManager_abandon_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_id); @@ -35973,25 +37477,16 @@ export function ChannelManager_abandon_payment(this_arg: bigint, payment_id: num const nativeResponseValue = wasm.TS_ChannelManager_abandon_payment(this_arg, payment_id); // debug statements here } - // MUST_USE_RES struct LDKCResult_ThirtyTwoBytesPaymentSendFailureZ ChannelManager_send_spontaneous_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKCOption_ThirtyTwoBytesZ payment_preimage, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id); -/* @internal */ -export function ChannelManager_send_spontaneous_payment(this_arg: bigint, route: bigint, payment_preimage: bigint, recipient_onion: bigint, payment_id: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelManager_send_spontaneous_payment(this_arg, route, payment_preimage, recipient_onion, payment_id); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_ThirtyTwoBytesRetryableSendFailureZ ChannelManager_send_spontaneous_payment_with_retry(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_ThirtyTwoBytesZ payment_preimage, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id, struct LDKRouteParameters route_params, struct LDKRetry retry_strategy); + // MUST_USE_RES struct LDKCResult_ThirtyTwoBytesRetryableSendFailureZ ChannelManager_send_spontaneous_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_ThirtyTwoBytesZ payment_preimage, struct LDKRecipientOnionFields recipient_onion, struct LDKThirtyTwoBytes payment_id, struct LDKRouteParameters route_params, struct LDKRetry retry_strategy); /* @internal */ -export function ChannelManager_send_spontaneous_payment_with_retry(this_arg: bigint, payment_preimage: bigint, recipient_onion: bigint, payment_id: number, route_params: bigint, retry_strategy: bigint): bigint { +export function ChannelManager_send_spontaneous_payment(this_arg: bigint, payment_preimage: bigint, recipient_onion: bigint, payment_id: number, route_params: bigint, retry_strategy: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelManager_send_spontaneous_payment_with_retry(this_arg, payment_preimage, recipient_onion, payment_id, route_params, retry_strategy); + const nativeResponseValue = wasm.TS_ChannelManager_send_spontaneous_payment(this_arg, payment_preimage, recipient_onion, payment_id, route_params, retry_strategy); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ ChannelManager_send_probe(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKPath path); + // MUST_USE_RES struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ ChannelManager_send_probe(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKPath path); /* @internal */ export function ChannelManager_send_probe(this_arg: bigint, path: bigint): bigint { if(!isWasmInitialized) { @@ -36161,6 +37656,141 @@ export function ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(th } const nativeResponseValue = wasm.TS_ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(this_arg, temporary_channel_id, counterparty_node_id, user_channel_id); return nativeResponseValue; +} + // void ChannelManager_signer_unblocked(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_C2Tuple_PublicKeyChannelIdZZ channel_opt); +/* @internal */ +export function ChannelManager_signer_unblocked(this_arg: bigint, channel_opt: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManager_signer_unblocked(this_arg, channel_opt); + // debug statements here +} + // MUST_USE_RES struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ ChannelManager_create_bolt11_invoice(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKBolt11InvoiceParameters params); +/* @internal */ +export function ChannelManager_create_bolt11_invoice(this_arg: bigint, params: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManager_create_bolt11_invoice(this_arg, params); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_free(struct LDKBolt11InvoiceParameters this_obj); +/* @internal */ +export function Bolt11InvoiceParameters_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_free(this_obj); + // debug statements here +} + // struct LDKCOption_u64Z Bolt11InvoiceParameters_get_amount_msats(const struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr); +/* @internal */ +export function Bolt11InvoiceParameters_get_amount_msats(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_get_amount_msats(this_ptr); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_set_amount_msats(struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); +/* @internal */ +export function Bolt11InvoiceParameters_set_amount_msats(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_set_amount_msats(this_ptr, val); + // debug statements here +} + // struct LDKBolt11InvoiceDescription Bolt11InvoiceParameters_get_description(const struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr); +/* @internal */ +export function Bolt11InvoiceParameters_get_description(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_get_description(this_ptr); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_set_description(struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr, struct LDKBolt11InvoiceDescription val); +/* @internal */ +export function Bolt11InvoiceParameters_set_description(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_set_description(this_ptr, val); + // debug statements here +} + // struct LDKCOption_u32Z Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(const struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr); +/* @internal */ +export function Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(this_ptr); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr, struct LDKCOption_u32Z val); +/* @internal */ +export function Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(this_ptr, val); + // debug statements here +} + // struct LDKCOption_u16Z Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(const struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr); +/* @internal */ +export function Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(this_ptr); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr, struct LDKCOption_u16Z val); +/* @internal */ +export function Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(this_ptr, val); + // debug statements here +} + // struct LDKCOption_ThirtyTwoBytesZ Bolt11InvoiceParameters_get_payment_hash(const struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr); +/* @internal */ +export function Bolt11InvoiceParameters_get_payment_hash(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_get_payment_hash(this_ptr); + return nativeResponseValue; +} + // void Bolt11InvoiceParameters_set_payment_hash(struct LDKBolt11InvoiceParameters *NONNULL_PTR this_ptr, struct LDKCOption_ThirtyTwoBytesZ val); +/* @internal */ +export function Bolt11InvoiceParameters_set_payment_hash(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_set_payment_hash(this_ptr, val); + // debug statements here +} + // MUST_USE_RES struct LDKBolt11InvoiceParameters Bolt11InvoiceParameters_new(struct LDKCOption_u64Z amount_msats_arg, struct LDKBolt11InvoiceDescription description_arg, struct LDKCOption_u32Z invoice_expiry_delta_secs_arg, struct LDKCOption_u16Z min_final_cltv_expiry_delta_arg, struct LDKCOption_ThirtyTwoBytesZ payment_hash_arg); +/* @internal */ +export function Bolt11InvoiceParameters_new(amount_msats_arg: bigint, description_arg: bigint, invoice_expiry_delta_secs_arg: bigint, min_final_cltv_expiry_delta_arg: bigint, payment_hash_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_new(amount_msats_arg, description_arg, invoice_expiry_delta_secs_arg, min_final_cltv_expiry_delta_arg, payment_hash_arg); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKBolt11InvoiceParameters Bolt11InvoiceParameters_default(void); +/* @internal */ +export function Bolt11InvoiceParameters_default(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceParameters_default(); + return nativeResponseValue; } // MUST_USE_RES struct LDKCResult_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ ChannelManager_create_offer_builder(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_u64Z absolute_expiry); /* @internal */ @@ -36197,6 +37827,15 @@ export function ChannelManager_request_refund_payment(this_arg: bigint, refund: } const nativeResponseValue = wasm.TS_ChannelManager_request_refund_payment(this_arg, refund); return nativeResponseValue; +} + // MUST_USE_RES struct LDKCResult_NoneNoneZ ChannelManager_pay_for_offer_from_human_readable_name(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKHumanReadableName name, uint64_t amount_msats, struct LDKThirtyTwoBytes payment_id, struct LDKRetry retry_strategy, struct LDKCOption_u64Z max_total_routing_fee_msat, struct LDKCVec_DestinationZ dns_resolvers); +/* @internal */ +export function ChannelManager_pay_for_offer_from_human_readable_name(this_arg: bigint, name: bigint, amount_msats: bigint, payment_id: number, retry_strategy: bigint, max_total_routing_fee_msat: bigint, dns_resolvers: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManager_pay_for_offer_from_human_readable_name(this_arg, name, amount_msats, payment_id, retry_strategy, max_total_routing_fee_msat, dns_resolvers); + return nativeResponseValue; } // MUST_USE_RES struct LDKCResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ ChannelManager_create_inbound_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs, struct LDKCOption_u16Z min_final_cltv_expiry_delta); /* @internal */ @@ -36386,6 +38025,15 @@ export function ChannelManager_as_AsyncPaymentsMessageHandler(this_arg: bigint): } const nativeResponseValue = wasm.TS_ChannelManager_as_AsyncPaymentsMessageHandler(this_arg); return nativeResponseValue; +} + // struct LDKDNSResolverMessageHandler ChannelManager_as_DNSResolverMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg); +/* @internal */ +export function ChannelManager_as_DNSResolverMessageHandler(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManager_as_DNSResolverMessageHandler(this_arg); + return nativeResponseValue; } // struct LDKNodeIdLookUp ChannelManager_as_NodeIdLookUp(const struct LDKChannelManager *NONNULL_PTR this_arg); /* @internal */ @@ -36638,6 +38286,24 @@ export function ChannelManagerReadArgs_set_router(this_ptr: bigint, val: bigint) } const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_set_router(this_ptr, val); // debug statements here +} + // const struct LDKMessageRouter *ChannelManagerReadArgs_get_message_router(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr); +/* @internal */ +export function ChannelManagerReadArgs_get_message_router(this_ptr: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_get_message_router(this_ptr); + return nativeResponseValue; +} + // void ChannelManagerReadArgs_set_message_router(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKMessageRouter val); +/* @internal */ +export function ChannelManagerReadArgs_set_message_router(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_set_message_router(this_ptr, val); + // debug statements here } // const struct LDKLogger *ChannelManagerReadArgs_get_logger(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr); /* @internal */ @@ -36675,13 +38341,13 @@ export function ChannelManagerReadArgs_set_default_config(this_ptr: bigint, val: const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_set_default_config(this_ptr, val); // debug statements here } - // MUST_USE_RES struct LDKChannelManagerReadArgs ChannelManagerReadArgs_new(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKSignerProvider signer_provider, struct LDKFeeEstimator fee_estimator, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKRouter router, struct LDKLogger logger, struct LDKUserConfig default_config, struct LDKCVec_ChannelMonitorZ channel_monitors); + // MUST_USE_RES struct LDKChannelManagerReadArgs ChannelManagerReadArgs_new(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKSignerProvider signer_provider, struct LDKFeeEstimator fee_estimator, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKRouter router, struct LDKMessageRouter message_router, struct LDKLogger logger, struct LDKUserConfig default_config, struct LDKCVec_ChannelMonitorZ channel_monitors); /* @internal */ -export function ChannelManagerReadArgs_new(entropy_source: bigint, node_signer: bigint, signer_provider: bigint, fee_estimator: bigint, chain_monitor: bigint, tx_broadcaster: bigint, router: bigint, logger: bigint, default_config: bigint, channel_monitors: number): bigint { +export function ChannelManagerReadArgs_new(entropy_source: bigint, node_signer: bigint, signer_provider: bigint, fee_estimator: bigint, chain_monitor: bigint, tx_broadcaster: bigint, router: bigint, message_router: bigint, logger: bigint, default_config: bigint, channel_monitors: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_new(entropy_source, node_signer, signer_provider, fee_estimator, chain_monitor, tx_broadcaster, router, logger, default_config, channel_monitors); + const nativeResponseValue = wasm.TS_ChannelManagerReadArgs_new(entropy_source, node_signer, signer_provider, fee_estimator, chain_monitor, tx_broadcaster, router, message_router, logger, default_config, channel_monitors); return nativeResponseValue; } // struct LDKCResult_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ C2Tuple_ThirtyTwoBytesChannelManagerZ_read(struct LDKu8slice ser, struct LDKChannelManagerReadArgs arg); @@ -38285,24 +39951,6 @@ export function ChannelDetails_set_feerate_sat_per_1000_weight(this_ptr: bigint, } const nativeResponseValue = wasm.TS_ChannelDetails_set_feerate_sat_per_1000_weight(this_ptr, val); // debug statements here -} - // uint64_t ChannelDetails_get_balance_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr); -/* @internal */ -export function ChannelDetails_get_balance_msat(this_ptr: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelDetails_get_balance_msat(this_ptr); - return nativeResponseValue; -} - // void ChannelDetails_set_balance_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val); -/* @internal */ -export function ChannelDetails_set_balance_msat(this_ptr: bigint, val: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelDetails_set_balance_msat(this_ptr, val); - // debug statements here } // uint64_t ChannelDetails_get_outbound_capacity_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr); /* @internal */ @@ -38610,13 +40258,13 @@ export function ChannelDetails_set_pending_outbound_htlcs(this_ptr: bigint, val: const nativeResponseValue = wasm.TS_ChannelDetails_set_pending_outbound_htlcs(this_ptr, val); // debug statements here } - // MUST_USE_RES struct LDKChannelDetails ChannelDetails_new(struct LDKChannelId channel_id_arg, struct LDKChannelCounterparty counterparty_arg, struct LDKOutPoint funding_txo_arg, struct LDKChannelTypeFeatures channel_type_arg, struct LDKCOption_u64Z short_channel_id_arg, struct LDKCOption_u64Z outbound_scid_alias_arg, struct LDKCOption_u64Z inbound_scid_alias_arg, uint64_t channel_value_satoshis_arg, struct LDKCOption_u64Z unspendable_punishment_reserve_arg, struct LDKU128 user_channel_id_arg, struct LDKCOption_u32Z feerate_sat_per_1000_weight_arg, uint64_t balance_msat_arg, uint64_t outbound_capacity_msat_arg, uint64_t next_outbound_htlc_limit_msat_arg, uint64_t next_outbound_htlc_minimum_msat_arg, uint64_t inbound_capacity_msat_arg, struct LDKCOption_u32Z confirmations_required_arg, struct LDKCOption_u32Z confirmations_arg, struct LDKCOption_u16Z force_close_spend_delay_arg, bool is_outbound_arg, bool is_channel_ready_arg, struct LDKCOption_ChannelShutdownStateZ channel_shutdown_state_arg, bool is_usable_arg, bool is_announced_arg, struct LDKCOption_u64Z inbound_htlc_minimum_msat_arg, struct LDKCOption_u64Z inbound_htlc_maximum_msat_arg, struct LDKChannelConfig config_arg, struct LDKCVec_InboundHTLCDetailsZ pending_inbound_htlcs_arg, struct LDKCVec_OutboundHTLCDetailsZ pending_outbound_htlcs_arg); + // MUST_USE_RES struct LDKChannelDetails ChannelDetails_new(struct LDKChannelId channel_id_arg, struct LDKChannelCounterparty counterparty_arg, struct LDKOutPoint funding_txo_arg, struct LDKChannelTypeFeatures channel_type_arg, struct LDKCOption_u64Z short_channel_id_arg, struct LDKCOption_u64Z outbound_scid_alias_arg, struct LDKCOption_u64Z inbound_scid_alias_arg, uint64_t channel_value_satoshis_arg, struct LDKCOption_u64Z unspendable_punishment_reserve_arg, struct LDKU128 user_channel_id_arg, struct LDKCOption_u32Z feerate_sat_per_1000_weight_arg, uint64_t outbound_capacity_msat_arg, uint64_t next_outbound_htlc_limit_msat_arg, uint64_t next_outbound_htlc_minimum_msat_arg, uint64_t inbound_capacity_msat_arg, struct LDKCOption_u32Z confirmations_required_arg, struct LDKCOption_u32Z confirmations_arg, struct LDKCOption_u16Z force_close_spend_delay_arg, bool is_outbound_arg, bool is_channel_ready_arg, struct LDKCOption_ChannelShutdownStateZ channel_shutdown_state_arg, bool is_usable_arg, bool is_announced_arg, struct LDKCOption_u64Z inbound_htlc_minimum_msat_arg, struct LDKCOption_u64Z inbound_htlc_maximum_msat_arg, struct LDKChannelConfig config_arg, struct LDKCVec_InboundHTLCDetailsZ pending_inbound_htlcs_arg, struct LDKCVec_OutboundHTLCDetailsZ pending_outbound_htlcs_arg); /* @internal */ -export function ChannelDetails_new(channel_id_arg: bigint, counterparty_arg: bigint, funding_txo_arg: bigint, channel_type_arg: bigint, short_channel_id_arg: bigint, outbound_scid_alias_arg: bigint, inbound_scid_alias_arg: bigint, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: bigint, user_channel_id_arg: number, feerate_sat_per_1000_weight_arg: bigint, balance_msat_arg: bigint, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, next_outbound_htlc_minimum_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: bigint, confirmations_arg: bigint, force_close_spend_delay_arg: bigint, is_outbound_arg: boolean, is_channel_ready_arg: boolean, channel_shutdown_state_arg: bigint, is_usable_arg: boolean, is_announced_arg: boolean, inbound_htlc_minimum_msat_arg: bigint, inbound_htlc_maximum_msat_arg: bigint, config_arg: bigint, pending_inbound_htlcs_arg: number, pending_outbound_htlcs_arg: number): bigint { +export function ChannelDetails_new(channel_id_arg: bigint, counterparty_arg: bigint, funding_txo_arg: bigint, channel_type_arg: bigint, short_channel_id_arg: bigint, outbound_scid_alias_arg: bigint, inbound_scid_alias_arg: bigint, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: bigint, user_channel_id_arg: number, feerate_sat_per_1000_weight_arg: bigint, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, next_outbound_htlc_minimum_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: bigint, confirmations_arg: bigint, force_close_spend_delay_arg: bigint, is_outbound_arg: boolean, is_channel_ready_arg: boolean, channel_shutdown_state_arg: bigint, is_usable_arg: boolean, is_announced_arg: boolean, inbound_htlc_minimum_msat_arg: bigint, inbound_htlc_maximum_msat_arg: bigint, config_arg: bigint, pending_inbound_htlcs_arg: number, pending_outbound_htlcs_arg: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ChannelDetails_new(channel_id_arg, counterparty_arg, funding_txo_arg, channel_type_arg, short_channel_id_arg, outbound_scid_alias_arg, inbound_scid_alias_arg, channel_value_satoshis_arg, unspendable_punishment_reserve_arg, user_channel_id_arg, feerate_sat_per_1000_weight_arg, balance_msat_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg, confirmations_arg, force_close_spend_delay_arg, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg, inbound_htlc_maximum_msat_arg, config_arg, pending_inbound_htlcs_arg, pending_outbound_htlcs_arg); + const nativeResponseValue = wasm.TS_ChannelDetails_new(channel_id_arg, counterparty_arg, funding_txo_arg, channel_type_arg, short_channel_id_arg, outbound_scid_alias_arg, inbound_scid_alias_arg, channel_value_satoshis_arg, unspendable_punishment_reserve_arg, user_channel_id_arg, feerate_sat_per_1000_weight_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg, confirmations_arg, force_close_spend_delay_arg, is_outbound_arg, is_channel_ready_arg, channel_shutdown_state_arg, is_usable_arg, is_announced_arg, inbound_htlc_minimum_msat_arg, inbound_htlc_maximum_msat_arg, config_arg, pending_inbound_htlcs_arg, pending_outbound_htlcs_arg); return nativeResponseValue; } // uint64_t ChannelDetails_clone_ptr(LDKChannelDetails *NONNULL_PTR arg); @@ -38763,7 +40411,43 @@ export function ExpandedKey_free(this_obj: bigint): void { const nativeResponseValue = wasm.TS_ExpandedKey_free(this_obj); // debug statements here } - // MUST_USE_RES struct LDKExpandedKey ExpandedKey_new(const uint8_t (*key_material)[32]); + // uint64_t ExpandedKey_hash(const struct LDKExpandedKey *NONNULL_PTR o); +/* @internal */ +export function ExpandedKey_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ExpandedKey_hash(o); + return nativeResponseValue; +} + // uint64_t ExpandedKey_clone_ptr(LDKExpandedKey *NONNULL_PTR arg); +/* @internal */ +export function ExpandedKey_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ExpandedKey_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKExpandedKey ExpandedKey_clone(const struct LDKExpandedKey *NONNULL_PTR orig); +/* @internal */ +export function ExpandedKey_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ExpandedKey_clone(orig); + return nativeResponseValue; +} + // bool ExpandedKey_eq(const struct LDKExpandedKey *NONNULL_PTR a, const struct LDKExpandedKey *NONNULL_PTR b); +/* @internal */ +export function ExpandedKey_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ExpandedKey_eq(a, b); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKExpandedKey ExpandedKey_new(struct LDKThirtyTwoBytes key_material); /* @internal */ export function ExpandedKey_new(key_material: number): bigint { if(!isWasmInitialized) { @@ -46214,6 +47898,15 @@ export function FinalOnionHopData_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_FinalOnionHopData_clone(orig); return nativeResponseValue; +} + // bool FinalOnionHopData_eq(const struct LDKFinalOnionHopData *NONNULL_PTR a, const struct LDKFinalOnionHopData *NONNULL_PTR b); +/* @internal */ +export function FinalOnionHopData_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_FinalOnionHopData_eq(a, b); + return nativeResponseValue; } // void OnionPacket_free(struct LDKOnionPacket this_obj); /* @internal */ @@ -47474,6 +49167,15 @@ export function IgnoringMessageHandler_as_AsyncPaymentsMessageHandler(this_arg: } const nativeResponseValue = wasm.TS_IgnoringMessageHandler_as_AsyncPaymentsMessageHandler(this_arg); return nativeResponseValue; +} + // struct LDKDNSResolverMessageHandler IgnoringMessageHandler_as_DNSResolverMessageHandler(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg); +/* @internal */ +export function IgnoringMessageHandler_as_DNSResolverMessageHandler(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_IgnoringMessageHandler_as_DNSResolverMessageHandler(this_arg); + return nativeResponseValue; } // struct LDKCustomOnionMessageHandler IgnoringMessageHandler_as_CustomOnionMessageHandler(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg); /* @internal */ @@ -49616,132 +51318,6 @@ export function get_commitment_transaction_number_obscure_factor(broadcaster_pay } const nativeResponseValue = wasm.TS_get_commitment_transaction_number_obscure_factor(broadcaster_payment_basepoint, countersignatory_payment_basepoint, outbound_from_broadcaster); return nativeResponseValue; -} - // struct LDKCVec_u8Z InitFeatures_write(const struct LDKInitFeatures *NONNULL_PTR obj); -/* @internal */ -export function InitFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InitFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_InitFeaturesDecodeErrorZ InitFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function InitFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InitFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z ChannelFeatures_write(const struct LDKChannelFeatures *NONNULL_PTR obj); -/* @internal */ -export function ChannelFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_ChannelFeaturesDecodeErrorZ ChannelFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function ChannelFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z NodeFeatures_write(const struct LDKNodeFeatures *NONNULL_PTR obj); -/* @internal */ -export function NodeFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_NodeFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_NodeFeaturesDecodeErrorZ NodeFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function NodeFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_NodeFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z Bolt11InvoiceFeatures_write(const struct LDKBolt11InvoiceFeatures *NONNULL_PTR obj); -/* @internal */ -export function Bolt11InvoiceFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ Bolt11InvoiceFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function Bolt11InvoiceFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z Bolt12InvoiceFeatures_write(const struct LDKBolt12InvoiceFeatures *NONNULL_PTR obj); -/* @internal */ -export function Bolt12InvoiceFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ Bolt12InvoiceFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function Bolt12InvoiceFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z BlindedHopFeatures_write(const struct LDKBlindedHopFeatures *NONNULL_PTR obj); -/* @internal */ -export function BlindedHopFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_BlindedHopFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ BlindedHopFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function BlindedHopFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_BlindedHopFeatures_read(ser); - return nativeResponseValue; -} - // struct LDKCVec_u8Z ChannelTypeFeatures_write(const struct LDKChannelTypeFeatures *NONNULL_PTR obj); -/* @internal */ -export function ChannelTypeFeatures_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelTypeFeatures_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ ChannelTypeFeatures_read(struct LDKu8slice ser); -/* @internal */ -export function ChannelTypeFeatures_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelTypeFeatures_read(ser); - return nativeResponseValue; } // void ShutdownScript_free(struct LDKShutdownScript this_obj); /* @internal */ @@ -50075,15 +51651,6 @@ export function ChannelId_read(ser: number): bigint { } const nativeResponseValue = wasm.TS_ChannelId_read(ser); return nativeResponseValue; -} - // struct LDKStr ChannelId_to_str(const struct LDKChannelId *NONNULL_PTR o); -/* @internal */ -export function ChannelId_to_str(o: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ChannelId_to_str(o); - return nativeResponseValue; } // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_phantom_invoice(struct LDKCOption_u64Z amt_msat, struct LDKCOption_ThirtyTwoBytesZ payment_hash, struct LDKStr description, uint32_t invoice_expiry_delta_secs, struct LDKCVec_PhantomRouteHintsZ phantom_route_hints, struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKLogger logger, enum LDKCurrency network, struct LDKCOption_u16Z min_final_cltv_expiry_delta, uint64_t duration_since_epoch); /* @internal */ @@ -50103,40 +51670,49 @@ export function create_phantom_invoice_with_description_hash(amt_msat: bigint, p const nativeResponseValue = wasm.TS_create_phantom_invoice_with_description_hash(amt_msat, payment_hash, invoice_expiry_delta_secs, description_hash, phantom_route_hints, entropy_source, node_signer, logger, network, min_final_cltv_expiry_delta, duration_since_epoch); return nativeResponseValue; } - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKNodeSigner node_signer, struct LDKLogger logger, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKSha256 description_hash, uint64_t duration_since_epoch, uint32_t invoice_expiry_delta_secs, struct LDKCOption_u16Z min_final_cltv_expiry_delta); + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint32_t invoice_expiry_delta_secs, struct LDKCOption_u16Z min_final_cltv_expiry_delta); /* @internal */ -export function create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(channelmanager: bigint, node_signer: bigint, logger: bigint, network: Currency, amt_msat: bigint, description_hash: bigint, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: bigint): bigint { +export function create_invoice_from_channelmanager(channelmanager: bigint, amt_msat: bigint, description: number, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(channelmanager, node_signer, logger, network, amt_msat, description_hash, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta); + const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager(channelmanager, amt_msat, description, invoice_expiry_delta_secs, min_final_cltv_expiry_delta); return nativeResponseValue; } - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKNodeSigner node_signer, struct LDKLogger logger, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint64_t duration_since_epoch, uint32_t invoice_expiry_delta_secs, struct LDKCOption_u16Z min_final_cltv_expiry_delta); + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_with_description_hash(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKCOption_u64Z amt_msat, struct LDKSha256 description_hash, uint32_t invoice_expiry_delta_secs, struct LDKCOption_u16Z min_final_cltv_expiry_delta); /* @internal */ -export function create_invoice_from_channelmanager_and_duration_since_epoch(channelmanager: bigint, node_signer: bigint, logger: bigint, network: Currency, amt_msat: bigint, description: number, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: bigint): bigint { +export function create_invoice_from_channelmanager_with_description_hash(channelmanager: bigint, amt_msat: bigint, description_hash: bigint, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_and_duration_since_epoch(channelmanager, node_signer, logger, network, amt_msat, description, duration_since_epoch, invoice_expiry_delta_secs, min_final_cltv_expiry_delta); + const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_with_description_hash(channelmanager, amt_msat, description_hash, invoice_expiry_delta_secs, min_final_cltv_expiry_delta); return nativeResponseValue; } - // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKNodeSigner node_signer, struct LDKLogger logger, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint64_t duration_since_epoch, uint32_t invoice_expiry_delta_secs, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u16Z min_final_cltv_expiry_delta); + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_with_description_hash_and_payment_hash(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKCOption_u64Z amt_msat, struct LDKSha256 description_hash, uint32_t invoice_expiry_delta_secs, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u16Z min_final_cltv_expiry_delta); /* @internal */ -export function create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(channelmanager: bigint, node_signer: bigint, logger: bigint, network: Currency, amt_msat: bigint, description: number, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, payment_hash: number, min_final_cltv_expiry_delta: bigint): bigint { +export function create_invoice_from_channelmanager_with_description_hash_and_payment_hash(channelmanager: bigint, amt_msat: bigint, description_hash: bigint, invoice_expiry_delta_secs: number, payment_hash: number, min_final_cltv_expiry_delta: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(channelmanager, node_signer, logger, network, amt_msat, description, duration_since_epoch, invoice_expiry_delta_secs, payment_hash, min_final_cltv_expiry_delta); + const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_with_description_hash_and_payment_hash(channelmanager, amt_msat, description_hash, invoice_expiry_delta_secs, payment_hash, min_final_cltv_expiry_delta); return nativeResponseValue; } - // struct LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ payment_parameters_from_zero_amount_invoice(const struct LDKBolt11Invoice *NONNULL_PTR invoice, uint64_t amount_msat); + // struct LDKCResult_Bolt11InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_with_payment_hash(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint32_t invoice_expiry_delta_secs, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u16Z min_final_cltv_expiry_delta); /* @internal */ -export function payment_parameters_from_zero_amount_invoice(invoice: bigint, amount_msat: bigint): bigint { +export function create_invoice_from_channelmanager_with_payment_hash(channelmanager: bigint, amt_msat: bigint, description: number, invoice_expiry_delta_secs: number, payment_hash: number, min_final_cltv_expiry_delta: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_payment_parameters_from_zero_amount_invoice(invoice, amount_msat); + const nativeResponseValue = wasm.TS_create_invoice_from_channelmanager_with_payment_hash(channelmanager, amt_msat, description, invoice_expiry_delta_secs, payment_hash, min_final_cltv_expiry_delta); + return nativeResponseValue; +} + // struct LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ payment_parameters_from_variable_amount_invoice(const struct LDKBolt11Invoice *NONNULL_PTR invoice, uint64_t amount_msat); +/* @internal */ +export function payment_parameters_from_variable_amount_invoice(invoice: bigint, amount_msat: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_payment_parameters_from_variable_amount_invoice(invoice, amount_msat); return nativeResponseValue; } // struct LDKCResult_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ payment_parameters_from_invoice(const struct LDKBolt11Invoice *NONNULL_PTR invoice); @@ -50273,87 +51849,6 @@ export function RetryableSendFailure_eq(a: bigint, b: bigint): boolean { } const nativeResponseValue = wasm.TS_RetryableSendFailure_eq(a, b); return nativeResponseValue; -} - // void PaymentSendFailure_free(struct LDKPaymentSendFailure this_ptr); -/* @internal */ -export function PaymentSendFailure_free(this_ptr: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_free(this_ptr); - // debug statements here -} - // uint64_t PaymentSendFailure_clone_ptr(LDKPaymentSendFailure *NONNULL_PTR arg); -/* @internal */ -export function PaymentSendFailure_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_clone(const struct LDKPaymentSendFailure *NONNULL_PTR orig); -/* @internal */ -export function PaymentSendFailure_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_clone(orig); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_parameter_error(struct LDKAPIError a); -/* @internal */ -export function PaymentSendFailure_parameter_error(a: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_parameter_error(a); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_path_parameter_error(struct LDKCVec_CResult_NoneAPIErrorZZ a); -/* @internal */ -export function PaymentSendFailure_path_parameter_error(a: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_path_parameter_error(a); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_all_failed_resend_safe(struct LDKCVec_APIErrorZ a); -/* @internal */ -export function PaymentSendFailure_all_failed_resend_safe(a: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_all_failed_resend_safe(a); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_duplicate_payment(void); -/* @internal */ -export function PaymentSendFailure_duplicate_payment(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_duplicate_payment(); - return nativeResponseValue; -} - // struct LDKPaymentSendFailure PaymentSendFailure_partial_failure(struct LDKCVec_CResult_NoneAPIErrorZZ results, struct LDKRouteParameters failed_paths_retry, struct LDKThirtyTwoBytes payment_id); -/* @internal */ -export function PaymentSendFailure_partial_failure(results: number, failed_paths_retry: bigint, payment_id: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_partial_failure(results, failed_paths_retry, payment_id); - return nativeResponseValue; -} - // bool PaymentSendFailure_eq(const struct LDKPaymentSendFailure *NONNULL_PTR a, const struct LDKPaymentSendFailure *NONNULL_PTR b); -/* @internal */ -export function PaymentSendFailure_eq(a: bigint, b: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentSendFailure_eq(a, b); - return nativeResponseValue; } // void Bolt12PaymentError_free(struct LDKBolt12PaymentError this_ptr); /* @internal */ @@ -50463,13 +51958,22 @@ export function ProbeSendFailure_route_not_found(): bigint { const nativeResponseValue = wasm.TS_ProbeSendFailure_route_not_found(); return nativeResponseValue; } - // struct LDKProbeSendFailure ProbeSendFailure_sending_failed(struct LDKPaymentSendFailure a); + // struct LDKProbeSendFailure ProbeSendFailure_parameter_error(struct LDKAPIError a); +/* @internal */ +export function ProbeSendFailure_parameter_error(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ProbeSendFailure_parameter_error(a); + return nativeResponseValue; +} + // struct LDKProbeSendFailure ProbeSendFailure_duplicate_probe(void); /* @internal */ -export function ProbeSendFailure_sending_failed(a: bigint): bigint { +export function ProbeSendFailure_duplicate_probe(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ProbeSendFailure_sending_failed(a); + const nativeResponseValue = wasm.TS_ProbeSendFailure_duplicate_probe(); return nativeResponseValue; } // bool ProbeSendFailure_eq(const struct LDKProbeSendFailure *NONNULL_PTR a, const struct LDKProbeSendFailure *NONNULL_PTR b); @@ -50642,6 +52146,132 @@ export function Type_free(this_ptr: bigint): void { } const nativeResponseValue = wasm.TS_Type_free(this_ptr); // debug statements here +} + // struct LDKCVec_u8Z InitFeatures_write(const struct LDKInitFeatures *NONNULL_PTR obj); +/* @internal */ +export function InitFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_InitFeaturesDecodeErrorZ InitFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function InitFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z ChannelFeatures_write(const struct LDKChannelFeatures *NONNULL_PTR obj); +/* @internal */ +export function ChannelFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_ChannelFeaturesDecodeErrorZ ChannelFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function ChannelFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z NodeFeatures_write(const struct LDKNodeFeatures *NONNULL_PTR obj); +/* @internal */ +export function NodeFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_NodeFeaturesDecodeErrorZ NodeFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function NodeFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z Bolt11InvoiceFeatures_write(const struct LDKBolt11InvoiceFeatures *NONNULL_PTR obj); +/* @internal */ +export function Bolt11InvoiceFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_Bolt11InvoiceFeaturesDecodeErrorZ Bolt11InvoiceFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function Bolt11InvoiceFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z Bolt12InvoiceFeatures_write(const struct LDKBolt12InvoiceFeatures *NONNULL_PTR obj); +/* @internal */ +export function Bolt12InvoiceFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_Bolt12InvoiceFeaturesDecodeErrorZ Bolt12InvoiceFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function Bolt12InvoiceFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z BlindedHopFeatures_write(const struct LDKBlindedHopFeatures *NONNULL_PTR obj); +/* @internal */ +export function BlindedHopFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_BlindedHopFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_BlindedHopFeaturesDecodeErrorZ BlindedHopFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function BlindedHopFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_BlindedHopFeatures_read(ser); + return nativeResponseValue; +} + // struct LDKCVec_u8Z ChannelTypeFeatures_write(const struct LDKChannelTypeFeatures *NONNULL_PTR obj); +/* @internal */ +export function ChannelTypeFeatures_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelTypeFeatures_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ ChannelTypeFeatures_read(struct LDKu8slice ser); +/* @internal */ +export function ChannelTypeFeatures_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ChannelTypeFeatures_read(ser); + return nativeResponseValue; } // void OfferId_free(struct LDKOfferId this_obj); /* @internal */ @@ -51057,13 +52687,13 @@ export function Offer_supported_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_Offer_supported_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey Offer_signing_pubkey(const struct LDKOffer *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey Offer_issuer_signing_pubkey(const struct LDKOffer *NONNULL_PTR this_arg); /* @internal */ -export function Offer_signing_pubkey(this_arg: bigint): number { +export function Offer_issuer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Offer_signing_pubkey(this_arg); + const nativeResponseValue = wasm.TS_Offer_issuer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKOfferId Offer_id(const struct LDKOffer *NONNULL_PTR this_arg); @@ -51111,31 +52741,13 @@ export function Offer_expects_quantity(this_arg: bigint): boolean { const nativeResponseValue = wasm.TS_Offer_expects_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ Offer_request_invoice_deriving_payer_id(const struct LDKOffer *NONNULL_PTR this_arg, const struct LDKExpandedKey *NONNULL_PTR expanded_key, struct LDKNonce nonce, struct LDKThirtyTwoBytes payment_id); -/* @internal */ -export function Offer_request_invoice_deriving_payer_id(this_arg: bigint, expanded_key: bigint, nonce: bigint, payment_id: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Offer_request_invoice_deriving_payer_id(this_arg, expanded_key, nonce, payment_id); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ Offer_request_invoice_deriving_metadata(const struct LDKOffer *NONNULL_PTR this_arg, struct LDKPublicKey payer_id, const struct LDKExpandedKey *NONNULL_PTR expanded_key, struct LDKNonce nonce, struct LDKThirtyTwoBytes payment_id); -/* @internal */ -export function Offer_request_invoice_deriving_metadata(this_arg: bigint, payer_id: number, expanded_key: bigint, nonce: bigint, payment_id: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Offer_request_invoice_deriving_metadata(this_arg, payer_id, expanded_key, nonce, payment_id); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ Offer_request_invoice(const struct LDKOffer *NONNULL_PTR this_arg, struct LDKCVec_u8Z metadata, struct LDKPublicKey payer_id); + // MUST_USE_RES struct LDKCResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ Offer_request_invoice(const struct LDKOffer *NONNULL_PTR this_arg, const struct LDKExpandedKey *NONNULL_PTR expanded_key, struct LDKNonce nonce, struct LDKThirtyTwoBytes payment_id); /* @internal */ -export function Offer_request_invoice(this_arg: bigint, metadata: number, payer_id: number): bigint { +export function Offer_request_invoice(this_arg: bigint, expanded_key: bigint, nonce: bigint, payment_id: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Offer_request_invoice(this_arg, metadata, payer_id); + const nativeResponseValue = wasm.TS_Offer_request_invoice(this_arg, expanded_key, nonce, payment_id); return nativeResponseValue; } // uint64_t Offer_hash(const struct LDKOffer *NONNULL_PTR o); @@ -51479,6 +53091,15 @@ export function Bolt12Invoice_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_Bolt12Invoice_clone(orig); return nativeResponseValue; +} + // MUST_USE_RES struct LDKCVec_BlindedPaymentPathZ UnsignedBolt12Invoice_payment_paths(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); +/* @internal */ +export function UnsignedBolt12Invoice_payment_paths(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_payment_paths(this_arg); + return nativeResponseValue; } // MUST_USE_RES uint64_t UnsignedBolt12Invoice_created_at(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ @@ -51614,6 +53235,15 @@ export function UnsignedBolt12Invoice_supported_quantity(this_arg: bigint): bigi } const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_supported_quantity(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKPublicKey UnsignedBolt12Invoice_issuer_signing_pubkey(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); +/* @internal */ +export function UnsignedBolt12Invoice_issuer_signing_pubkey(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_issuer_signing_pubkey(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKu8slice UnsignedBolt12Invoice_payer_metadata(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ @@ -51642,13 +53272,13 @@ export function UnsignedBolt12Invoice_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey UnsignedBolt12Invoice_payer_id(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey UnsignedBolt12Invoice_payer_signing_pubkey(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ -export function UnsignedBolt12Invoice_payer_id(this_arg: bigint): number { +export function UnsignedBolt12Invoice_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_payer_id(this_arg); + const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString UnsignedBolt12Invoice_payer_note(const struct LDKUnsignedBolt12Invoice *NONNULL_PTR this_arg); @@ -51677,6 +53307,15 @@ export function UnsignedBolt12Invoice_amount_msats(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_UnsignedBolt12Invoice_amount_msats(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKCVec_BlindedPaymentPathZ Bolt12Invoice_payment_paths(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12Invoice_payment_paths(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12Invoice_payment_paths(this_arg); + return nativeResponseValue; } // MUST_USE_RES uint64_t Bolt12Invoice_created_at(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ @@ -51812,6 +53451,15 @@ export function Bolt12Invoice_supported_quantity(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_Bolt12Invoice_supported_quantity(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKPublicKey Bolt12Invoice_issuer_signing_pubkey(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12Invoice_issuer_signing_pubkey(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12Invoice_issuer_signing_pubkey(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKu8slice Bolt12Invoice_payer_metadata(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ @@ -51840,13 +53488,13 @@ export function Bolt12Invoice_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_Bolt12Invoice_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey Bolt12Invoice_payer_id(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey Bolt12Invoice_payer_signing_pubkey(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); /* @internal */ -export function Bolt12Invoice_payer_id(this_arg: bigint): number { +export function Bolt12Invoice_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt12Invoice_payer_id(this_arg); + const nativeResponseValue = wasm.TS_Bolt12Invoice_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString Bolt12Invoice_payer_note(const struct LDKBolt12Invoice *NONNULL_PTR this_arg); @@ -52128,112 +53776,67 @@ export function InvoiceError_read(ser: number): bigint { const nativeResponseValue = wasm.TS_InvoiceError_read(ser); return nativeResponseValue; } - // void InvoiceRequestWithExplicitPayerIdBuilder_free(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_obj); -/* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_free(this_obj: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_free(this_obj); - // debug statements here -} - // void InvoiceRequestWithDerivedPayerIdBuilder_free(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_obj); + // void InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_obj); /* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_free(this_obj: bigint): void { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(this_obj: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_free(this_obj); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free(this_obj); // debug statements here } - // MUST_USE_RES struct LDKCResult_UnsignedInvoiceRequestBolt12SemanticErrorZ InvoiceRequestWithExplicitPayerIdBuilder_build(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg); + // MUST_USE_RES struct LDKCResult_InvoiceRequestBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg); /* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_build(this_arg: bigint): bigint { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(this_arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_build(this_arg); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithExplicitPayerIdBuilder_chain(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg, enum LDKNetwork network); + // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg, enum LDKNetwork network); /* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_chain(this_arg: bigint, network: Network): bigint { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(this_arg: bigint, network: Network): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_chain(this_arg, network); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(this_arg, network); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg, uint64_t amount_msats); + // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg, uint64_t amount_msats); /* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(this_arg: bigint, amount_msats: bigint): bigint { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(this_arg: bigint, amount_msats: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(this_arg, amount_msats); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(this_arg, amount_msats); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithExplicitPayerIdBuilder_quantity(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg, uint64_t quantity); + // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg, uint64_t quantity); /* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_quantity(this_arg: bigint, quantity: bigint): bigint { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(this_arg: bigint, quantity: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_quantity(this_arg, quantity); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(this_arg, quantity); return nativeResponseValue; } - // MUST_USE_RES void InvoiceRequestWithExplicitPayerIdBuilder_payer_note(struct LDKInvoiceRequestWithExplicitPayerIdBuilder this_arg, struct LDKStr payer_note); + // MUST_USE_RES void InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg, struct LDKStr payer_note); /* @internal */ -export function InvoiceRequestWithExplicitPayerIdBuilder_payer_note(this_arg: bigint, payer_note: number): void { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(this_arg: bigint, payer_note: number): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithExplicitPayerIdBuilder_payer_note(this_arg, payer_note); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(this_arg, payer_note); // debug statements here } - // MUST_USE_RES struct LDKCResult_InvoiceRequestBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg); -/* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(this_arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(this_arg); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerIdBuilder_chain(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg, enum LDKNetwork network); -/* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_chain(this_arg: bigint, network: Network): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_chain(this_arg, network); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg, uint64_t amount_msats); -/* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(this_arg: bigint, amount_msats: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(this_arg, amount_msats); - return nativeResponseValue; -} - // MUST_USE_RES struct LDKCResult_NoneBolt12SemanticErrorZ InvoiceRequestWithDerivedPayerIdBuilder_quantity(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg, uint64_t quantity); -/* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_quantity(this_arg: bigint, quantity: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_quantity(this_arg, quantity); - return nativeResponseValue; -} - // MUST_USE_RES void InvoiceRequestWithDerivedPayerIdBuilder_payer_note(struct LDKInvoiceRequestWithDerivedPayerIdBuilder this_arg, struct LDKStr payer_note); + // MUST_USE_RES void InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(struct LDKInvoiceRequestWithDerivedPayerSigningPubkeyBuilder this_arg, struct LDKHumanReadableName hrn); /* @internal */ -export function InvoiceRequestWithDerivedPayerIdBuilder_payer_note(this_arg: bigint, payer_note: number): void { +export function InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(this_arg: bigint, hrn: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerIdBuilder_payer_note(this_arg, payer_note); + const nativeResponseValue = wasm.TS_InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(this_arg, hrn); // debug statements here } // void UnsignedInvoiceRequest_free(struct LDKUnsignedInvoiceRequest this_obj); @@ -52434,13 +54037,13 @@ export function UnsignedInvoiceRequest_supported_quantity(this_arg: bigint): big const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_supported_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey UnsignedInvoiceRequest_signing_pubkey(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey UnsignedInvoiceRequest_issuer_signing_pubkey(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function UnsignedInvoiceRequest_signing_pubkey(this_arg: bigint): number { +export function UnsignedInvoiceRequest_issuer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_signing_pubkey(this_arg); + const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_issuer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKu8slice UnsignedInvoiceRequest_payer_metadata(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); @@ -52469,6 +54072,15 @@ export function UnsignedInvoiceRequest_amount_msats(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_amount_msats(this_arg); return nativeResponseValue; +} + // MUST_USE_RES bool UnsignedInvoiceRequest_has_amount_msats(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function UnsignedInvoiceRequest_has_amount_msats(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_has_amount_msats(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKInvoiceRequestFeatures UnsignedInvoiceRequest_invoice_request_features(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ @@ -52488,13 +54100,13 @@ export function UnsignedInvoiceRequest_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey UnsignedInvoiceRequest_payer_id(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey UnsignedInvoiceRequest_payer_signing_pubkey(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function UnsignedInvoiceRequest_payer_id(this_arg: bigint): number { +export function UnsignedInvoiceRequest_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_payer_id(this_arg); + const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString UnsignedInvoiceRequest_payer_note(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); @@ -52505,6 +54117,15 @@ export function UnsignedInvoiceRequest_payer_note(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_payer_note(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKHumanReadableName UnsignedInvoiceRequest_offer_from_hrn(const struct LDKUnsignedInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function UnsignedInvoiceRequest_offer_from_hrn(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnsignedInvoiceRequest_offer_from_hrn(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKCVec_ThirtyTwoBytesZ InvoiceRequest_chains(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ @@ -52587,13 +54208,13 @@ export function InvoiceRequest_supported_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_InvoiceRequest_supported_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey InvoiceRequest_signing_pubkey(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey InvoiceRequest_issuer_signing_pubkey(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function InvoiceRequest_signing_pubkey(this_arg: bigint): number { +export function InvoiceRequest_issuer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequest_signing_pubkey(this_arg); + const nativeResponseValue = wasm.TS_InvoiceRequest_issuer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKu8slice InvoiceRequest_payer_metadata(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); @@ -52622,6 +54243,15 @@ export function InvoiceRequest_amount_msats(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_InvoiceRequest_amount_msats(this_arg); return nativeResponseValue; +} + // MUST_USE_RES bool InvoiceRequest_has_amount_msats(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function InvoiceRequest_has_amount_msats(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InvoiceRequest_has_amount_msats(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKInvoiceRequestFeatures InvoiceRequest_invoice_request_features(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ @@ -52641,13 +54271,13 @@ export function InvoiceRequest_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_InvoiceRequest_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey InvoiceRequest_payer_id(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey InvoiceRequest_payer_signing_pubkey(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function InvoiceRequest_payer_id(this_arg: bigint): number { +export function InvoiceRequest_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequest_payer_id(this_arg); + const nativeResponseValue = wasm.TS_InvoiceRequest_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString InvoiceRequest_payer_note(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); @@ -52658,6 +54288,15 @@ export function InvoiceRequest_payer_note(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_InvoiceRequest_payer_note(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKHumanReadableName InvoiceRequest_offer_from_hrn(const struct LDKInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function InvoiceRequest_offer_from_hrn(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InvoiceRequest_offer_from_hrn(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKCResult_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ InvoiceRequest_respond_with_no_std(const struct LDKInvoiceRequest *NONNULL_PTR this_arg, struct LDKCVec_BlindedPaymentPathZ payment_paths, struct LDKThirtyTwoBytes payment_hash, uint64_t created_at); /* @internal */ @@ -52776,13 +54415,13 @@ export function VerifiedInvoiceRequest_supported_quantity(this_arg: bigint): big const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_supported_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey VerifiedInvoiceRequest_signing_pubkey(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey VerifiedInvoiceRequest_issuer_signing_pubkey(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function VerifiedInvoiceRequest_signing_pubkey(this_arg: bigint): number { +export function VerifiedInvoiceRequest_issuer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_signing_pubkey(this_arg); + const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_issuer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKu8slice VerifiedInvoiceRequest_payer_metadata(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); @@ -52811,6 +54450,15 @@ export function VerifiedInvoiceRequest_amount_msats(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_amount_msats(this_arg); return nativeResponseValue; +} + // MUST_USE_RES bool VerifiedInvoiceRequest_has_amount_msats(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function VerifiedInvoiceRequest_has_amount_msats(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_has_amount_msats(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKInvoiceRequestFeatures VerifiedInvoiceRequest_invoice_request_features(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ @@ -52830,13 +54478,13 @@ export function VerifiedInvoiceRequest_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey VerifiedInvoiceRequest_payer_id(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey VerifiedInvoiceRequest_payer_signing_pubkey(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); /* @internal */ -export function VerifiedInvoiceRequest_payer_id(this_arg: bigint): number { +export function VerifiedInvoiceRequest_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_payer_id(this_arg); + const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString VerifiedInvoiceRequest_payer_note(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); @@ -52847,6 +54495,15 @@ export function VerifiedInvoiceRequest_payer_note(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_payer_note(this_arg); return nativeResponseValue; +} + // MUST_USE_RES struct LDKHumanReadableName VerifiedInvoiceRequest_offer_from_hrn(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg); +/* @internal */ +export function VerifiedInvoiceRequest_offer_from_hrn(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_VerifiedInvoiceRequest_offer_from_hrn(this_arg); + return nativeResponseValue; } // MUST_USE_RES struct LDKCResult_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ VerifiedInvoiceRequest_respond_with_no_std(const struct LDKVerifiedInvoiceRequest *NONNULL_PTR this_arg, struct LDKCVec_BlindedPaymentPathZ payment_paths, struct LDKThirtyTwoBytes payment_hash, uint64_t created_at); /* @internal */ @@ -52883,6 +54540,15 @@ export function InvoiceRequest_write(obj: bigint): number { } const nativeResponseValue = wasm.TS_InvoiceRequest_write(obj); return nativeResponseValue; +} + // struct LDKCResult_InvoiceRequestDecodeErrorZ InvoiceRequest_read(struct LDKu8slice ser); +/* @internal */ +export function InvoiceRequest_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InvoiceRequest_read(ser); + return nativeResponseValue; } // void InvoiceRequestFields_free(struct LDKInvoiceRequestFields this_obj); /* @internal */ @@ -52893,22 +54559,22 @@ export function InvoiceRequestFields_free(this_obj: bigint): void { const nativeResponseValue = wasm.TS_InvoiceRequestFields_free(this_obj); // debug statements here } - // struct LDKPublicKey InvoiceRequestFields_get_payer_id(const struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr); + // struct LDKPublicKey InvoiceRequestFields_get_payer_signing_pubkey(const struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr); /* @internal */ -export function InvoiceRequestFields_get_payer_id(this_ptr: bigint): number { +export function InvoiceRequestFields_get_payer_signing_pubkey(this_ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestFields_get_payer_id(this_ptr); + const nativeResponseValue = wasm.TS_InvoiceRequestFields_get_payer_signing_pubkey(this_ptr); return nativeResponseValue; } - // void InvoiceRequestFields_set_payer_id(struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr, struct LDKPublicKey val); + // void InvoiceRequestFields_set_payer_signing_pubkey(struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr, struct LDKPublicKey val); /* @internal */ -export function InvoiceRequestFields_set_payer_id(this_ptr: bigint, val: number): void { +export function InvoiceRequestFields_set_payer_signing_pubkey(this_ptr: bigint, val: number): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestFields_set_payer_id(this_ptr, val); + const nativeResponseValue = wasm.TS_InvoiceRequestFields_set_payer_signing_pubkey(this_ptr, val); // debug statements here } // struct LDKCOption_u64Z InvoiceRequestFields_get_quantity(const struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr); @@ -52947,13 +54613,31 @@ export function InvoiceRequestFields_set_payer_note_truncated(this_ptr: bigint, const nativeResponseValue = wasm.TS_InvoiceRequestFields_set_payer_note_truncated(this_ptr, val); // debug statements here } - // MUST_USE_RES struct LDKInvoiceRequestFields InvoiceRequestFields_new(struct LDKPublicKey payer_id_arg, struct LDKCOption_u64Z quantity_arg, struct LDKUntrustedString payer_note_truncated_arg); + // struct LDKHumanReadableName InvoiceRequestFields_get_human_readable_name(const struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr); /* @internal */ -export function InvoiceRequestFields_new(payer_id_arg: number, quantity_arg: bigint, payer_note_truncated_arg: bigint): bigint { +export function InvoiceRequestFields_get_human_readable_name(this_ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_InvoiceRequestFields_new(payer_id_arg, quantity_arg, payer_note_truncated_arg); + const nativeResponseValue = wasm.TS_InvoiceRequestFields_get_human_readable_name(this_ptr); + return nativeResponseValue; +} + // void InvoiceRequestFields_set_human_readable_name(struct LDKInvoiceRequestFields *NONNULL_PTR this_ptr, struct LDKHumanReadableName val); +/* @internal */ +export function InvoiceRequestFields_set_human_readable_name(this_ptr: bigint, val: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InvoiceRequestFields_set_human_readable_name(this_ptr, val); + // debug statements here +} + // MUST_USE_RES struct LDKInvoiceRequestFields InvoiceRequestFields_new(struct LDKPublicKey payer_signing_pubkey_arg, struct LDKCOption_u64Z quantity_arg, struct LDKUntrustedString payer_note_truncated_arg, struct LDKHumanReadableName human_readable_name_arg); +/* @internal */ +export function InvoiceRequestFields_new(payer_signing_pubkey_arg: number, quantity_arg: bigint, payer_note_truncated_arg: bigint, human_readable_name_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InvoiceRequestFields_new(payer_signing_pubkey_arg, quantity_arg, payer_note_truncated_arg, human_readable_name_arg); return nativeResponseValue; } // uint64_t InvoiceRequestFields_clone_ptr(LDKInvoiceRequestFields *NONNULL_PTR arg); @@ -53307,31 +54991,22 @@ export function Bolt12SemanticError_missing_description(): Bolt12SemanticError { const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_description(); return nativeResponseValue; } - // enum LDKBolt12SemanticError Bolt12SemanticError_missing_signing_pubkey(void); -/* @internal */ -export function Bolt12SemanticError_missing_signing_pubkey(): Bolt12SemanticError { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_signing_pubkey(); - return nativeResponseValue; -} - // enum LDKBolt12SemanticError Bolt12SemanticError_invalid_signing_pubkey(void); + // enum LDKBolt12SemanticError Bolt12SemanticError_missing_issuer_signing_pubkey(void); /* @internal */ -export function Bolt12SemanticError_invalid_signing_pubkey(): Bolt12SemanticError { +export function Bolt12SemanticError_missing_issuer_signing_pubkey(): Bolt12SemanticError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt12SemanticError_invalid_signing_pubkey(); + const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_issuer_signing_pubkey(); return nativeResponseValue; } - // enum LDKBolt12SemanticError Bolt12SemanticError_unexpected_signing_pubkey(void); + // enum LDKBolt12SemanticError Bolt12SemanticError_unexpected_issuer_signing_pubkey(void); /* @internal */ -export function Bolt12SemanticError_unexpected_signing_pubkey(): Bolt12SemanticError { +export function Bolt12SemanticError_unexpected_issuer_signing_pubkey(): Bolt12SemanticError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt12SemanticError_unexpected_signing_pubkey(); + const nativeResponseValue = wasm.TS_Bolt12SemanticError_unexpected_issuer_signing_pubkey(); return nativeResponseValue; } // enum LDKBolt12SemanticError Bolt12SemanticError_missing_quantity(void); @@ -53388,13 +55063,13 @@ export function Bolt12SemanticError_missing_payer_metadata(): Bolt12SemanticErro const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_payer_metadata(); return nativeResponseValue; } - // enum LDKBolt12SemanticError Bolt12SemanticError_missing_payer_id(void); + // enum LDKBolt12SemanticError Bolt12SemanticError_missing_payer_signing_pubkey(void); /* @internal */ -export function Bolt12SemanticError_missing_payer_id(): Bolt12SemanticError { +export function Bolt12SemanticError_missing_payer_signing_pubkey(): Bolt12SemanticError { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_payer_id(); + const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_payer_signing_pubkey(); return nativeResponseValue; } // enum LDKBolt12SemanticError Bolt12SemanticError_duplicate_payment_id(void); @@ -53459,6 +55134,24 @@ export function Bolt12SemanticError_unexpected_payment_hash(): Bolt12SemanticErr } const nativeResponseValue = wasm.TS_Bolt12SemanticError_unexpected_payment_hash(); return nativeResponseValue; +} + // enum LDKBolt12SemanticError Bolt12SemanticError_missing_signing_pubkey(void); +/* @internal */ +export function Bolt12SemanticError_missing_signing_pubkey(): Bolt12SemanticError { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_signing_pubkey(); + return nativeResponseValue; +} + // enum LDKBolt12SemanticError Bolt12SemanticError_invalid_signing_pubkey(void); +/* @internal */ +export function Bolt12SemanticError_invalid_signing_pubkey(): Bolt12SemanticError { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12SemanticError_invalid_signing_pubkey(); + return nativeResponseValue; } // enum LDKBolt12SemanticError Bolt12SemanticError_missing_signature(void); /* @internal */ @@ -53468,6 +55161,15 @@ export function Bolt12SemanticError_missing_signature(): Bolt12SemanticError { } const nativeResponseValue = wasm.TS_Bolt12SemanticError_missing_signature(); return nativeResponseValue; +} + // enum LDKBolt12SemanticError Bolt12SemanticError_unexpected_human_readable_name(void); +/* @internal */ +export function Bolt12SemanticError_unexpected_human_readable_name(): Bolt12SemanticError { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12SemanticError_unexpected_human_readable_name(); + return nativeResponseValue; } // void RefundMaybeWithDerivedMetadataBuilder_free(struct LDKRefundMaybeWithDerivedMetadataBuilder this_obj); /* @internal */ @@ -53496,22 +55198,22 @@ export function RefundMaybeWithDerivedMetadataBuilder_clone(orig: bigint): bigin const nativeResponseValue = wasm.TS_RefundMaybeWithDerivedMetadataBuilder_clone(orig); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ RefundMaybeWithDerivedMetadataBuilder_new(struct LDKCVec_u8Z metadata, struct LDKPublicKey payer_id, uint64_t amount_msats); + // MUST_USE_RES struct LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ RefundMaybeWithDerivedMetadataBuilder_new(struct LDKCVec_u8Z metadata, struct LDKPublicKey signing_pubkey, uint64_t amount_msats); /* @internal */ -export function RefundMaybeWithDerivedMetadataBuilder_new(metadata: number, payer_id: number, amount_msats: bigint): bigint { +export function RefundMaybeWithDerivedMetadataBuilder_new(metadata: number, signing_pubkey: number, amount_msats: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_RefundMaybeWithDerivedMetadataBuilder_new(metadata, payer_id, amount_msats); + const nativeResponseValue = wasm.TS_RefundMaybeWithDerivedMetadataBuilder_new(metadata, signing_pubkey, amount_msats); return nativeResponseValue; } - // MUST_USE_RES struct LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(struct LDKPublicKey node_id, const struct LDKExpandedKey *NONNULL_PTR expanded_key, struct LDKNonce nonce, uint64_t amount_msats, struct LDKThirtyTwoBytes payment_id); + // MUST_USE_RES struct LDKCResult_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(struct LDKPublicKey node_id, const struct LDKExpandedKey *NONNULL_PTR expanded_key, struct LDKNonce nonce, uint64_t amount_msats, struct LDKThirtyTwoBytes payment_id); /* @internal */ -export function RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(node_id: number, expanded_key: bigint, nonce: bigint, amount_msats: bigint, payment_id: number): bigint { +export function RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(node_id: number, expanded_key: bigint, nonce: bigint, amount_msats: bigint, payment_id: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(node_id, expanded_key, nonce, amount_msats, payment_id); + const nativeResponseValue = wasm.TS_RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(node_id, expanded_key, nonce, amount_msats, payment_id); return nativeResponseValue; } // MUST_USE_RES void RefundMaybeWithDerivedMetadataBuilder_description(struct LDKRefundMaybeWithDerivedMetadataBuilder this_arg, struct LDKStr description); @@ -53703,13 +55405,13 @@ export function Refund_quantity(this_arg: bigint): bigint { const nativeResponseValue = wasm.TS_Refund_quantity(this_arg); return nativeResponseValue; } - // MUST_USE_RES struct LDKPublicKey Refund_payer_id(const struct LDKRefund *NONNULL_PTR this_arg); + // MUST_USE_RES struct LDKPublicKey Refund_payer_signing_pubkey(const struct LDKRefund *NONNULL_PTR this_arg); /* @internal */ -export function Refund_payer_id(this_arg: bigint): number { +export function Refund_payer_signing_pubkey(this_arg: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Refund_payer_id(this_arg); + const nativeResponseValue = wasm.TS_Refund_payer_signing_pubkey(this_arg); return nativeResponseValue; } // MUST_USE_RES struct LDKPrintableString Refund_payer_note(const struct LDKRefund *NONNULL_PTR this_arg); @@ -55466,15 +57168,6 @@ export function DefaultRouter_as_Router(this_arg: bigint): bigint { } const nativeResponseValue = wasm.TS_DefaultRouter_as_Router(this_arg); return nativeResponseValue; -} - // struct LDKMessageRouter DefaultRouter_as_MessageRouter(const struct LDKDefaultRouter *NONNULL_PTR this_arg); -/* @internal */ -export function DefaultRouter_as_MessageRouter(this_arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_DefaultRouter_as_MessageRouter(this_arg); - return nativeResponseValue; } // void Router_free(struct LDKRouter this_ptr); /* @internal */ @@ -57654,13 +59347,22 @@ export function ProbabilisticScorer_historical_estimated_channel_liquidity_proba const nativeResponseValue = wasm.TS_ProbabilisticScorer_historical_estimated_channel_liquidity_probabilities(this_arg, scid, target); return nativeResponseValue; } - // MUST_USE_RES struct LDKCOption_f64Z ProbabilisticScorer_historical_estimated_payment_success_probability(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg, uint64_t scid, const struct LDKNodeId *NONNULL_PTR target, uint64_t amount_msat, const struct LDKProbabilisticScoringFeeParameters *NONNULL_PTR params); + // MUST_USE_RES struct LDKCOption_f64Z ProbabilisticScorer_historical_estimated_payment_success_probability(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg, uint64_t scid, const struct LDKNodeId *NONNULL_PTR target, uint64_t amount_msat, const struct LDKProbabilisticScoringFeeParameters *NONNULL_PTR params, bool allow_fallback_estimation); +/* @internal */ +export function ProbabilisticScorer_historical_estimated_payment_success_probability(this_arg: bigint, scid: bigint, target: bigint, amount_msat: bigint, params: bigint, allow_fallback_estimation: boolean): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ProbabilisticScorer_historical_estimated_payment_success_probability(this_arg, scid, target, amount_msat, params, allow_fallback_estimation); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKCOption_f64Z ProbabilisticScorer_live_estimated_payment_success_probability(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg, uint64_t scid, const struct LDKNodeId *NONNULL_PTR target, uint64_t amount_msat, const struct LDKProbabilisticScoringFeeParameters *NONNULL_PTR params); /* @internal */ -export function ProbabilisticScorer_historical_estimated_payment_success_probability(this_arg: bigint, scid: bigint, target: bigint, amount_msat: bigint, params: bigint): bigint { +export function ProbabilisticScorer_live_estimated_payment_success_probability(this_arg: bigint, scid: bigint, target: bigint, amount_msat: bigint, params: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ProbabilisticScorer_historical_estimated_payment_success_probability(this_arg, scid, target, amount_msat, params); + const nativeResponseValue = wasm.TS_ProbabilisticScorer_live_estimated_payment_success_probability(this_arg, scid, target, amount_msat, params); return nativeResponseValue; } // struct LDKScoreLookUp ProbabilisticScorer_as_ScoreLookUp(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg); @@ -59220,31 +60922,13 @@ export function HeldHtlcAvailable_free(this_obj: bigint): void { const nativeResponseValue = wasm.TS_HeldHtlcAvailable_free(this_obj); // debug statements here } - // const uint8_t (*HeldHtlcAvailable_get_payment_release_secret(const struct LDKHeldHtlcAvailable *NONNULL_PTR this_ptr))[32]; + // MUST_USE_RES struct LDKHeldHtlcAvailable HeldHtlcAvailable_new(void); /* @internal */ -export function HeldHtlcAvailable_get_payment_release_secret(this_ptr: bigint): number { +export function HeldHtlcAvailable_new(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_HeldHtlcAvailable_get_payment_release_secret(this_ptr); - return nativeResponseValue; -} - // void HeldHtlcAvailable_set_payment_release_secret(struct LDKHeldHtlcAvailable *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); -/* @internal */ -export function HeldHtlcAvailable_set_payment_release_secret(this_ptr: bigint, val: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_HeldHtlcAvailable_set_payment_release_secret(this_ptr, val); - // debug statements here -} - // MUST_USE_RES struct LDKHeldHtlcAvailable HeldHtlcAvailable_new(struct LDKThirtyTwoBytes payment_release_secret_arg); -/* @internal */ -export function HeldHtlcAvailable_new(payment_release_secret_arg: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_HeldHtlcAvailable_new(payment_release_secret_arg); + const nativeResponseValue = wasm.TS_HeldHtlcAvailable_new(); return nativeResponseValue; } // uint64_t HeldHtlcAvailable_clone_ptr(LDKHeldHtlcAvailable *NONNULL_PTR arg); @@ -59274,31 +60958,13 @@ export function ReleaseHeldHtlc_free(this_obj: bigint): void { const nativeResponseValue = wasm.TS_ReleaseHeldHtlc_free(this_obj); // debug statements here } - // const uint8_t (*ReleaseHeldHtlc_get_payment_release_secret(const struct LDKReleaseHeldHtlc *NONNULL_PTR this_ptr))[32]; -/* @internal */ -export function ReleaseHeldHtlc_get_payment_release_secret(this_ptr: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ReleaseHeldHtlc_get_payment_release_secret(this_ptr); - return nativeResponseValue; -} - // void ReleaseHeldHtlc_set_payment_release_secret(struct LDKReleaseHeldHtlc *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); -/* @internal */ -export function ReleaseHeldHtlc_set_payment_release_secret(this_ptr: bigint, val: number): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_ReleaseHeldHtlc_set_payment_release_secret(this_ptr, val); - // debug statements here -} - // MUST_USE_RES struct LDKReleaseHeldHtlc ReleaseHeldHtlc_new(struct LDKThirtyTwoBytes payment_release_secret_arg); + // MUST_USE_RES struct LDKReleaseHeldHtlc ReleaseHeldHtlc_new(void); /* @internal */ -export function ReleaseHeldHtlc_new(payment_release_secret_arg: number): bigint { +export function ReleaseHeldHtlc_new(): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReleaseHeldHtlc_new(payment_release_secret_arg); + const nativeResponseValue = wasm.TS_ReleaseHeldHtlc_new(); return nativeResponseValue; } // uint64_t ReleaseHeldHtlc_clone_ptr(LDKReleaseHeldHtlc *NONNULL_PTR arg); @@ -59399,6 +61065,375 @@ export function AsyncPaymentsMessage_read(ser: number, arg: bigint): bigint { } const nativeResponseValue = wasm.TS_AsyncPaymentsMessage_read(ser, arg); return nativeResponseValue; +} + // void DNSResolverMessageHandler_free(struct LDKDNSResolverMessageHandler this_ptr); +/* @internal */ +export function DNSResolverMessageHandler_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessageHandler_free(this_ptr); + // debug statements here +} + // void DNSResolverMessage_free(struct LDKDNSResolverMessage this_ptr); +/* @internal */ +export function DNSResolverMessage_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_free(this_ptr); + // debug statements here +} + // uint64_t DNSResolverMessage_clone_ptr(LDKDNSResolverMessage *NONNULL_PTR arg); +/* @internal */ +export function DNSResolverMessage_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage DNSResolverMessage_clone(const struct LDKDNSResolverMessage *NONNULL_PTR orig); +/* @internal */ +export function DNSResolverMessage_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_clone(orig); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage DNSResolverMessage_dnssecquery(struct LDKDNSSECQuery a); +/* @internal */ +export function DNSResolverMessage_dnssecquery(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_dnssecquery(a); + return nativeResponseValue; +} + // struct LDKDNSResolverMessage DNSResolverMessage_dnssecproof(struct LDKDNSSECProof a); +/* @internal */ +export function DNSResolverMessage_dnssecproof(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_dnssecproof(a); + return nativeResponseValue; +} + // uint64_t DNSResolverMessage_hash(const struct LDKDNSResolverMessage *NONNULL_PTR o); +/* @internal */ +export function DNSResolverMessage_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_hash(o); + return nativeResponseValue; +} + // bool DNSResolverMessage_eq(const struct LDKDNSResolverMessage *NONNULL_PTR a, const struct LDKDNSResolverMessage *NONNULL_PTR b); +/* @internal */ +export function DNSResolverMessage_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_eq(a, b); + return nativeResponseValue; +} + // void DNSSECQuery_free(struct LDKDNSSECQuery this_obj); +/* @internal */ +export function DNSSECQuery_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECQuery_free(this_obj); + // debug statements here +} + // uint64_t DNSSECQuery_clone_ptr(LDKDNSSECQuery *NONNULL_PTR arg); +/* @internal */ +export function DNSSECQuery_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECQuery_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKDNSSECQuery DNSSECQuery_clone(const struct LDKDNSSECQuery *NONNULL_PTR orig); +/* @internal */ +export function DNSSECQuery_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECQuery_clone(orig); + return nativeResponseValue; +} + // uint64_t DNSSECQuery_hash(const struct LDKDNSSECQuery *NONNULL_PTR o); +/* @internal */ +export function DNSSECQuery_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECQuery_hash(o); + return nativeResponseValue; +} + // bool DNSSECQuery_eq(const struct LDKDNSSECQuery *NONNULL_PTR a, const struct LDKDNSSECQuery *NONNULL_PTR b); +/* @internal */ +export function DNSSECQuery_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECQuery_eq(a, b); + return nativeResponseValue; +} + // void DNSSECProof_free(struct LDKDNSSECProof this_obj); +/* @internal */ +export function DNSSECProof_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_free(this_obj); + // debug statements here +} + // struct LDKCVec_u8Z DNSSECProof_get_proof(const struct LDKDNSSECProof *NONNULL_PTR this_ptr); +/* @internal */ +export function DNSSECProof_get_proof(this_ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_get_proof(this_ptr); + return nativeResponseValue; +} + // void DNSSECProof_set_proof(struct LDKDNSSECProof *NONNULL_PTR this_ptr, struct LDKCVec_u8Z val); +/* @internal */ +export function DNSSECProof_set_proof(this_ptr: bigint, val: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_set_proof(this_ptr, val); + // debug statements here +} + // uint64_t DNSSECProof_clone_ptr(LDKDNSSECProof *NONNULL_PTR arg); +/* @internal */ +export function DNSSECProof_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKDNSSECProof DNSSECProof_clone(const struct LDKDNSSECProof *NONNULL_PTR orig); +/* @internal */ +export function DNSSECProof_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_clone(orig); + return nativeResponseValue; +} + // uint64_t DNSSECProof_hash(const struct LDKDNSSECProof *NONNULL_PTR o); +/* @internal */ +export function DNSSECProof_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_hash(o); + return nativeResponseValue; +} + // bool DNSSECProof_eq(const struct LDKDNSSECProof *NONNULL_PTR a, const struct LDKDNSSECProof *NONNULL_PTR b); +/* @internal */ +export function DNSSECProof_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSSECProof_eq(a, b); + return nativeResponseValue; +} + // MUST_USE_RES bool DNSResolverMessage_is_known_type(uint64_t tlv_type); +/* @internal */ +export function DNSResolverMessage_is_known_type(tlv_type: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_is_known_type(tlv_type); + return nativeResponseValue; +} + // struct LDKCVec_u8Z DNSResolverMessage_write(const struct LDKDNSResolverMessage *NONNULL_PTR obj); +/* @internal */ +export function DNSResolverMessage_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverMessageDecodeErrorZ DNSResolverMessage_read(struct LDKu8slice ser, uint64_t arg); +/* @internal */ +export function DNSResolverMessage_read(ser: number, arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_read(ser, arg); + return nativeResponseValue; +} + // struct LDKOnionMessageContents DNSResolverMessage_as_OnionMessageContents(const struct LDKDNSResolverMessage *NONNULL_PTR this_arg); +/* @internal */ +export function DNSResolverMessage_as_OnionMessageContents(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverMessage_as_OnionMessageContents(this_arg); + return nativeResponseValue; +} + // void HumanReadableName_free(struct LDKHumanReadableName this_obj); +/* @internal */ +export function HumanReadableName_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_free(this_obj); + // debug statements here +} + // uint64_t HumanReadableName_clone_ptr(LDKHumanReadableName *NONNULL_PTR arg); +/* @internal */ +export function HumanReadableName_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKHumanReadableName HumanReadableName_clone(const struct LDKHumanReadableName *NONNULL_PTR orig); +/* @internal */ +export function HumanReadableName_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_clone(orig); + return nativeResponseValue; +} + // uint64_t HumanReadableName_hash(const struct LDKHumanReadableName *NONNULL_PTR o); +/* @internal */ +export function HumanReadableName_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_hash(o); + return nativeResponseValue; +} + // bool HumanReadableName_eq(const struct LDKHumanReadableName *NONNULL_PTR a, const struct LDKHumanReadableName *NONNULL_PTR b); +/* @internal */ +export function HumanReadableName_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_eq(a, b); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKCResult_HumanReadableNameNoneZ HumanReadableName_new(struct LDKStr user, struct LDKStr domain); +/* @internal */ +export function HumanReadableName_new(user: number, domain: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_new(user, domain); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKCResult_HumanReadableNameNoneZ HumanReadableName_from_encoded(struct LDKStr encoded); +/* @internal */ +export function HumanReadableName_from_encoded(encoded: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_from_encoded(encoded); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKStr HumanReadableName_user(const struct LDKHumanReadableName *NONNULL_PTR this_arg); +/* @internal */ +export function HumanReadableName_user(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_user(this_arg); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKStr HumanReadableName_domain(const struct LDKHumanReadableName *NONNULL_PTR this_arg); +/* @internal */ +export function HumanReadableName_domain(this_arg: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_domain(this_arg); + return nativeResponseValue; +} + // struct LDKCVec_u8Z HumanReadableName_write(const struct LDKHumanReadableName *NONNULL_PTR obj); +/* @internal */ +export function HumanReadableName_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_HumanReadableNameDecodeErrorZ HumanReadableName_read(struct LDKu8slice ser); +/* @internal */ +export function HumanReadableName_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_HumanReadableName_read(ser); + return nativeResponseValue; +} + // void OMNameResolver_free(struct LDKOMNameResolver this_obj); +/* @internal */ +export function OMNameResolver_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_free(this_obj); + // debug statements here +} + // MUST_USE_RES struct LDKOMNameResolver OMNameResolver_new(uint32_t latest_block_time, uint32_t latest_block_height); +/* @internal */ +export function OMNameResolver_new(latest_block_time: number, latest_block_height: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_new(latest_block_time, latest_block_height); + return nativeResponseValue; +} + // void OMNameResolver_new_best_block(const struct LDKOMNameResolver *NONNULL_PTR this_arg, uint32_t height, uint32_t time); +/* @internal */ +export function OMNameResolver_new_best_block(this_arg: bigint, height: number, time: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_new_best_block(this_arg, height, time); + // debug statements here +} + // MUST_USE_RES struct LDKCResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ OMNameResolver_resolve_name(const struct LDKOMNameResolver *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_id, struct LDKHumanReadableName name, const struct LDKEntropySource *NONNULL_PTR entropy_source); +/* @internal */ +export function OMNameResolver_resolve_name(this_arg: bigint, payment_id: number, name: bigint, entropy_source: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_resolve_name(this_arg, payment_id, name, entropy_source); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ OMNameResolver_handle_dnssec_proof_for_offer(const struct LDKOMNameResolver *NONNULL_PTR this_arg, struct LDKDNSSECProof msg, struct LDKDNSResolverContext context); +/* @internal */ +export function OMNameResolver_handle_dnssec_proof_for_offer(this_arg: bigint, msg: bigint, context: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_handle_dnssec_proof_for_offer(this_arg, msg, context); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ OMNameResolver_handle_dnssec_proof_for_uri(const struct LDKOMNameResolver *NONNULL_PTR this_arg, struct LDKDNSSECProof msg, struct LDKDNSResolverContext context); +/* @internal */ +export function OMNameResolver_handle_dnssec_proof_for_uri(this_arg: bigint, msg: bigint, context: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_OMNameResolver_handle_dnssec_proof_for_uri(this_arg, msg, context); + return nativeResponseValue; } // void OnionMessenger_free(struct LDKOnionMessenger this_obj); /* @internal */ @@ -59507,6 +61542,15 @@ export function ResponseInstruction_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_ResponseInstruction_clone(orig); return nativeResponseValue; +} + // MUST_USE_RES struct LDKMessageSendInstructions ResponseInstruction_into_instructions(struct LDKResponseInstruction this_arg); +/* @internal */ +export function ResponseInstruction_into_instructions(this_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ResponseInstruction_into_instructions(this_arg); + return nativeResponseValue; } // void MessageSendInstructions_free(struct LDKMessageSendInstructions this_ptr); /* @internal */ @@ -60057,22 +62101,22 @@ export function peel_onion_message(msg: bigint, node_signer: bigint, logger: big const nativeResponseValue = wasm.TS_peel_onion_message(msg, node_signer, logger, custom_handler); return nativeResponseValue; } - // MUST_USE_RES struct LDKOnionMessenger OnionMessenger_new(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKLogger logger, struct LDKNodeIdLookUp node_id_lookup, struct LDKMessageRouter message_router, struct LDKOffersMessageHandler offers_handler, struct LDKAsyncPaymentsMessageHandler async_payments_handler, struct LDKCustomOnionMessageHandler custom_handler); + // MUST_USE_RES struct LDKOnionMessenger OnionMessenger_new(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKLogger logger, struct LDKNodeIdLookUp node_id_lookup, struct LDKMessageRouter message_router, struct LDKOffersMessageHandler offers_handler, struct LDKAsyncPaymentsMessageHandler async_payments_handler, struct LDKDNSResolverMessageHandler dns_resolver, struct LDKCustomOnionMessageHandler custom_handler); /* @internal */ -export function OnionMessenger_new(entropy_source: bigint, node_signer: bigint, logger: bigint, node_id_lookup: bigint, message_router: bigint, offers_handler: bigint, async_payments_handler: bigint, custom_handler: bigint): bigint { +export function OnionMessenger_new(entropy_source: bigint, node_signer: bigint, logger: bigint, node_id_lookup: bigint, message_router: bigint, offers_handler: bigint, async_payments_handler: bigint, dns_resolver: bigint, custom_handler: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_OnionMessenger_new(entropy_source, node_signer, logger, node_id_lookup, message_router, offers_handler, async_payments_handler, custom_handler); + const nativeResponseValue = wasm.TS_OnionMessenger_new(entropy_source, node_signer, logger, node_id_lookup, message_router, offers_handler, async_payments_handler, dns_resolver, custom_handler); return nativeResponseValue; } - // MUST_USE_RES struct LDKOnionMessenger OnionMessenger_new_with_offline_peer_interception(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKLogger logger, struct LDKNodeIdLookUp node_id_lookup, struct LDKMessageRouter message_router, struct LDKOffersMessageHandler offers_handler, struct LDKAsyncPaymentsMessageHandler async_payments_handler, struct LDKCustomOnionMessageHandler custom_handler); + // MUST_USE_RES struct LDKOnionMessenger OnionMessenger_new_with_offline_peer_interception(struct LDKEntropySource entropy_source, struct LDKNodeSigner node_signer, struct LDKLogger logger, struct LDKNodeIdLookUp node_id_lookup, struct LDKMessageRouter message_router, struct LDKOffersMessageHandler offers_handler, struct LDKAsyncPaymentsMessageHandler async_payments_handler, struct LDKDNSResolverMessageHandler dns_resolver, struct LDKCustomOnionMessageHandler custom_handler); /* @internal */ -export function OnionMessenger_new_with_offline_peer_interception(entropy_source: bigint, node_signer: bigint, logger: bigint, node_id_lookup: bigint, message_router: bigint, offers_handler: bigint, async_payments_handler: bigint, custom_handler: bigint): bigint { +export function OnionMessenger_new_with_offline_peer_interception(entropy_source: bigint, node_signer: bigint, logger: bigint, node_id_lookup: bigint, message_router: bigint, offers_handler: bigint, async_payments_handler: bigint, dns_resolver: bigint, custom_handler: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_OnionMessenger_new_with_offline_peer_interception(entropy_source, node_signer, logger, node_id_lookup, message_router, offers_handler, async_payments_handler, custom_handler); + const nativeResponseValue = wasm.TS_OnionMessenger_new_with_offline_peer_interception(entropy_source, node_signer, logger, node_id_lookup, message_router, offers_handler, async_payments_handler, dns_resolver, custom_handler); return nativeResponseValue; } // MUST_USE_RES struct LDKCResult_SendSuccessSendErrorZ OnionMessenger_send_onion_message(const struct LDKOnionMessenger *NONNULL_PTR this_arg, struct LDKOnionMessageContents contents, struct LDKMessageSendInstructions instructions); @@ -60398,6 +62442,15 @@ export function ParsedOnionMessageContents_offers(a: bigint): bigint { } const nativeResponseValue = wasm.TS_ParsedOnionMessageContents_offers(a); return nativeResponseValue; +} + // struct LDKParsedOnionMessageContents ParsedOnionMessageContents_dnsresolver(struct LDKDNSResolverMessage a); +/* @internal */ +export function ParsedOnionMessageContents_dnsresolver(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ParsedOnionMessageContents_dnsresolver(a); + return nativeResponseValue; } // struct LDKParsedOnionMessageContents ParsedOnionMessageContents_custom(struct LDKOnionMessageContents a); /* @internal */ @@ -61236,85 +63289,130 @@ export function ReceiveTlvs_free(this_obj: bigint): void { const nativeResponseValue = wasm.TS_ReceiveTlvs_free(this_obj); // debug statements here } - // const uint8_t (*ReceiveTlvs_get_payment_secret(const struct LDKReceiveTlvs *NONNULL_PTR this_ptr))[32]; + // uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg); +/* @internal */ +export function ReceiveTlvs_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_ReceiveTlvs_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKReceiveTlvs ReceiveTlvs_clone(const struct LDKReceiveTlvs *NONNULL_PTR orig); /* @internal */ -export function ReceiveTlvs_get_payment_secret(this_ptr: bigint): number { +export function ReceiveTlvs_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_get_payment_secret(this_ptr); + const nativeResponseValue = wasm.TS_ReceiveTlvs_clone(orig); return nativeResponseValue; } - // void ReceiveTlvs_set_payment_secret(struct LDKReceiveTlvs *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); + // MUST_USE_RES struct LDKUnauthenticatedReceiveTlvs ReceiveTlvs_tlvs(const struct LDKReceiveTlvs *NONNULL_PTR this_arg); /* @internal */ -export function ReceiveTlvs_set_payment_secret(this_ptr: bigint, val: number): void { +export function ReceiveTlvs_tlvs(this_arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_set_payment_secret(this_ptr, val); + const nativeResponseValue = wasm.TS_ReceiveTlvs_tlvs(this_arg); + return nativeResponseValue; +} + // void UnauthenticatedReceiveTlvs_free(struct LDKUnauthenticatedReceiveTlvs this_obj); +/* @internal */ +export function UnauthenticatedReceiveTlvs_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_free(this_obj); // debug statements here } - // struct LDKPaymentConstraints ReceiveTlvs_get_payment_constraints(const struct LDKReceiveTlvs *NONNULL_PTR this_ptr); + // const uint8_t (*UnauthenticatedReceiveTlvs_get_payment_secret(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr))[32]; /* @internal */ -export function ReceiveTlvs_get_payment_constraints(this_ptr: bigint): bigint { +export function UnauthenticatedReceiveTlvs_get_payment_secret(this_ptr: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_get_payment_constraints(this_ptr); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_get_payment_secret(this_ptr); return nativeResponseValue; } - // void ReceiveTlvs_set_payment_constraints(struct LDKReceiveTlvs *NONNULL_PTR this_ptr, struct LDKPaymentConstraints val); + // void UnauthenticatedReceiveTlvs_set_payment_secret(struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); /* @internal */ -export function ReceiveTlvs_set_payment_constraints(this_ptr: bigint, val: bigint): void { +export function UnauthenticatedReceiveTlvs_set_payment_secret(this_ptr: bigint, val: number): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_set_payment_constraints(this_ptr, val); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_set_payment_secret(this_ptr, val); // debug statements here } - // struct LDKPaymentContext ReceiveTlvs_get_payment_context(const struct LDKReceiveTlvs *NONNULL_PTR this_ptr); + // struct LDKPaymentConstraints UnauthenticatedReceiveTlvs_get_payment_constraints(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr); /* @internal */ -export function ReceiveTlvs_get_payment_context(this_ptr: bigint): bigint { +export function UnauthenticatedReceiveTlvs_get_payment_constraints(this_ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_get_payment_context(this_ptr); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_get_payment_constraints(this_ptr); return nativeResponseValue; } - // void ReceiveTlvs_set_payment_context(struct LDKReceiveTlvs *NONNULL_PTR this_ptr, struct LDKPaymentContext val); + // void UnauthenticatedReceiveTlvs_set_payment_constraints(struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr, struct LDKPaymentConstraints val); /* @internal */ -export function ReceiveTlvs_set_payment_context(this_ptr: bigint, val: bigint): void { +export function UnauthenticatedReceiveTlvs_set_payment_constraints(this_ptr: bigint, val: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_set_payment_context(this_ptr, val); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_set_payment_constraints(this_ptr, val); // debug statements here } - // MUST_USE_RES struct LDKReceiveTlvs ReceiveTlvs_new(struct LDKThirtyTwoBytes payment_secret_arg, struct LDKPaymentConstraints payment_constraints_arg, struct LDKPaymentContext payment_context_arg); + // struct LDKPaymentContext UnauthenticatedReceiveTlvs_get_payment_context(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr); /* @internal */ -export function ReceiveTlvs_new(payment_secret_arg: number, payment_constraints_arg: bigint, payment_context_arg: bigint): bigint { +export function UnauthenticatedReceiveTlvs_get_payment_context(this_ptr: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_new(payment_secret_arg, payment_constraints_arg, payment_context_arg); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_get_payment_context(this_ptr); return nativeResponseValue; } - // uint64_t ReceiveTlvs_clone_ptr(LDKReceiveTlvs *NONNULL_PTR arg); + // void UnauthenticatedReceiveTlvs_set_payment_context(struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR this_ptr, struct LDKPaymentContext val); /* @internal */ -export function ReceiveTlvs_clone_ptr(arg: bigint): bigint { +export function UnauthenticatedReceiveTlvs_set_payment_context(this_ptr: bigint, val: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_clone_ptr(arg); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_set_payment_context(this_ptr, val); + // debug statements here +} + // MUST_USE_RES struct LDKUnauthenticatedReceiveTlvs UnauthenticatedReceiveTlvs_new(struct LDKThirtyTwoBytes payment_secret_arg, struct LDKPaymentConstraints payment_constraints_arg, struct LDKPaymentContext payment_context_arg); +/* @internal */ +export function UnauthenticatedReceiveTlvs_new(payment_secret_arg: number, payment_constraints_arg: bigint, payment_context_arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_new(payment_secret_arg, payment_constraints_arg, payment_context_arg); return nativeResponseValue; } - // struct LDKReceiveTlvs ReceiveTlvs_clone(const struct LDKReceiveTlvs *NONNULL_PTR orig); + // uint64_t UnauthenticatedReceiveTlvs_clone_ptr(LDKUnauthenticatedReceiveTlvs *NONNULL_PTR arg); /* @internal */ -export function ReceiveTlvs_clone(orig: bigint): bigint { +export function UnauthenticatedReceiveTlvs_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ReceiveTlvs_clone(orig); + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKUnauthenticatedReceiveTlvs UnauthenticatedReceiveTlvs_clone(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR orig); +/* @internal */ +export function UnauthenticatedReceiveTlvs_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_clone(orig); + return nativeResponseValue; +} + // MUST_USE_RES struct LDKReceiveTlvs UnauthenticatedReceiveTlvs_authenticate(struct LDKUnauthenticatedReceiveTlvs this_arg, struct LDKNonce nonce, const struct LDKExpandedKey *NONNULL_PTR expanded_key); +/* @internal */ +export function UnauthenticatedReceiveTlvs_authenticate(this_arg: bigint, nonce: bigint, expanded_key: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_authenticate(this_arg, nonce, expanded_key); return nativeResponseValue; } // void PaymentRelay_free(struct LDKPaymentRelay this_obj); @@ -61505,15 +63603,6 @@ export function PaymentContext_clone(orig: bigint): bigint { } const nativeResponseValue = wasm.TS_PaymentContext_clone(orig); return nativeResponseValue; -} - // struct LDKPaymentContext PaymentContext_unknown(struct LDKUnknownPaymentContext a); -/* @internal */ -export function PaymentContext_unknown(a: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_PaymentContext_unknown(a); - return nativeResponseValue; } // struct LDKPaymentContext PaymentContext_bolt12_offer(struct LDKBolt12OfferContext a); /* @internal */ @@ -61541,42 +63630,6 @@ export function PaymentContext_eq(a: bigint, b: bigint): boolean { } const nativeResponseValue = wasm.TS_PaymentContext_eq(a, b); return nativeResponseValue; -} - // void UnknownPaymentContext_free(struct LDKUnknownPaymentContext this_obj); -/* @internal */ -export function UnknownPaymentContext_free(this_obj: bigint): void { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_free(this_obj); - // debug statements here -} - // uint64_t UnknownPaymentContext_clone_ptr(LDKUnknownPaymentContext *NONNULL_PTR arg); -/* @internal */ -export function UnknownPaymentContext_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKUnknownPaymentContext UnknownPaymentContext_clone(const struct LDKUnknownPaymentContext *NONNULL_PTR orig); -/* @internal */ -export function UnknownPaymentContext_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_clone(orig); - return nativeResponseValue; -} - // bool UnknownPaymentContext_eq(const struct LDKUnknownPaymentContext *NONNULL_PTR a, const struct LDKUnknownPaymentContext *NONNULL_PTR b); -/* @internal */ -export function UnknownPaymentContext_eq(a: bigint, b: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_eq(a, b); - return nativeResponseValue; } // void Bolt12OfferContext_free(struct LDKBolt12OfferContext this_obj); /* @internal */ @@ -61721,6 +63774,15 @@ export function ReceiveTlvs_write(obj: bigint): number { } const nativeResponseValue = wasm.TS_ReceiveTlvs_write(obj); return nativeResponseValue; +} + // struct LDKCVec_u8Z UnauthenticatedReceiveTlvs_write(const struct LDKUnauthenticatedReceiveTlvs *NONNULL_PTR obj); +/* @internal */ +export function UnauthenticatedReceiveTlvs_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_UnauthenticatedReceiveTlvs_write(obj); + return nativeResponseValue; } // struct LDKCVec_u8Z PaymentRelay_write(const struct LDKPaymentRelay *NONNULL_PTR obj); /* @internal */ @@ -61775,24 +63837,6 @@ export function PaymentContext_read(ser: number): bigint { } const nativeResponseValue = wasm.TS_PaymentContext_read(ser); return nativeResponseValue; -} - // struct LDKCVec_u8Z UnknownPaymentContext_write(const struct LDKUnknownPaymentContext *NONNULL_PTR obj); -/* @internal */ -export function UnknownPaymentContext_write(obj: bigint): number { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_write(obj); - return nativeResponseValue; -} - // struct LDKCResult_UnknownPaymentContextDecodeErrorZ UnknownPaymentContext_read(struct LDKu8slice ser); -/* @internal */ -export function UnknownPaymentContext_read(ser: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_UnknownPaymentContext_read(ser); - return nativeResponseValue; } // struct LDKCVec_u8Z Bolt12OfferContext_write(const struct LDKBolt12OfferContext *NONNULL_PTR obj); /* @internal */ @@ -62153,6 +64197,24 @@ export function MessageContext_offers(a: bigint): bigint { } const nativeResponseValue = wasm.TS_MessageContext_offers(a); return nativeResponseValue; +} + // struct LDKMessageContext MessageContext_async_payments(struct LDKAsyncPaymentsContext a); +/* @internal */ +export function MessageContext_async_payments(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MessageContext_async_payments(a); + return nativeResponseValue; +} + // struct LDKMessageContext MessageContext_dnsresolver(struct LDKDNSResolverContext a); +/* @internal */ +export function MessageContext_dnsresolver(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_MessageContext_dnsresolver(a); + return nativeResponseValue; } // struct LDKMessageContext MessageContext_custom(struct LDKCVec_u8Z a); /* @internal */ @@ -62208,13 +64270,13 @@ export function OffersContext_outbound_payment(payment_id: number, nonce: bigint const nativeResponseValue = wasm.TS_OffersContext_outbound_payment(payment_id, nonce, hmac); return nativeResponseValue; } - // struct LDKOffersContext OffersContext_inbound_payment(struct LDKThirtyTwoBytes payment_hash); + // struct LDKOffersContext OffersContext_inbound_payment(struct LDKThirtyTwoBytes payment_hash, struct LDKNonce nonce, struct LDKThirtyTwoBytes hmac); /* @internal */ -export function OffersContext_inbound_payment(payment_hash: number): bigint { +export function OffersContext_inbound_payment(payment_hash: number, nonce: bigint, hmac: number): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_OffersContext_inbound_payment(payment_hash); + const nativeResponseValue = wasm.TS_OffersContext_inbound_payment(payment_hash, nonce, hmac); return nativeResponseValue; } // bool OffersContext_eq(const struct LDKOffersContext *NONNULL_PTR a, const struct LDKOffersContext *NONNULL_PTR b); @@ -62225,6 +64287,42 @@ export function OffersContext_eq(a: bigint, b: bigint): boolean { } const nativeResponseValue = wasm.TS_OffersContext_eq(a, b); return nativeResponseValue; +} + // void AsyncPaymentsContext_free(struct LDKAsyncPaymentsContext this_ptr); +/* @internal */ +export function AsyncPaymentsContext_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_free(this_ptr); + // debug statements here +} + // uint64_t AsyncPaymentsContext_clone_ptr(LDKAsyncPaymentsContext *NONNULL_PTR arg); +/* @internal */ +export function AsyncPaymentsContext_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKAsyncPaymentsContext AsyncPaymentsContext_clone(const struct LDKAsyncPaymentsContext *NONNULL_PTR orig); +/* @internal */ +export function AsyncPaymentsContext_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_clone(orig); + return nativeResponseValue; +} + // struct LDKAsyncPaymentsContext AsyncPaymentsContext_outbound_payment(struct LDKThirtyTwoBytes payment_id, struct LDKNonce nonce, struct LDKThirtyTwoBytes hmac); +/* @internal */ +export function AsyncPaymentsContext_outbound_payment(payment_id: number, nonce: bigint, hmac: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_outbound_payment(payment_id, nonce, hmac); + return nativeResponseValue; } // struct LDKCVec_u8Z MessageContext_write(const struct LDKMessageContext *NONNULL_PTR obj); /* @internal */ @@ -62261,6 +64359,114 @@ export function OffersContext_read(ser: number): bigint { } const nativeResponseValue = wasm.TS_OffersContext_read(ser); return nativeResponseValue; +} + // struct LDKCVec_u8Z AsyncPaymentsContext_write(const struct LDKAsyncPaymentsContext *NONNULL_PTR obj); +/* @internal */ +export function AsyncPaymentsContext_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_AsyncPaymentsContextDecodeErrorZ AsyncPaymentsContext_read(struct LDKu8slice ser); +/* @internal */ +export function AsyncPaymentsContext_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_AsyncPaymentsContext_read(ser); + return nativeResponseValue; +} + // void DNSResolverContext_free(struct LDKDNSResolverContext this_obj); +/* @internal */ +export function DNSResolverContext_free(this_obj: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_free(this_obj); + // debug statements here +} + // const uint8_t (*DNSResolverContext_get_nonce(const struct LDKDNSResolverContext *NONNULL_PTR this_ptr))[16]; +/* @internal */ +export function DNSResolverContext_get_nonce(this_ptr: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_get_nonce(this_ptr); + return nativeResponseValue; +} + // void DNSResolverContext_set_nonce(struct LDKDNSResolverContext *NONNULL_PTR this_ptr, struct LDKSixteenBytes val); +/* @internal */ +export function DNSResolverContext_set_nonce(this_ptr: bigint, val: number): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_set_nonce(this_ptr, val); + // debug statements here +} + // MUST_USE_RES struct LDKDNSResolverContext DNSResolverContext_new(struct LDKSixteenBytes nonce_arg); +/* @internal */ +export function DNSResolverContext_new(nonce_arg: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_new(nonce_arg); + return nativeResponseValue; +} + // uint64_t DNSResolverContext_clone_ptr(LDKDNSResolverContext *NONNULL_PTR arg); +/* @internal */ +export function DNSResolverContext_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKDNSResolverContext DNSResolverContext_clone(const struct LDKDNSResolverContext *NONNULL_PTR orig); +/* @internal */ +export function DNSResolverContext_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_clone(orig); + return nativeResponseValue; +} + // uint64_t DNSResolverContext_hash(const struct LDKDNSResolverContext *NONNULL_PTR o); +/* @internal */ +export function DNSResolverContext_hash(o: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_hash(o); + return nativeResponseValue; +} + // bool DNSResolverContext_eq(const struct LDKDNSResolverContext *NONNULL_PTR a, const struct LDKDNSResolverContext *NONNULL_PTR b); +/* @internal */ +export function DNSResolverContext_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_eq(a, b); + return nativeResponseValue; +} + // struct LDKCVec_u8Z DNSResolverContext_write(const struct LDKDNSResolverContext *NONNULL_PTR obj); +/* @internal */ +export function DNSResolverContext_write(obj: bigint): number { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_write(obj); + return nativeResponseValue; +} + // struct LDKCResult_DNSResolverContextDecodeErrorZ DNSResolverContext_read(struct LDKu8slice ser); +/* @internal */ +export function DNSResolverContext_read(ser: number): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_DNSResolverContext_read(ser); + return nativeResponseValue; } // void FundingInfo_free(struct LDKFundingInfo this_ptr); /* @internal */ @@ -63035,6 +65241,15 @@ export function PaymentFailureReason_invoice_request_rejected(): PaymentFailureR } const nativeResponseValue = wasm.TS_PaymentFailureReason_invoice_request_rejected(); return nativeResponseValue; +} + // enum LDKPaymentFailureReason PaymentFailureReason_blinded_path_creation_failed(void); +/* @internal */ +export function PaymentFailureReason_blinded_path_creation_failed(): PaymentFailureReason { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_PaymentFailureReason_blinded_path_creation_failed(); + return nativeResponseValue; } // bool PaymentFailureReason_eq(const enum LDKPaymentFailureReason *NONNULL_PTR a, const enum LDKPaymentFailureReason *NONNULL_PTR b); /* @internal */ @@ -63062,6 +65277,60 @@ export function PaymentFailureReason_read(ser: number): bigint { } const nativeResponseValue = wasm.TS_PaymentFailureReason_read(ser); return nativeResponseValue; +} + // void InboundChannelFunds_free(struct LDKInboundChannelFunds this_ptr); +/* @internal */ +export function InboundChannelFunds_free(this_ptr: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_free(this_ptr); + // debug statements here +} + // uint64_t InboundChannelFunds_clone_ptr(LDKInboundChannelFunds *NONNULL_PTR arg); +/* @internal */ +export function InboundChannelFunds_clone_ptr(arg: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_clone_ptr(arg); + return nativeResponseValue; +} + // struct LDKInboundChannelFunds InboundChannelFunds_clone(const struct LDKInboundChannelFunds *NONNULL_PTR orig); +/* @internal */ +export function InboundChannelFunds_clone(orig: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_clone(orig); + return nativeResponseValue; +} + // struct LDKInboundChannelFunds InboundChannelFunds_push_msat(uint64_t a); +/* @internal */ +export function InboundChannelFunds_push_msat(a: bigint): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_push_msat(a); + return nativeResponseValue; +} + // struct LDKInboundChannelFunds InboundChannelFunds_dual_funded(void); +/* @internal */ +export function InboundChannelFunds_dual_funded(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_dual_funded(); + return nativeResponseValue; +} + // bool InboundChannelFunds_eq(const struct LDKInboundChannelFunds *NONNULL_PTR a, const struct LDKInboundChannelFunds *NONNULL_PTR b); +/* @internal */ +export function InboundChannelFunds_eq(a: bigint, b: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InboundChannelFunds_eq(a, b); + return nativeResponseValue; } // void Event_free(struct LDKEvent this_ptr); /* @internal */ @@ -63108,22 +65377,22 @@ export function Event_funding_tx_broadcast_safe(channel_id: bigint, user_channel const nativeResponseValue = wasm.TS_Event_funding_tx_broadcast_safe(channel_id, user_channel_id, funding_txo, counterparty_node_id, former_temporary_channel_id); return nativeResponseValue; } - // struct LDKEvent Event_payment_claimable(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields onion_fields, uint64_t amount_msat, uint64_t counterparty_skimmed_fee_msat, struct LDKPaymentPurpose purpose, struct LDKChannelId via_channel_id, struct LDKCOption_U128Z via_user_channel_id, struct LDKCOption_u32Z claim_deadline); + // struct LDKEvent Event_payment_claimable(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, struct LDKRecipientOnionFields onion_fields, uint64_t amount_msat, uint64_t counterparty_skimmed_fee_msat, struct LDKPaymentPurpose purpose, struct LDKChannelId via_channel_id, struct LDKCOption_U128Z via_user_channel_id, struct LDKCOption_u32Z claim_deadline, struct LDKCOption_ThirtyTwoBytesZ payment_id); /* @internal */ -export function Event_payment_claimable(receiver_node_id: number, payment_hash: number, onion_fields: bigint, amount_msat: bigint, counterparty_skimmed_fee_msat: bigint, purpose: bigint, via_channel_id: bigint, via_user_channel_id: bigint, claim_deadline: bigint): bigint { +export function Event_payment_claimable(receiver_node_id: number, payment_hash: number, onion_fields: bigint, amount_msat: bigint, counterparty_skimmed_fee_msat: bigint, purpose: bigint, via_channel_id: bigint, via_user_channel_id: bigint, claim_deadline: bigint, payment_id: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Event_payment_claimable(receiver_node_id, payment_hash, onion_fields, amount_msat, counterparty_skimmed_fee_msat, purpose, via_channel_id, via_user_channel_id, claim_deadline); + const nativeResponseValue = wasm.TS_Event_payment_claimable(receiver_node_id, payment_hash, onion_fields, amount_msat, counterparty_skimmed_fee_msat, purpose, via_channel_id, via_user_channel_id, claim_deadline, payment_id); return nativeResponseValue; } - // struct LDKEvent Event_payment_claimed(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, uint64_t amount_msat, struct LDKPaymentPurpose purpose, struct LDKCVec_ClaimedHTLCZ htlcs, struct LDKCOption_u64Z sender_intended_total_msat, struct LDKRecipientOnionFields onion_fields); + // struct LDKEvent Event_payment_claimed(struct LDKPublicKey receiver_node_id, struct LDKThirtyTwoBytes payment_hash, uint64_t amount_msat, struct LDKPaymentPurpose purpose, struct LDKCVec_ClaimedHTLCZ htlcs, struct LDKCOption_u64Z sender_intended_total_msat, struct LDKRecipientOnionFields onion_fields, struct LDKCOption_ThirtyTwoBytesZ payment_id); /* @internal */ -export function Event_payment_claimed(receiver_node_id: number, payment_hash: number, amount_msat: bigint, purpose: bigint, htlcs: number, sender_intended_total_msat: bigint, onion_fields: bigint): bigint { +export function Event_payment_claimed(receiver_node_id: number, payment_hash: number, amount_msat: bigint, purpose: bigint, htlcs: number, sender_intended_total_msat: bigint, onion_fields: bigint, payment_id: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Event_payment_claimed(receiver_node_id, payment_hash, amount_msat, purpose, htlcs, sender_intended_total_msat, onion_fields); + const nativeResponseValue = wasm.TS_Event_payment_claimed(receiver_node_id, payment_hash, amount_msat, purpose, htlcs, sender_intended_total_msat, onion_fields, payment_id); return nativeResponseValue; } // struct LDKEvent Event_connection_needed(struct LDKPublicKey node_id, struct LDKCVec_SocketAddressZ addresses); @@ -63225,13 +65494,13 @@ export function Event_spendable_outputs(outputs: number, channel_id: bigint): bi const nativeResponseValue = wasm.TS_Event_spendable_outputs(outputs, channel_id); return nativeResponseValue; } - // struct LDKEvent Event_payment_forwarded(struct LDKChannelId prev_channel_id, struct LDKChannelId next_channel_id, struct LDKCOption_U128Z prev_user_channel_id, struct LDKCOption_U128Z next_user_channel_id, struct LDKCOption_u64Z total_fee_earned_msat, struct LDKCOption_u64Z skimmed_fee_msat, bool claim_from_onchain_tx, struct LDKCOption_u64Z outbound_amount_forwarded_msat); + // struct LDKEvent Event_payment_forwarded(struct LDKChannelId prev_channel_id, struct LDKChannelId next_channel_id, struct LDKCOption_U128Z prev_user_channel_id, struct LDKCOption_U128Z next_user_channel_id, struct LDKPublicKey prev_node_id, struct LDKPublicKey next_node_id, struct LDKCOption_u64Z total_fee_earned_msat, struct LDKCOption_u64Z skimmed_fee_msat, bool claim_from_onchain_tx, struct LDKCOption_u64Z outbound_amount_forwarded_msat); /* @internal */ -export function Event_payment_forwarded(prev_channel_id: bigint, next_channel_id: bigint, prev_user_channel_id: bigint, next_user_channel_id: bigint, total_fee_earned_msat: bigint, skimmed_fee_msat: bigint, claim_from_onchain_tx: boolean, outbound_amount_forwarded_msat: bigint): bigint { +export function Event_payment_forwarded(prev_channel_id: bigint, next_channel_id: bigint, prev_user_channel_id: bigint, next_user_channel_id: bigint, prev_node_id: number, next_node_id: number, total_fee_earned_msat: bigint, skimmed_fee_msat: bigint, claim_from_onchain_tx: boolean, outbound_amount_forwarded_msat: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Event_payment_forwarded(prev_channel_id, next_channel_id, prev_user_channel_id, next_user_channel_id, total_fee_earned_msat, skimmed_fee_msat, claim_from_onchain_tx, outbound_amount_forwarded_msat); + const nativeResponseValue = wasm.TS_Event_payment_forwarded(prev_channel_id, next_channel_id, prev_user_channel_id, next_user_channel_id, prev_node_id, next_node_id, total_fee_earned_msat, skimmed_fee_msat, claim_from_onchain_tx, outbound_amount_forwarded_msat); return nativeResponseValue; } // struct LDKEvent Event_channel_pending(struct LDKChannelId channel_id, struct LDKU128 user_channel_id, struct LDKChannelId former_temporary_channel_id, struct LDKPublicKey counterparty_node_id, struct LDKOutPoint funding_txo, struct LDKChannelTypeFeatures channel_type); @@ -63252,13 +65521,13 @@ export function Event_channel_ready(channel_id: bigint, user_channel_id: number, const nativeResponseValue = wasm.TS_Event_channel_ready(channel_id, user_channel_id, counterparty_node_id, channel_type); return nativeResponseValue; } - // struct LDKEvent Event_channel_closed(struct LDKChannelId channel_id, struct LDKU128 user_channel_id, struct LDKClosureReason reason, struct LDKPublicKey counterparty_node_id, struct LDKCOption_u64Z channel_capacity_sats, struct LDKOutPoint channel_funding_txo); + // struct LDKEvent Event_channel_closed(struct LDKChannelId channel_id, struct LDKU128 user_channel_id, struct LDKClosureReason reason, struct LDKPublicKey counterparty_node_id, struct LDKCOption_u64Z channel_capacity_sats, struct LDKOutPoint channel_funding_txo, struct LDKCOption_u64Z last_local_balance_msat); /* @internal */ -export function Event_channel_closed(channel_id: bigint, user_channel_id: number, reason: bigint, counterparty_node_id: number, channel_capacity_sats: bigint, channel_funding_txo: bigint): bigint { +export function Event_channel_closed(channel_id: bigint, user_channel_id: number, reason: bigint, counterparty_node_id: number, channel_capacity_sats: bigint, channel_funding_txo: bigint, last_local_balance_msat: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Event_channel_closed(channel_id, user_channel_id, reason, counterparty_node_id, channel_capacity_sats, channel_funding_txo); + const nativeResponseValue = wasm.TS_Event_channel_closed(channel_id, user_channel_id, reason, counterparty_node_id, channel_capacity_sats, channel_funding_txo, last_local_balance_msat); return nativeResponseValue; } // struct LDKEvent Event_discard_funding(struct LDKChannelId channel_id, struct LDKFundingInfo funding_info); @@ -63270,13 +65539,13 @@ export function Event_discard_funding(channel_id: bigint, funding_info: bigint): const nativeResponseValue = wasm.TS_Event_discard_funding(channel_id, funding_info); return nativeResponseValue; } - // struct LDKEvent Event_open_channel_request(struct LDKChannelId temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, uint64_t push_msat, struct LDKChannelTypeFeatures channel_type, bool is_announced, struct LDKChannelParameters params); + // struct LDKEvent Event_open_channel_request(struct LDKChannelId temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, struct LDKInboundChannelFunds channel_negotiation_type, struct LDKChannelTypeFeatures channel_type, bool is_announced, struct LDKChannelParameters params); /* @internal */ -export function Event_open_channel_request(temporary_channel_id: bigint, counterparty_node_id: number, funding_satoshis: bigint, push_msat: bigint, channel_type: bigint, is_announced: boolean, params: bigint): bigint { +export function Event_open_channel_request(temporary_channel_id: bigint, counterparty_node_id: number, funding_satoshis: bigint, channel_negotiation_type: bigint, channel_type: bigint, is_announced: boolean, params: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Event_open_channel_request(temporary_channel_id, counterparty_node_id, funding_satoshis, push_msat, channel_type, is_announced, params); + const nativeResponseValue = wasm.TS_Event_open_channel_request(temporary_channel_id, counterparty_node_id, funding_satoshis, channel_negotiation_type, channel_type, is_announced, params); return nativeResponseValue; } // struct LDKEvent Event_htlchandling_failed(struct LDKChannelId prev_channel_id, struct LDKHTLCDestination failed_next_destination); @@ -66896,6 +69165,78 @@ export function NodeFeatures_requires_shutdown_anysegwit(this_arg: bigint): bool } const nativeResponseValue = wasm.TS_NodeFeatures_requires_shutdown_anysegwit(this_arg); return nativeResponseValue; +} + // void InitFeatures_set_dual_fund_optional(struct LDKInitFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function InitFeatures_set_dual_fund_optional(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_set_dual_fund_optional(this_arg); + // debug statements here +} + // void InitFeatures_set_dual_fund_required(struct LDKInitFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function InitFeatures_set_dual_fund_required(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_set_dual_fund_required(this_arg); + // debug statements here +} + // MUST_USE_RES bool InitFeatures_supports_dual_fund(const struct LDKInitFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function InitFeatures_supports_dual_fund(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_supports_dual_fund(this_arg); + return nativeResponseValue; +} + // void NodeFeatures_set_dual_fund_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_set_dual_fund_optional(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_set_dual_fund_optional(this_arg); + // debug statements here +} + // void NodeFeatures_set_dual_fund_required(struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_set_dual_fund_required(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_set_dual_fund_required(this_arg); + // debug statements here +} + // MUST_USE_RES bool NodeFeatures_supports_dual_fund(const struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_supports_dual_fund(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_supports_dual_fund(this_arg); + return nativeResponseValue; +} + // MUST_USE_RES bool InitFeatures_requires_dual_fund(const struct LDKInitFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function InitFeatures_requires_dual_fund(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_InitFeatures_requires_dual_fund(this_arg); + return nativeResponseValue; +} + // MUST_USE_RES bool NodeFeatures_requires_dual_fund(const struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_requires_dual_fund(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_requires_dual_fund(this_arg); + return nativeResponseValue; } // void InitFeatures_set_taproot_optional(struct LDKInitFeatures *NONNULL_PTR this_arg); /* @internal */ @@ -67517,6 +69858,33 @@ export function Bolt11InvoiceFeatures_supports_trampoline_routing(this_arg: bigi } const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_supports_trampoline_routing(this_arg); return nativeResponseValue; +} + // void Bolt12InvoiceFeatures_set_trampoline_routing_optional(struct LDKBolt12InvoiceFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12InvoiceFeatures_set_trampoline_routing_optional(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_set_trampoline_routing_optional(this_arg); + // debug statements here +} + // void Bolt12InvoiceFeatures_set_trampoline_routing_required(struct LDKBolt12InvoiceFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12InvoiceFeatures_set_trampoline_routing_required(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_set_trampoline_routing_required(this_arg); + // debug statements here +} + // MUST_USE_RES bool Bolt12InvoiceFeatures_supports_trampoline_routing(const struct LDKBolt12InvoiceFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12InvoiceFeatures_supports_trampoline_routing(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_supports_trampoline_routing(this_arg); + return nativeResponseValue; } // MUST_USE_RES bool InitFeatures_requires_trampoline_routing(const struct LDKInitFeatures *NONNULL_PTR this_arg); /* @internal */ @@ -67544,6 +69912,51 @@ export function Bolt11InvoiceFeatures_requires_trampoline_routing(this_arg: bigi } const nativeResponseValue = wasm.TS_Bolt11InvoiceFeatures_requires_trampoline_routing(this_arg); return nativeResponseValue; +} + // MUST_USE_RES bool Bolt12InvoiceFeatures_requires_trampoline_routing(const struct LDKBolt12InvoiceFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function Bolt12InvoiceFeatures_requires_trampoline_routing(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Bolt12InvoiceFeatures_requires_trampoline_routing(this_arg); + return nativeResponseValue; +} + // void NodeFeatures_set_dns_resolution_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_set_dns_resolution_optional(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_set_dns_resolution_optional(this_arg); + // debug statements here +} + // void NodeFeatures_set_dns_resolution_required(struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_set_dns_resolution_required(this_arg: bigint): void { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_set_dns_resolution_required(this_arg); + // debug statements here +} + // MUST_USE_RES bool NodeFeatures_supports_dns_resolution(const struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_supports_dns_resolution(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_supports_dns_resolution(this_arg); + return nativeResponseValue; +} + // MUST_USE_RES bool NodeFeatures_requires_dns_resolution(const struct LDKNodeFeatures *NONNULL_PTR this_arg); +/* @internal */ +export function NodeFeatures_requires_dns_resolution(this_arg: bigint): boolean { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_NodeFeatures_requires_dns_resolution(this_arg); + return nativeResponseValue; } // void RoutingFees_free(struct LDKRoutingFees this_obj); /* @internal */ @@ -68112,301 +70525,202 @@ export function RapidGossipSync_is_initial_sync_complete(this_arg: bigint): bool const nativeResponseValue = wasm.TS_RapidGossipSync_is_initial_sync_complete(this_arg); return nativeResponseValue; } - // void Bolt11ParseError_free(struct LDKBolt11ParseError this_ptr); + // void Bolt11ParseError_free(struct LDKBolt11ParseError this_obj); /* @internal */ -export function Bolt11ParseError_free(this_ptr: bigint): void { +export function Bolt11ParseError_free(this_obj: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_free(this_ptr); + const nativeResponseValue = wasm.TS_Bolt11ParseError_free(this_obj); // debug statements here } - // uint64_t Bolt11ParseError_clone_ptr(LDKBolt11ParseError *NONNULL_PTR arg); -/* @internal */ -export function Bolt11ParseError_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_clone(const struct LDKBolt11ParseError *NONNULL_PTR orig); -/* @internal */ -export function Bolt11ParseError_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_clone(orig); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_bech32_error(struct LDKBech32Error a); -/* @internal */ -export function Bolt11ParseError_bech32_error(a: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_bech32_error(a); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_parse_amount_error(struct LDKError a); -/* @internal */ -export function Bolt11ParseError_parse_amount_error(a: number): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_parse_amount_error(a); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_malformed_signature(enum LDKSecp256k1Error a); -/* @internal */ -export function Bolt11ParseError_malformed_signature(a: Secp256k1Error): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_malformed_signature(a); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_bad_prefix(void); -/* @internal */ -export function Bolt11ParseError_bad_prefix(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_bad_prefix(); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_unknown_currency(void); -/* @internal */ -export function Bolt11ParseError_unknown_currency(): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11ParseError_unknown_currency(); - return nativeResponseValue; -} - // struct LDKBolt11ParseError Bolt11ParseError_unknown_si_prefix(void); + // bool Bolt11ParseError_eq(const struct LDKBolt11ParseError *NONNULL_PTR a, const struct LDKBolt11ParseError *NONNULL_PTR b); /* @internal */ -export function Bolt11ParseError_unknown_si_prefix(): bigint { +export function Bolt11ParseError_eq(a: bigint, b: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_unknown_si_prefix(); + const nativeResponseValue = wasm.TS_Bolt11ParseError_eq(a, b); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_malformed_hrp(void); + // uint64_t Bolt11ParseError_clone_ptr(LDKBolt11ParseError *NONNULL_PTR arg); /* @internal */ -export function Bolt11ParseError_malformed_hrp(): bigint { +export function Bolt11ParseError_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_malformed_hrp(); + const nativeResponseValue = wasm.TS_Bolt11ParseError_clone_ptr(arg); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_too_short_data_part(void); + // struct LDKBolt11ParseError Bolt11ParseError_clone(const struct LDKBolt11ParseError *NONNULL_PTR orig); /* @internal */ -export function Bolt11ParseError_too_short_data_part(): bigint { +export function Bolt11ParseError_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_too_short_data_part(); + const nativeResponseValue = wasm.TS_Bolt11ParseError_clone(orig); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_unexpected_end_of_tagged_fields(void); + // void ParseOrSemanticError_free(struct LDKParseOrSemanticError this_ptr); /* @internal */ -export function Bolt11ParseError_unexpected_end_of_tagged_fields(): bigint { +export function ParseOrSemanticError_free(this_ptr: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_unexpected_end_of_tagged_fields(); - return nativeResponseValue; + const nativeResponseValue = wasm.TS_ParseOrSemanticError_free(this_ptr); + // debug statements here } - // struct LDKBolt11ParseError Bolt11ParseError_description_decode_error(struct LDKError a); + // uint64_t ParseOrSemanticError_clone_ptr(LDKParseOrSemanticError *NONNULL_PTR arg); /* @internal */ -export function Bolt11ParseError_description_decode_error(a: number): bigint { +export function ParseOrSemanticError_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_description_decode_error(a); + const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone_ptr(arg); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_padding_error(void); + // struct LDKParseOrSemanticError ParseOrSemanticError_clone(const struct LDKParseOrSemanticError *NONNULL_PTR orig); /* @internal */ -export function Bolt11ParseError_padding_error(): bigint { +export function ParseOrSemanticError_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_padding_error(); + const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone(orig); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_integer_overflow_error(void); + // struct LDKParseOrSemanticError ParseOrSemanticError_parse_error(struct LDKBolt11ParseError a); /* @internal */ -export function Bolt11ParseError_integer_overflow_error(): bigint { +export function ParseOrSemanticError_parse_error(a: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_integer_overflow_error(); + const nativeResponseValue = wasm.TS_ParseOrSemanticError_parse_error(a); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_invalid_seg_wit_program_length(void); + // struct LDKParseOrSemanticError ParseOrSemanticError_semantic_error(enum LDKBolt11SemanticError a); /* @internal */ -export function Bolt11ParseError_invalid_seg_wit_program_length(): bigint { +export function ParseOrSemanticError_semantic_error(a: Bolt11SemanticError): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_invalid_seg_wit_program_length(); + const nativeResponseValue = wasm.TS_ParseOrSemanticError_semantic_error(a); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_invalid_pub_key_hash_length(void); + // bool ParseOrSemanticError_eq(const struct LDKParseOrSemanticError *NONNULL_PTR a, const struct LDKParseOrSemanticError *NONNULL_PTR b); /* @internal */ -export function Bolt11ParseError_invalid_pub_key_hash_length(): bigint { +export function ParseOrSemanticError_eq(a: bigint, b: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_invalid_pub_key_hash_length(); + const nativeResponseValue = wasm.TS_ParseOrSemanticError_eq(a, b); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_invalid_script_hash_length(void); + // void Bolt11Invoice_free(struct LDKBolt11Invoice this_obj); /* @internal */ -export function Bolt11ParseError_invalid_script_hash_length(): bigint { +export function Bolt11Invoice_free(this_obj: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_invalid_script_hash_length(); - return nativeResponseValue; + const nativeResponseValue = wasm.TS_Bolt11Invoice_free(this_obj); + // debug statements here } - // struct LDKBolt11ParseError Bolt11ParseError_invalid_recovery_id(void); + // bool Bolt11Invoice_eq(const struct LDKBolt11Invoice *NONNULL_PTR a, const struct LDKBolt11Invoice *NONNULL_PTR b); /* @internal */ -export function Bolt11ParseError_invalid_recovery_id(): bigint { +export function Bolt11Invoice_eq(a: bigint, b: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_invalid_recovery_id(); + const nativeResponseValue = wasm.TS_Bolt11Invoice_eq(a, b); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_invalid_slice_length(struct LDKStr a); + // uint64_t Bolt11Invoice_clone_ptr(LDKBolt11Invoice *NONNULL_PTR arg); /* @internal */ -export function Bolt11ParseError_invalid_slice_length(a: number): bigint { +export function Bolt11Invoice_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_invalid_slice_length(a); + const nativeResponseValue = wasm.TS_Bolt11Invoice_clone_ptr(arg); return nativeResponseValue; } - // struct LDKBolt11ParseError Bolt11ParseError_skip(void); + // struct LDKBolt11Invoice Bolt11Invoice_clone(const struct LDKBolt11Invoice *NONNULL_PTR orig); /* @internal */ -export function Bolt11ParseError_skip(): bigint { +export function Bolt11Invoice_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_skip(); + const nativeResponseValue = wasm.TS_Bolt11Invoice_clone(orig); return nativeResponseValue; } - // bool Bolt11ParseError_eq(const struct LDKBolt11ParseError *NONNULL_PTR a, const struct LDKBolt11ParseError *NONNULL_PTR b); + // uint64_t Bolt11Invoice_hash(const struct LDKBolt11Invoice *NONNULL_PTR o); /* @internal */ -export function Bolt11ParseError_eq(a: bigint, b: bigint): boolean { +export function Bolt11Invoice_hash(o: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11ParseError_eq(a, b); + const nativeResponseValue = wasm.TS_Bolt11Invoice_hash(o); return nativeResponseValue; } - // void ParseOrSemanticError_free(struct LDKParseOrSemanticError this_ptr); + // void Bolt11InvoiceDescription_free(struct LDKBolt11InvoiceDescription this_ptr); /* @internal */ -export function ParseOrSemanticError_free(this_ptr: bigint): void { +export function Bolt11InvoiceDescription_free(this_ptr: bigint): void { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_free(this_ptr); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_free(this_ptr); // debug statements here } - // uint64_t ParseOrSemanticError_clone_ptr(LDKParseOrSemanticError *NONNULL_PTR arg); + // uint64_t Bolt11InvoiceDescription_clone_ptr(LDKBolt11InvoiceDescription *NONNULL_PTR arg); /* @internal */ -export function ParseOrSemanticError_clone_ptr(arg: bigint): bigint { +export function Bolt11InvoiceDescription_clone_ptr(arg: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone_ptr(arg); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_clone_ptr(arg); return nativeResponseValue; } - // struct LDKParseOrSemanticError ParseOrSemanticError_clone(const struct LDKParseOrSemanticError *NONNULL_PTR orig); + // struct LDKBolt11InvoiceDescription Bolt11InvoiceDescription_clone(const struct LDKBolt11InvoiceDescription *NONNULL_PTR orig); /* @internal */ -export function ParseOrSemanticError_clone(orig: bigint): bigint { +export function Bolt11InvoiceDescription_clone(orig: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone(orig); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_clone(orig); return nativeResponseValue; } - // struct LDKParseOrSemanticError ParseOrSemanticError_parse_error(struct LDKBolt11ParseError a); + // struct LDKBolt11InvoiceDescription Bolt11InvoiceDescription_direct(struct LDKDescription a); /* @internal */ -export function ParseOrSemanticError_parse_error(a: bigint): bigint { +export function Bolt11InvoiceDescription_direct(a: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_parse_error(a); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_direct(a); return nativeResponseValue; } - // struct LDKParseOrSemanticError ParseOrSemanticError_semantic_error(enum LDKBolt11SemanticError a); + // struct LDKBolt11InvoiceDescription Bolt11InvoiceDescription_hash(struct LDKSha256 a); /* @internal */ -export function ParseOrSemanticError_semantic_error(a: Bolt11SemanticError): bigint { +export function Bolt11InvoiceDescription_hash(a: bigint): bigint { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_semantic_error(a); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_hash(a); return nativeResponseValue; } - // bool ParseOrSemanticError_eq(const struct LDKParseOrSemanticError *NONNULL_PTR a, const struct LDKParseOrSemanticError *NONNULL_PTR b); + // bool Bolt11InvoiceDescription_eq(const struct LDKBolt11InvoiceDescription *NONNULL_PTR a, const struct LDKBolt11InvoiceDescription *NONNULL_PTR b); /* @internal */ -export function ParseOrSemanticError_eq(a: bigint, b: bigint): boolean { +export function Bolt11InvoiceDescription_eq(a: bigint, b: bigint): boolean { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_ParseOrSemanticError_eq(a, b); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_eq(a, b); return nativeResponseValue; } - // void Bolt11Invoice_free(struct LDKBolt11Invoice this_obj); + // struct LDKStr Bolt11InvoiceDescription_to_str(const struct LDKBolt11InvoiceDescription *NONNULL_PTR o); /* @internal */ -export function Bolt11Invoice_free(this_obj: bigint): void { +export function Bolt11InvoiceDescription_to_str(o: bigint): number { if(!isWasmInitialized) { throw new Error("initializeWasm() must be awaited first!"); } - const nativeResponseValue = wasm.TS_Bolt11Invoice_free(this_obj); - // debug statements here -} - // bool Bolt11Invoice_eq(const struct LDKBolt11Invoice *NONNULL_PTR a, const struct LDKBolt11Invoice *NONNULL_PTR b); -/* @internal */ -export function Bolt11Invoice_eq(a: bigint, b: bigint): boolean { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11Invoice_eq(a, b); - return nativeResponseValue; -} - // uint64_t Bolt11Invoice_clone_ptr(LDKBolt11Invoice *NONNULL_PTR arg); -/* @internal */ -export function Bolt11Invoice_clone_ptr(arg: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11Invoice_clone_ptr(arg); - return nativeResponseValue; -} - // struct LDKBolt11Invoice Bolt11Invoice_clone(const struct LDKBolt11Invoice *NONNULL_PTR orig); -/* @internal */ -export function Bolt11Invoice_clone(orig: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11Invoice_clone(orig); - return nativeResponseValue; -} - // uint64_t Bolt11Invoice_hash(const struct LDKBolt11Invoice *NONNULL_PTR o); -/* @internal */ -export function Bolt11Invoice_hash(o: bigint): bigint { - if(!isWasmInitialized) { - throw new Error("initializeWasm() must be awaited first!"); - } - const nativeResponseValue = wasm.TS_Bolt11Invoice_hash(o); + const nativeResponseValue = wasm.TS_Bolt11InvoiceDescription_to_str(o); return nativeResponseValue; } // void SignedRawBolt11Invoice_free(struct LDKSignedRawBolt11Invoice this_obj); @@ -69659,6 +71973,15 @@ export function Description_new(description: number): bigint { } const nativeResponseValue = wasm.TS_Description_new(description); return nativeResponseValue; +} + // MUST_USE_RES struct LDKDescription Description_empty(void); +/* @internal */ +export function Description_empty(): bigint { + if(!isWasmInitialized) { + throw new Error("initializeWasm() must be awaited first!"); + } + const nativeResponseValue = wasm.TS_Description_empty(); + return nativeResponseValue; } // MUST_USE_RES struct LDKUntrustedString Description_into_inner(struct LDKDescription this_arg); /* @internal */ @@ -70113,18 +72436,18 @@ js_invoke = function(obj_ptr: number, fn_id: number, arg1: bigint|number, arg2: case 12: fn = Object.getOwnPropertyDescriptor(obj, "sign_closing_transaction"); break; case 13: fn = Object.getOwnPropertyDescriptor(obj, "sign_holder_anchor_input"); break; case 14: fn = Object.getOwnPropertyDescriptor(obj, "sign_channel_announcement_with_funding_key"); break; - case 15: fn = Object.getOwnPropertyDescriptor(obj, "log"); break; - case 16: fn = Object.getOwnPropertyDescriptor(obj, "get_utxo"); break; - case 17: fn = Object.getOwnPropertyDescriptor(obj, "watch_channel"); break; - case 18: fn = Object.getOwnPropertyDescriptor(obj, "update_channel"); break; - case 19: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_monitor_events"); break; - case 20: fn = Object.getOwnPropertyDescriptor(obj, "broadcast_transactions"); break; - case 21: fn = Object.getOwnPropertyDescriptor(obj, "get_secure_random_bytes"); break; - case 22: fn = Object.getOwnPropertyDescriptor(obj, "get_inbound_payment_key_material"); break; - case 23: fn = Object.getOwnPropertyDescriptor(obj, "get_node_id"); break; - case 24: fn = Object.getOwnPropertyDescriptor(obj, "ecdh"); break; - case 25: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice"); break; - case 26: fn = Object.getOwnPropertyDescriptor(obj, "sign_bolt12_invoice_request"); break; + case 15: fn = Object.getOwnPropertyDescriptor(obj, "sign_splicing_funding_input"); break; + case 16: fn = Object.getOwnPropertyDescriptor(obj, "log"); break; + case 17: fn = Object.getOwnPropertyDescriptor(obj, "get_utxo"); break; + case 18: fn = Object.getOwnPropertyDescriptor(obj, "watch_channel"); break; + case 19: fn = Object.getOwnPropertyDescriptor(obj, "update_channel"); break; + case 20: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_monitor_events"); break; + case 21: fn = Object.getOwnPropertyDescriptor(obj, "broadcast_transactions"); break; + case 22: fn = Object.getOwnPropertyDescriptor(obj, "get_secure_random_bytes"); break; + case 23: fn = Object.getOwnPropertyDescriptor(obj, "get_inbound_payment_key"); break; + case 24: fn = Object.getOwnPropertyDescriptor(obj, "get_node_id"); break; + case 25: fn = Object.getOwnPropertyDescriptor(obj, "ecdh"); break; + case 26: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice"); break; case 27: fn = Object.getOwnPropertyDescriptor(obj, "sign_bolt12_invoice"); break; case 28: fn = Object.getOwnPropertyDescriptor(obj, "sign_gossip_message"); break; case 29: fn = Object.getOwnPropertyDescriptor(obj, "generate_channel_keys_id"); break; @@ -70133,12 +72456,12 @@ js_invoke = function(obj_ptr: number, fn_id: number, arg1: bigint|number, arg2: case 32: fn = Object.getOwnPropertyDescriptor(obj, "get_destination_script"); break; case 33: fn = Object.getOwnPropertyDescriptor(obj, "get_shutdown_scriptpubkey"); break; case 34: fn = Object.getOwnPropertyDescriptor(obj, "get_est_sat_per_1000_weight"); break; - case 35: fn = Object.getOwnPropertyDescriptor(obj, "find_path"); break; - case 36: fn = Object.getOwnPropertyDescriptor(obj, "create_blinded_paths"); break; - case 37: fn = Object.getOwnPropertyDescriptor(obj, "create_compact_blinded_paths"); break; - case 38: fn = Object.getOwnPropertyDescriptor(obj, "find_route"); break; - case 39: fn = Object.getOwnPropertyDescriptor(obj, "find_route_with_id"); break; - case 40: fn = Object.getOwnPropertyDescriptor(obj, "create_blinded_payment_paths"); break; + case 35: fn = Object.getOwnPropertyDescriptor(obj, "find_route"); break; + case 36: fn = Object.getOwnPropertyDescriptor(obj, "find_route_with_id"); break; + case 37: fn = Object.getOwnPropertyDescriptor(obj, "create_blinded_payment_paths"); break; + case 38: fn = Object.getOwnPropertyDescriptor(obj, "find_path"); break; + case 39: fn = Object.getOwnPropertyDescriptor(obj, "create_blinded_paths"); break; + case 40: fn = Object.getOwnPropertyDescriptor(obj, "create_compact_blinded_paths"); break; case 41: fn = Object.getOwnPropertyDescriptor(obj, "type_id"); break; case 42: fn = Object.getOwnPropertyDescriptor(obj, "debug_str"); break; case 43: fn = Object.getOwnPropertyDescriptor(obj, "write"); break; @@ -70154,115 +72477,123 @@ js_invoke = function(obj_ptr: number, fn_id: number, arg1: bigint|number, arg2: case 53: fn = Object.getOwnPropertyDescriptor(obj, "remove"); break; case 54: fn = Object.getOwnPropertyDescriptor(obj, "list"); break; case 55: fn = Object.getOwnPropertyDescriptor(obj, "spend_spendable_outputs"); break; - case 56: fn = Object.getOwnPropertyDescriptor(obj, "channel_penalty_msat"); break; - case 57: fn = Object.getOwnPropertyDescriptor(obj, "payment_path_failed"); break; - case 58: fn = Object.getOwnPropertyDescriptor(obj, "payment_path_successful"); break; - case 59: fn = Object.getOwnPropertyDescriptor(obj, "probe_failed"); break; - case 60: fn = Object.getOwnPropertyDescriptor(obj, "probe_successful"); break; - case 61: fn = Object.getOwnPropertyDescriptor(obj, "time_passed"); break; - case 62: fn = Object.getOwnPropertyDescriptor(obj, "read_lock"); break; - case 63: fn = Object.getOwnPropertyDescriptor(obj, "write_lock"); break; - case 64: fn = Object.getOwnPropertyDescriptor(obj, "write"); break; - case 65: fn = Object.getOwnPropertyDescriptor(obj, "persist_manager"); break; - case 66: fn = Object.getOwnPropertyDescriptor(obj, "persist_graph"); break; - case 67: fn = Object.getOwnPropertyDescriptor(obj, "persist_scorer"); break; - case 68: fn = Object.getOwnPropertyDescriptor(obj, "persist_new_channel"); break; - case 69: fn = Object.getOwnPropertyDescriptor(obj, "update_persisted_channel"); break; - case 70: fn = Object.getOwnPropertyDescriptor(obj, "archive_persisted_channel"); break; - case 71: fn = Object.getOwnPropertyDescriptor(obj, "filtered_block_connected"); break; - case 72: fn = Object.getOwnPropertyDescriptor(obj, "block_connected"); break; - case 73: fn = Object.getOwnPropertyDescriptor(obj, "block_disconnected"); break; - case 74: fn = Object.getOwnPropertyDescriptor(obj, "transactions_confirmed"); break; - case 75: fn = Object.getOwnPropertyDescriptor(obj, "transaction_unconfirmed"); break; - case 76: fn = Object.getOwnPropertyDescriptor(obj, "best_block_updated"); break; - case 77: fn = Object.getOwnPropertyDescriptor(obj, "get_relevant_txids"); break; - case 78: fn = Object.getOwnPropertyDescriptor(obj, "call"); break; - case 79: fn = Object.getOwnPropertyDescriptor(obj, "handle_event"); break; - case 80: fn = Object.getOwnPropertyDescriptor(obj, "process_pending_events"); break; - case 81: fn = Object.getOwnPropertyDescriptor(obj, "get_and_clear_pending_msg_events"); break; - case 82: fn = Object.getOwnPropertyDescriptor(obj, "handle_open_channel"); break; - case 83: fn = Object.getOwnPropertyDescriptor(obj, "handle_open_channel_v2"); break; - case 84: fn = Object.getOwnPropertyDescriptor(obj, "handle_accept_channel"); break; - case 85: fn = Object.getOwnPropertyDescriptor(obj, "handle_accept_channel_v2"); break; - case 86: fn = Object.getOwnPropertyDescriptor(obj, "handle_funding_created"); break; - case 87: fn = Object.getOwnPropertyDescriptor(obj, "handle_funding_signed"); break; - case 88: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_ready"); break; - case 89: fn = Object.getOwnPropertyDescriptor(obj, "handle_shutdown"); break; - case 90: fn = Object.getOwnPropertyDescriptor(obj, "handle_closing_signed"); break; - case 91: fn = Object.getOwnPropertyDescriptor(obj, "handle_stfu"); break; - case 92: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_add_input"); break; - case 93: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_add_output"); break; - case 94: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_remove_input"); break; - case 95: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_remove_output"); break; - case 96: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_complete"); break; - case 97: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_signatures"); break; - case 98: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_init_rbf"); break; - case 99: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_ack_rbf"); break; - case 100: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_abort"); break; - case 101: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_add_htlc"); break; - case 102: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fulfill_htlc"); break; - case 103: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fail_htlc"); break; - case 104: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fail_malformed_htlc"); break; - case 105: fn = Object.getOwnPropertyDescriptor(obj, "handle_commitment_signed"); break; - case 106: fn = Object.getOwnPropertyDescriptor(obj, "handle_revoke_and_ack"); break; - case 107: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fee"); break; - case 108: fn = Object.getOwnPropertyDescriptor(obj, "handle_announcement_signatures"); break; - case 109: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; - case 110: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; - case 111: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_reestablish"); break; - case 112: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_update"); break; - case 113: fn = Object.getOwnPropertyDescriptor(obj, "handle_error"); break; - case 114: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; - case 115: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; - case 116: fn = Object.getOwnPropertyDescriptor(obj, "get_chain_hashes"); break; - case 117: fn = Object.getOwnPropertyDescriptor(obj, "handle_message"); break; - case 118: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_messages"); break; - case 119: fn = Object.getOwnPropertyDescriptor(obj, "held_htlc_available"); break; - case 120: fn = Object.getOwnPropertyDescriptor(obj, "release_held_htlc"); break; - case 121: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_messages"); break; - case 122: fn = Object.getOwnPropertyDescriptor(obj, "next_node_id"); break; - case 123: fn = Object.getOwnPropertyDescriptor(obj, "handle_node_announcement"); break; - case 124: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_announcement"); break; - case 125: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_update"); break; - case 126: fn = Object.getOwnPropertyDescriptor(obj, "get_next_channel_announcement"); break; - case 127: fn = Object.getOwnPropertyDescriptor(obj, "get_next_node_announcement"); break; - case 128: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; - case 129: fn = Object.getOwnPropertyDescriptor(obj, "handle_reply_channel_range"); break; - case 130: fn = Object.getOwnPropertyDescriptor(obj, "handle_reply_short_channel_ids_end"); break; - case 131: fn = Object.getOwnPropertyDescriptor(obj, "handle_query_channel_range"); break; - case 132: fn = Object.getOwnPropertyDescriptor(obj, "handle_query_short_channel_ids"); break; - case 133: fn = Object.getOwnPropertyDescriptor(obj, "processing_queue_high"); break; - case 134: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; - case 135: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; - case 136: fn = Object.getOwnPropertyDescriptor(obj, "handle_onion_message"); break; - case 137: fn = Object.getOwnPropertyDescriptor(obj, "next_onion_message_for_peer"); break; - case 138: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; - case 139: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; - case 140: fn = Object.getOwnPropertyDescriptor(obj, "timer_tick_occurred"); break; - case 141: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; - case 142: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; - case 143: fn = Object.getOwnPropertyDescriptor(obj, "read"); break; - case 144: fn = Object.getOwnPropertyDescriptor(obj, "handle_custom_message"); break; - case 145: fn = Object.getOwnPropertyDescriptor(obj, "get_and_clear_pending_msg"); break; - case 146: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; - case 147: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; - case 148: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; - case 149: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; - case 150: fn = Object.getOwnPropertyDescriptor(obj, "handle_custom_message"); break; - case 151: fn = Object.getOwnPropertyDescriptor(obj, "read_custom_message"); break; - case 152: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_custom_messages"); break; - case 153: fn = Object.getOwnPropertyDescriptor(obj, "send_data"); break; - case 154: fn = Object.getOwnPropertyDescriptor(obj, "disconnect_socket"); break; - case 155: fn = Object.getOwnPropertyDescriptor(obj, "eq"); break; - case 156: fn = Object.getOwnPropertyDescriptor(obj, "hash"); break; - case 157: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice"); break; - case 158: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice_request"); break; - case 159: fn = Object.getOwnPropertyDescriptor(obj, "write"); break; - case 160: fn = Object.getOwnPropertyDescriptor(obj, "select_confirmed_utxos"); break; - case 161: fn = Object.getOwnPropertyDescriptor(obj, "sign_psbt"); break; - case 162: fn = Object.getOwnPropertyDescriptor(obj, "list_confirmed_utxos"); break; - case 163: fn = Object.getOwnPropertyDescriptor(obj, "get_change_script"); break; - case 164: fn = Object.getOwnPropertyDescriptor(obj, "sign_psbt"); break; + case 56: fn = Object.getOwnPropertyDescriptor(obj, "list_all_keys"); break; + case 57: fn = Object.getOwnPropertyDescriptor(obj, "channel_penalty_msat"); break; + case 58: fn = Object.getOwnPropertyDescriptor(obj, "payment_path_failed"); break; + case 59: fn = Object.getOwnPropertyDescriptor(obj, "payment_path_successful"); break; + case 60: fn = Object.getOwnPropertyDescriptor(obj, "probe_failed"); break; + case 61: fn = Object.getOwnPropertyDescriptor(obj, "probe_successful"); break; + case 62: fn = Object.getOwnPropertyDescriptor(obj, "time_passed"); break; + case 63: fn = Object.getOwnPropertyDescriptor(obj, "read_lock"); break; + case 64: fn = Object.getOwnPropertyDescriptor(obj, "write_lock"); break; + case 65: fn = Object.getOwnPropertyDescriptor(obj, "write"); break; + case 66: fn = Object.getOwnPropertyDescriptor(obj, "persist_manager"); break; + case 67: fn = Object.getOwnPropertyDescriptor(obj, "persist_graph"); break; + case 68: fn = Object.getOwnPropertyDescriptor(obj, "persist_scorer"); break; + case 69: fn = Object.getOwnPropertyDescriptor(obj, "persist_new_channel"); break; + case 70: fn = Object.getOwnPropertyDescriptor(obj, "update_persisted_channel"); break; + case 71: fn = Object.getOwnPropertyDescriptor(obj, "archive_persisted_channel"); break; + case 72: fn = Object.getOwnPropertyDescriptor(obj, "filtered_block_connected"); break; + case 73: fn = Object.getOwnPropertyDescriptor(obj, "block_connected"); break; + case 74: fn = Object.getOwnPropertyDescriptor(obj, "block_disconnected"); break; + case 75: fn = Object.getOwnPropertyDescriptor(obj, "transactions_confirmed"); break; + case 76: fn = Object.getOwnPropertyDescriptor(obj, "transaction_unconfirmed"); break; + case 77: fn = Object.getOwnPropertyDescriptor(obj, "best_block_updated"); break; + case 78: fn = Object.getOwnPropertyDescriptor(obj, "get_relevant_txids"); break; + case 79: fn = Object.getOwnPropertyDescriptor(obj, "call"); break; + case 80: fn = Object.getOwnPropertyDescriptor(obj, "handle_event"); break; + case 81: fn = Object.getOwnPropertyDescriptor(obj, "process_pending_events"); break; + case 82: fn = Object.getOwnPropertyDescriptor(obj, "hmac_for_offer_payment"); break; + case 83: fn = Object.getOwnPropertyDescriptor(obj, "verify_for_offer_payment"); break; + case 84: fn = Object.getOwnPropertyDescriptor(obj, "get_and_clear_pending_msg_events"); break; + case 85: fn = Object.getOwnPropertyDescriptor(obj, "handle_open_channel"); break; + case 86: fn = Object.getOwnPropertyDescriptor(obj, "handle_open_channel_v2"); break; + case 87: fn = Object.getOwnPropertyDescriptor(obj, "handle_accept_channel"); break; + case 88: fn = Object.getOwnPropertyDescriptor(obj, "handle_accept_channel_v2"); break; + case 89: fn = Object.getOwnPropertyDescriptor(obj, "handle_funding_created"); break; + case 90: fn = Object.getOwnPropertyDescriptor(obj, "handle_funding_signed"); break; + case 91: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_ready"); break; + case 92: fn = Object.getOwnPropertyDescriptor(obj, "handle_shutdown"); break; + case 93: fn = Object.getOwnPropertyDescriptor(obj, "handle_closing_signed"); break; + case 94: fn = Object.getOwnPropertyDescriptor(obj, "handle_stfu"); break; + case 95: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_add_input"); break; + case 96: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_add_output"); break; + case 97: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_remove_input"); break; + case 98: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_remove_output"); break; + case 99: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_complete"); break; + case 100: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_signatures"); break; + case 101: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_init_rbf"); break; + case 102: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_ack_rbf"); break; + case 103: fn = Object.getOwnPropertyDescriptor(obj, "handle_tx_abort"); break; + case 104: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_add_htlc"); break; + case 105: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fulfill_htlc"); break; + case 106: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fail_htlc"); break; + case 107: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fail_malformed_htlc"); break; + case 108: fn = Object.getOwnPropertyDescriptor(obj, "handle_commitment_signed"); break; + case 109: fn = Object.getOwnPropertyDescriptor(obj, "handle_revoke_and_ack"); break; + case 110: fn = Object.getOwnPropertyDescriptor(obj, "handle_update_fee"); break; + case 111: fn = Object.getOwnPropertyDescriptor(obj, "handle_announcement_signatures"); break; + case 112: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; + case 113: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; + case 114: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_reestablish"); break; + case 115: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_update"); break; + case 116: fn = Object.getOwnPropertyDescriptor(obj, "handle_error"); break; + case 117: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; + case 118: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; + case 119: fn = Object.getOwnPropertyDescriptor(obj, "get_chain_hashes"); break; + case 120: fn = Object.getOwnPropertyDescriptor(obj, "message_received"); break; + case 121: fn = Object.getOwnPropertyDescriptor(obj, "handle_message"); break; + case 122: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_messages"); break; + case 123: fn = Object.getOwnPropertyDescriptor(obj, "handle_held_htlc_available"); break; + case 124: fn = Object.getOwnPropertyDescriptor(obj, "handle_release_held_htlc"); break; + case 125: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_messages"); break; + case 126: fn = Object.getOwnPropertyDescriptor(obj, "handle_dnssec_query"); break; + case 127: fn = Object.getOwnPropertyDescriptor(obj, "handle_dnssec_proof"); break; + case 128: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; + case 129: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_messages"); break; + case 130: fn = Object.getOwnPropertyDescriptor(obj, "next_node_id"); break; + case 131: fn = Object.getOwnPropertyDescriptor(obj, "handle_node_announcement"); break; + case 132: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_announcement"); break; + case 133: fn = Object.getOwnPropertyDescriptor(obj, "handle_channel_update"); break; + case 134: fn = Object.getOwnPropertyDescriptor(obj, "get_next_channel_announcement"); break; + case 135: fn = Object.getOwnPropertyDescriptor(obj, "get_next_node_announcement"); break; + case 136: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; + case 137: fn = Object.getOwnPropertyDescriptor(obj, "handle_reply_channel_range"); break; + case 138: fn = Object.getOwnPropertyDescriptor(obj, "handle_reply_short_channel_ids_end"); break; + case 139: fn = Object.getOwnPropertyDescriptor(obj, "handle_query_channel_range"); break; + case 140: fn = Object.getOwnPropertyDescriptor(obj, "handle_query_short_channel_ids"); break; + case 141: fn = Object.getOwnPropertyDescriptor(obj, "processing_queue_high"); break; + case 142: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; + case 143: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; + case 144: fn = Object.getOwnPropertyDescriptor(obj, "handle_onion_message"); break; + case 145: fn = Object.getOwnPropertyDescriptor(obj, "next_onion_message_for_peer"); break; + case 146: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; + case 147: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; + case 148: fn = Object.getOwnPropertyDescriptor(obj, "timer_tick_occurred"); break; + case 149: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; + case 150: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; + case 151: fn = Object.getOwnPropertyDescriptor(obj, "read"); break; + case 152: fn = Object.getOwnPropertyDescriptor(obj, "handle_custom_message"); break; + case 153: fn = Object.getOwnPropertyDescriptor(obj, "get_and_clear_pending_msg"); break; + case 154: fn = Object.getOwnPropertyDescriptor(obj, "peer_disconnected"); break; + case 155: fn = Object.getOwnPropertyDescriptor(obj, "peer_connected"); break; + case 156: fn = Object.getOwnPropertyDescriptor(obj, "provided_node_features"); break; + case 157: fn = Object.getOwnPropertyDescriptor(obj, "provided_init_features"); break; + case 158: fn = Object.getOwnPropertyDescriptor(obj, "handle_custom_message"); break; + case 159: fn = Object.getOwnPropertyDescriptor(obj, "read_custom_message"); break; + case 160: fn = Object.getOwnPropertyDescriptor(obj, "release_pending_custom_messages"); break; + case 161: fn = Object.getOwnPropertyDescriptor(obj, "send_data"); break; + case 162: fn = Object.getOwnPropertyDescriptor(obj, "disconnect_socket"); break; + case 163: fn = Object.getOwnPropertyDescriptor(obj, "eq"); break; + case 164: fn = Object.getOwnPropertyDescriptor(obj, "hash"); break; + case 165: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice"); break; + case 166: fn = Object.getOwnPropertyDescriptor(obj, "sign_invoice_request"); break; + case 167: fn = Object.getOwnPropertyDescriptor(obj, "write"); break; + case 168: fn = Object.getOwnPropertyDescriptor(obj, "select_confirmed_utxos"); break; + case 169: fn = Object.getOwnPropertyDescriptor(obj, "sign_psbt"); break; + case 170: fn = Object.getOwnPropertyDescriptor(obj, "list_confirmed_utxos"); break; + case 171: fn = Object.getOwnPropertyDescriptor(obj, "get_change_script"); break; + case 172: fn = Object.getOwnPropertyDescriptor(obj, "sign_psbt"); break; default: console.error("Got unknown function call with id " + fn_id + " from C!"); throw new Error("Got unknown function call with id " + fn_id + " from C!"); diff --git a/ts/index.mts b/ts/index.mts index 887f3b61..e3d1c5ec 100644 --- a/ts/index.mts +++ b/ts/index.mts @@ -51,20 +51,44 @@ export * from './structs/Bolt12ParseError.mjs'; export * from './structs/Result_RefundBolt12ParseErrorZ.mjs'; export * from './structs/Retry.mjs'; export * from './structs/Result_RetryDecodeErrorZ.mjs'; -export * from './structs/ShutdownScript.mjs'; -export * from './structs/APIError.mjs'; -export * from './structs/Result_NoneAPIErrorZ.mjs'; export * from './structs/Option_ThirtyTwoBytesZ.mjs'; export * from './structs/Option_CVec_u8ZZ.mjs'; export * from './structs/RecipientOnionFields.mjs'; export * from './structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; export * from './structs/TwoTuple_u64CVec_u8ZZ.mjs'; export * from './structs/Result_RecipientOnionFieldsNoneZ.mjs'; +export * from './structs/DNSSECQuery.mjs'; +export * from './structs/DNSSECProof.mjs'; +export * from './structs/DNSResolverMessage.mjs'; +export * from './structs/ResponseInstruction.mjs'; +export * from './structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +export * from './structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +export * from './structs/Destination.mjs'; +export * from './structs/Nonce.mjs'; +export * from './structs/OffersContext.mjs'; +export * from './structs/AsyncPaymentsContext.mjs'; +export * from './structs/DNSResolverContext.mjs'; +export * from './structs/MessageContext.mjs'; +export * from './structs/MessageSendInstructions.mjs'; +export * from './structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +export * from './structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +export * from './structs/HumanReadableName.mjs'; +export * from './structs/Result_HumanReadableNameNoneZ.mjs'; +export * from './structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +export * from './structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +export * from './structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +export * from './structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +export * from './structs/Offer.mjs'; +export * from './structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +export * from './structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +export * from './structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +export * from './structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; export * from './structs/UnsignedBolt12Invoice.mjs'; export * from './structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; export * from './structs/Bolt12Invoice.mjs'; export * from './structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; export * from './structs/Result_SchnorrSignatureNoneZ.mjs'; +export * from './structs/BlindedPaymentPath.mjs'; export * from './structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; export * from './structs/Amount.mjs'; export * from './structs/Option_AmountZ.mjs'; @@ -106,6 +130,7 @@ export * from './structs/ChannelSigner.mjs'; export * from './structs/EcdsaChannelSigner.mjs'; export * from './structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; export * from './structs/Result_CVec_u8ZNoneZ.mjs'; +export * from './structs/ShutdownScript.mjs'; export * from './structs/Result_ShutdownScriptNoneZ.mjs'; export * from './structs/Option_u16Z.mjs'; export * from './structs/Option_boolZ.mjs'; @@ -119,12 +144,7 @@ export * from './structs/ChannelDetails.mjs'; export * from './structs/Route.mjs'; export * from './structs/LightningError.mjs'; export * from './structs/Result_RouteLightningErrorZ.mjs'; -export * from './structs/BlindedPaymentPath.mjs'; export * from './structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -export * from './structs/OnionMessagePath.mjs'; -export * from './structs/Result_OnionMessagePathNoneZ.mjs'; -export * from './structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -export * from './structs/MessageForwardNode.mjs'; export * from './structs/InFlightHtlcs.mjs'; export * from './structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; export * from './structs/RouteHop.mjs'; @@ -166,29 +186,12 @@ export * from './structs/ClosureReason.mjs'; export * from './structs/ChannelId.mjs'; export * from './structs/MonitorEvent.mjs'; export * from './structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -export * from './structs/InitFeatures.mjs'; -export * from './structs/Result_InitFeaturesDecodeErrorZ.mjs'; -export * from './structs/ChannelFeatures.mjs'; -export * from './structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -export * from './structs/NodeFeatures.mjs'; -export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -export * from './structs/Bolt11InvoiceFeatures.mjs'; -export * from './structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -export * from './structs/Bolt12InvoiceFeatures.mjs'; -export * from './structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -export * from './structs/BlindedHopFeatures.mjs'; -export * from './structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -export * from './structs/ChannelTypeFeatures.mjs'; -export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; export * from './structs/OfferId.mjs'; export * from './structs/Result_OfferIdDecodeErrorZ.mjs'; export * from './structs/Result_NoneBolt12SemanticErrorZ.mjs'; -export * from './structs/Offer.mjs'; export * from './structs/Result_OfferBolt12SemanticErrorZ.mjs'; -export * from './structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -export * from './structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -export * from './structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -export * from './structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +export * from './structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +export * from './structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; export * from './structs/Result_OfferDecodeErrorZ.mjs'; export * from './structs/Result_OfferBolt12ParseErrorZ.mjs'; export * from './structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -270,42 +273,41 @@ export * from './structs/Input.mjs'; export * from './structs/CoinSelection.mjs'; export * from './structs/Result_CoinSelectionNoneZ.mjs'; export * from './structs/Result_CVec_UtxoZNoneZ.mjs'; -export * from './structs/UnknownPaymentContext.mjs'; export * from './structs/Bolt12OfferContext.mjs'; export * from './structs/Bolt12RefundContext.mjs'; export * from './structs/PaymentContext.mjs'; export * from './structs/Option_PaymentContextZ.mjs'; export * from './structs/TwoTuple_u64u16Z.mjs'; export * from './structs/Option_C2Tuple_u64u16ZZ.mjs'; +export * from './structs/APIError.mjs'; export * from './structs/Result_ChannelIdAPIErrorZ.mjs'; export * from './structs/RecentPaymentDetails.mjs'; -export * from './structs/PaymentSendFailure.mjs'; -export * from './structs/Result_NonePaymentSendFailureZ.mjs'; +export * from './structs/Result_NoneAPIErrorZ.mjs'; export * from './structs/Result_NoneRetryableSendFailureZ.mjs'; -export * from './structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +export * from './structs/Option_OffersContextZ.mjs'; +export * from './structs/Bolt12PaymentError.mjs'; +export * from './structs/Result_NoneBolt12PaymentErrorZ.mjs'; export * from './structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; export * from './structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -export * from './structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; export * from './structs/ProbeSendFailure.mjs'; +export * from './structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; export * from './structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; export * from './structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +export * from './structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +export * from './structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +export * from './structs/Bolt11Invoice.mjs'; +export * from './structs/SignOrCreationError.mjs'; +export * from './structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; export * from './structs/OfferWithDerivedMetadataBuilder.mjs'; export * from './structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; export * from './structs/Option_StrZ.mjs'; export * from './structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; export * from './structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -export * from './structs/Nonce.mjs'; -export * from './structs/OffersContext.mjs'; -export * from './structs/Option_OffersContextZ.mjs'; export * from './structs/InvoiceRequest.mjs'; export * from './structs/InvoiceError.mjs'; export * from './structs/OffersMessage.mjs'; -export * from './structs/ResponseInstruction.mjs'; export * from './structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; export * from './structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -export * from './structs/Destination.mjs'; -export * from './structs/MessageContext.mjs'; -export * from './structs/MessageSendInstructions.mjs'; export * from './structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; export * from './structs/ReleaseHeldHtlc.mjs'; export * from './structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -328,8 +330,8 @@ export * from './structs/ChannelMonitorUpdate.mjs'; export * from './structs/Watch.mjs'; export * from './structs/BroadcasterInterface.mjs'; export * from './structs/EntropySource.mjs'; +export * from './structs/ExpandedKey.mjs'; export * from './structs/RawBolt11Invoice.mjs'; -export * from './structs/UnsignedInvoiceRequest.mjs'; export * from './structs/UnsignedChannelUpdate.mjs'; export * from './structs/UnsignedNodeAnnouncement.mjs'; export * from './structs/UnsignedGossipMessage.mjs'; @@ -337,8 +339,12 @@ export * from './structs/NodeSigner.mjs'; export * from './structs/SignerProvider.mjs'; export * from './structs/FeeEstimator.mjs'; export * from './structs/ReceiveTlvs.mjs'; -export * from './structs/MessageRouter.mjs'; export * from './structs/Router.mjs'; +export * from './structs/OnionMessagePath.mjs'; +export * from './structs/Result_OnionMessagePathNoneZ.mjs'; +export * from './structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +export * from './structs/MessageForwardNode.mjs'; +export * from './structs/MessageRouter.mjs'; export * from './structs/ChannelManager.mjs'; export * from './structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; export * from './structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -360,6 +366,7 @@ export * from './structs/ReplayEvent.mjs'; export * from './structs/Result_NoneReplayEventZ.mjs'; export * from './structs/TwoTuple_u32TxOutZ.mjs'; export * from './structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +export * from './structs/TwoTuple_boolboolZ.mjs'; export * from './structs/Balance.mjs'; export * from './structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; export * from './structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -384,9 +391,14 @@ export * from './structs/Result_u32GraphSyncErrorZ.mjs'; export * from './structs/Result_CVec_u8ZIOErrorZ.mjs'; export * from './structs/Result_NoneIOErrorZ.mjs'; export * from './structs/Result_CVec_StrZIOErrorZ.mjs'; +export * from './structs/ThreeTuple_StrStrStrZ.mjs'; +export * from './structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; export * from './structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; export * from './structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -export * from './structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +export * from './structs/MonitorName.mjs'; +export * from './structs/Result_MonitorNameIOErrorZ.mjs'; +export * from './structs/UpdateName.mjs'; +export * from './structs/Result_UpdateNameIOErrorZ.mjs'; export * from './structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; export * from './structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; export * from './structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -394,6 +406,7 @@ export * from './structs/VerifiedInvoiceRequest.mjs'; export * from './structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; export * from './structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; export * from './structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +export * from './structs/Result_InvoiceRequestDecodeErrorZ.mjs'; export * from './structs/InvoiceRequestFields.mjs'; export * from './structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; export * from './structs/Option_ECDSASignatureZ.mjs'; @@ -525,6 +538,8 @@ export * from './structs/Option_PaymentFailureReasonZ.mjs'; export * from './structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; export * from './structs/Option_U128Z.mjs'; export * from './structs/Responder.mjs'; +export * from './structs/ChannelTypeFeatures.mjs'; +export * from './structs/InboundChannelFunds.mjs'; export * from './structs/ChannelParameters.mjs'; export * from './structs/AnchorDescriptor.mjs'; export * from './structs/BumpTransactionEvent.mjs'; @@ -534,7 +549,6 @@ export * from './structs/Result_COption_EventZDecodeErrorZ.mjs'; export * from './structs/Result_NonceDecodeErrorZ.mjs'; export * from './structs/Bolt11ParseError.mjs'; export * from './structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -export * from './structs/Bolt11Invoice.mjs'; export * from './structs/ParseOrSemanticError.mjs'; export * from './structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; export * from './structs/SignedRawBolt11Invoice.mjs'; @@ -560,6 +574,19 @@ export * from './structs/TransactionU16LenLimited.mjs'; export * from './structs/Result_TransactionU16LenLimitedNoneZ.mjs'; export * from './structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; export * from './structs/Result_ChannelIdDecodeErrorZ.mjs'; +export * from './structs/InitFeatures.mjs'; +export * from './structs/Result_InitFeaturesDecodeErrorZ.mjs'; +export * from './structs/ChannelFeatures.mjs'; +export * from './structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +export * from './structs/NodeFeatures.mjs'; +export * from './structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +export * from './structs/Bolt11InvoiceFeatures.mjs'; +export * from './structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +export * from './structs/Bolt12InvoiceFeatures.mjs'; +export * from './structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +export * from './structs/BlindedHopFeatures.mjs'; +export * from './structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +export * from './structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; export * from './structs/TwoTuple__u832u16Z.mjs'; export * from './structs/BlindedPayInfo.mjs'; export * from './structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -570,7 +597,6 @@ export * from './structs/Result_PaymentRelayDecodeErrorZ.mjs'; export * from './structs/PaymentConstraints.mjs'; export * from './structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; export * from './structs/Result_PaymentContextDecodeErrorZ.mjs'; -export * from './structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; export * from './structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; export * from './structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; export * from './structs/Result_ResponderDecodeErrorZ.mjs'; @@ -586,8 +612,6 @@ export * from './structs/SendSuccess.mjs'; export * from './structs/Result_SendSuccessSendErrorZ.mjs'; export * from './structs/Result_NoneSendErrorZ.mjs'; export * from './structs/Result_BlindedHopDecodeErrorZ.mjs'; -export * from './structs/SignOrCreationError.mjs'; -export * from './structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; export * from './structs/Result_InvoiceErrorDecodeErrorZ.mjs'; export * from './structs/TrackedSpendableOutput.mjs'; export * from './structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -623,6 +647,9 @@ export * from './structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; export * from './structs/Result_BlindedMessagePathNoneZ.mjs'; export * from './structs/Result_MessageContextDecodeErrorZ.mjs'; export * from './structs/Result_OffersContextDecodeErrorZ.mjs'; +export * from './structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +export * from './structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +export * from './structs/MigratableKVStore.mjs'; export * from './structs/FirstHopCandidate.mjs'; export * from './structs/PublicHopCandidate.mjs'; export * from './structs/PrivateHopCandidate.mjs'; @@ -650,15 +677,20 @@ export * from './structs/UserConfig.mjs'; export * from './structs/ChainMonitor.mjs'; export * from './structs/EventHandler.mjs'; export * from './structs/EventsProvider.mjs'; +export * from './structs/Verification.mjs'; +export * from './structs/UnauthenticatedReceiveTlvs.mjs'; export * from './structs/FailureCode.mjs'; export * from './structs/ChainParameters.mjs'; +export * from './structs/Bolt11InvoiceParameters.mjs'; +export * from './structs/Sha256.mjs'; +export * from './structs/Bolt11InvoiceDescription.mjs'; export * from './structs/MessageSendEventsProvider.mjs'; export * from './structs/ChannelMessageHandler.mjs'; export * from './structs/OffersMessageHandler.mjs'; export * from './structs/AsyncPaymentsMessageHandler.mjs'; +export * from './structs/DNSResolverMessageHandler.mjs'; export * from './structs/NodeIdLookUp.mjs'; export * from './structs/ChannelManagerReadArgs.mjs'; -export * from './structs/ExpandedKey.mjs'; export * from './structs/CommonOpenChannelFields.mjs'; export * from './structs/CommonAcceptChannelFields.mjs'; export * from './structs/Packet.mjs'; @@ -674,8 +706,6 @@ export * from './structs/MessageHandler.mjs'; export * from './structs/SocketDescriptor.mjs'; export * from './structs/PeerManager.mjs'; export * from './structs/DirectedChannelTransactionParameters.mjs'; -export * from './structs/Sha256.mjs'; -export * from './structs/Bolt12PaymentError.mjs'; export * from './structs/OfferWithExplicitMetadataBuilder.mjs'; export * from './structs/PrintableString.mjs'; export * from './structs/OfferFeatures.mjs'; @@ -683,6 +713,7 @@ export * from './structs/SignBolt12InvoiceFn.mjs'; export * from './structs/TaggedHash.mjs'; export * from './structs/InvoiceRequestFeatures.mjs'; export * from './structs/ErroneousField.mjs'; +export * from './structs/UnsignedInvoiceRequest.mjs'; export * from './structs/SignInvoiceRequestFn.mjs'; export * from './structs/SignError.mjs'; export * from './structs/P2PGossipSync.mjs'; @@ -700,6 +731,7 @@ export * from './structs/ProbabilisticScoringDecayParameters.mjs'; export * from './structs/KeysManager.mjs'; export * from './structs/PhantomKeysManager.mjs'; export * from './structs/RandomBytes.mjs'; +export * from './structs/OMNameResolver.mjs'; export * from './structs/OnionMessenger.mjs'; export * from './structs/DefaultMessageRouter.mjs'; export * from './structs/IntroductionNode.mjs'; diff --git a/ts/structs/APIError.mts b/ts/structs/APIError.mts index 7a4c290c..eb87d475 100644 --- a/ts/structs/APIError.mts +++ b/ts/structs/APIError.mts @@ -40,19 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,7 +262,6 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; @@ -267,33 +270,32 @@ import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AcceptChannel.mts b/ts/structs/AcceptChannel.mts index 2bc048ce..5abec089 100644 --- a/ts/structs/AcceptChannel.mts +++ b/ts/structs/AcceptChannel.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AcceptChannelV2.mts b/ts/structs/AcceptChannelV2.mts index 2d37dd6c..3490f592 100644 --- a/ts/structs/AcceptChannelV2.mts +++ b/ts/structs/AcceptChannelV2.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,9 +741,11 @@ import * as bindings from '../bindings.mjs' /** - * An accept_channel2 message to be sent by or received from the channel accepter. + * An [`accept_channel2`] message to be sent by or received from the channel accepter. * * Used in V2 channel establishment + * + * [`accept_channel2`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-accept_channel2-message */ export class AcceptChannelV2 extends CommonBase { /* @internal */ diff --git a/ts/structs/Amount.mts b/ts/structs/Amount.mts index d30e6aa5..593d201e 100644 --- a/ts/structs/Amount.mts +++ b/ts/structs/Amount.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; import { Quantity } from '../structs/Quantity.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AnchorDescriptor.mts b/ts/structs/AnchorDescriptor.mts index 7073ea46..dc7b5a5e 100644 --- a/ts/structs/AnchorDescriptor.mts +++ b/ts/structs/AnchorDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; import { Event } from '../structs/Event.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AnnouncementSignatures.mts b/ts/structs/AnnouncementSignatures.mts index 85d0f68a..53cdfb82 100644 --- a/ts/structs/AnnouncementSignatures.mts +++ b/ts/structs/AnnouncementSignatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AsyncPaymentsContext.mts b/ts/structs/AsyncPaymentsContext.mts new file mode 100644 index 00000000..52317adf --- /dev/null +++ b/ts/structs/AsyncPaymentsContext.mts @@ -0,0 +1,841 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * Contains data specific to an [`AsyncPaymentsMessage`]. + * + * [`AsyncPaymentsMessage`]: crate::onion_message::async_payments::AsyncPaymentsMessage + */ +export class AsyncPaymentsContext extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.AsyncPaymentsContext_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): AsyncPaymentsContext { + const raw_ty: number = bindings.LDKAsyncPaymentsContext_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new AsyncPaymentsContext_OutboundPayment(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.AsyncPaymentsContext_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the AsyncPaymentsContext + */ + public clone(): AsyncPaymentsContext { + const ret: bigint = bindings.AsyncPaymentsContext_clone(this.ptr); + const ret_hu_conv: AsyncPaymentsContext = AsyncPaymentsContext.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new OutboundPayment-variant AsyncPaymentsContext + */ + public static constructor_outbound_payment(payment_id: Uint8Array, nonce: Nonce, hmac: Uint8Array): AsyncPaymentsContext { + const ret: bigint = bindings.AsyncPaymentsContext_outbound_payment(bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(nonce), bindings.encodeUint8Array(bindings.check_arr_len(hmac, 32))); + const ret_hu_conv: AsyncPaymentsContext = AsyncPaymentsContext.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Serialize the AsyncPaymentsContext object into a byte array which can be read by AsyncPaymentsContext_read + */ + public write(): Uint8Array { + const ret: number = bindings.AsyncPaymentsContext_write(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * Read a AsyncPaymentsContext from a byte array, created by AsyncPaymentsContext_write + */ + public static constructor_read(ser: Uint8Array): Result_AsyncPaymentsContextDecodeErrorZ { + const ret: bigint = bindings.AsyncPaymentsContext_read(bindings.encodeUint8Array(ser)); + const ret_hu_conv: Result_AsyncPaymentsContextDecodeErrorZ = Result_AsyncPaymentsContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +/** A AsyncPaymentsContext of type OutboundPayment */ +export class AsyncPaymentsContext_OutboundPayment extends AsyncPaymentsContext { + /** + * ID used when payment to the originating [`Offer`] was initiated. Useful for us to identify + * which of our pending outbound payments should be released to its often-offline payee. + * + * [`Offer`]: crate::offers::offer::Offer + */ + public payment_id: Uint8Array; + /** + * A nonce used for authenticating that a [`ReleaseHeldHtlc`] message is valid for a preceding + * [`HeldHtlcAvailable`] message. + * + * [`ReleaseHeldHtlc`]: crate::onion_message::async_payments::ReleaseHeldHtlc + * [`HeldHtlcAvailable`]: crate::onion_message::async_payments::HeldHtlcAvailable + */ + public nonce: Nonce; + /** + * Authentication code for the [`PaymentId`]. + * + * Prevents the recipient from being able to deanonymize us by creating a blinded path to us + * containing the expected [`PaymentId`]. + */ + public hmac: Uint8Array; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const payment_id: number = bindings.LDKAsyncPaymentsContext_OutboundPayment_get_payment_id(ptr); + const payment_id_conv: Uint8Array = bindings.decodeUint8Array(payment_id); + this.payment_id = payment_id_conv; + const nonce: bigint = bindings.LDKAsyncPaymentsContext_OutboundPayment_get_nonce(ptr); + const nonce_hu_conv: Nonce = new Nonce(null, nonce); + CommonBase.add_ref_from(nonce_hu_conv, this); + this.nonce = nonce_hu_conv; + const hmac: number = bindings.LDKAsyncPaymentsContext_OutboundPayment_get_hmac(ptr); + const hmac_conv: Uint8Array = bindings.decodeUint8Array(hmac); + this.hmac = hmac_conv; + } +} diff --git a/ts/structs/AsyncPaymentsMessage.mts b/ts/structs/AsyncPaymentsMessage.mts index a69ad1e9..012b17c9 100644 --- a/ts/structs/AsyncPaymentsMessage.mts +++ b/ts/structs/AsyncPaymentsMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/AsyncPaymentsMessageHandler.mts b/ts/structs/AsyncPaymentsMessageHandler.mts index f11c4b5e..cbe239ca 100644 --- a/ts/structs/AsyncPaymentsMessageHandler.mts +++ b/ts/structs/AsyncPaymentsMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -717,11 +749,11 @@ export interface AsyncPaymentsMessageHandlerInterface { * * Note that responder (or a relevant inner pointer) may be NULL or all-0s to represent None */ - held_htlc_available(message: HeldHtlcAvailable, responder: Responder): Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ; + handle_held_htlc_available(message: HeldHtlcAvailable, responder: Responder): Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ; /**Handle a [`ReleaseHeldHtlc`] message. If authentication of the message succeeds, an HTLC * should be released to the corresponding payee. */ - release_held_htlc(message: ReleaseHeldHtlc): void; + handle_release_held_htlc(message: ReleaseHeldHtlc, context: AsyncPaymentsContext): void; /**Release any [`AsyncPaymentsMessage`]s that need to be sent. * * Typically, this is used for messages initiating an async payment flow rather than in response @@ -756,19 +788,21 @@ export class AsyncPaymentsMessageHandler extends CommonBase { public static new_impl(arg: AsyncPaymentsMessageHandlerInterface): AsyncPaymentsMessageHandler { const impl_holder: LDKAsyncPaymentsMessageHandlerHolder = new LDKAsyncPaymentsMessageHandlerHolder(); let structImplementation = { - held_htlc_available (message: bigint, responder: bigint): bigint { + handle_held_htlc_available (message: bigint, responder: bigint): bigint { const message_hu_conv: HeldHtlcAvailable = new HeldHtlcAvailable(null, message); CommonBase.add_ref_from(message_hu_conv, this); const responder_hu_conv: Responder = new Responder(null, responder); CommonBase.add_ref_from(responder_hu_conv, this); - const ret: Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ = arg.held_htlc_available(message_hu_conv, responder_hu_conv); + const ret: Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ = arg.handle_held_htlc_available(message_hu_conv, responder_hu_conv); const result: bigint = ret.clone_ptr(); return result; }, - release_held_htlc (message: bigint): void { + handle_release_held_htlc (message: bigint, context: bigint): void { const message_hu_conv: ReleaseHeldHtlc = new ReleaseHeldHtlc(null, message); CommonBase.add_ref_from(message_hu_conv, this); - arg.release_held_htlc(message_hu_conv); + const context_hu_conv: AsyncPaymentsContext = AsyncPaymentsContext.constr_from_ptr(context); + CommonBase.add_ref_from(context_hu_conv, this); + arg.handle_release_held_htlc(message_hu_conv, context_hu_conv); }, release_pending_messages (): number { const ret: TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ[] = arg.release_pending_messages(); @@ -790,8 +824,8 @@ export class AsyncPaymentsMessageHandler extends CommonBase { * * Note that responder (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public held_htlc_available(message: HeldHtlcAvailable, responder: Responder|null): Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ { - const ret: bigint = bindings.AsyncPaymentsMessageHandler_held_htlc_available(this.ptr, CommonBase.get_ptr_of(message), responder == null ? 0n : CommonBase.get_ptr_of(responder)); + public handle_held_htlc_available(message: HeldHtlcAvailable, responder: Responder|null): Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ { + const ret: bigint = bindings.AsyncPaymentsMessageHandler_handle_held_htlc_available(this.ptr, CommonBase.get_ptr_of(message), responder == null ? 0n : CommonBase.get_ptr_of(responder)); const ret_hu_conv: Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ = Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -801,8 +835,8 @@ export class AsyncPaymentsMessageHandler extends CommonBase { * Handle a [`ReleaseHeldHtlc`] message. If authentication of the message succeeds, an HTLC * should be released to the corresponding payee. */ - public release_held_htlc(message: ReleaseHeldHtlc): void { - bindings.AsyncPaymentsMessageHandler_release_held_htlc(this.ptr, CommonBase.get_ptr_of(message)); + public handle_release_held_htlc(message: ReleaseHeldHtlc, context: AsyncPaymentsContext): void { + bindings.AsyncPaymentsMessageHandler_handle_release_held_htlc(this.ptr, CommonBase.get_ptr_of(message), CommonBase.get_ptr_of(context)); } /** diff --git a/ts/structs/Balance.mts b/ts/structs/Balance.mts index a6bd72dd..a8571484 100644 --- a/ts/structs/Balance.mts +++ b/ts/structs/Balance.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; import { Type, TypeInterface } from '../structs/Type.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bech32Error.mts b/ts/structs/Bech32Error.mts index 6775010e..bc7e0eb0 100644 --- a/ts/structs/Bech32Error.mts +++ b/ts/structs/Bech32Error.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BestBlock.mts b/ts/structs/BestBlock.mts index de50c8d1..4f7d042c 100644 --- a/ts/structs/BestBlock.mts +++ b/ts/structs/BestBlock.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BigEndianScalar.mts b/ts/structs/BigEndianScalar.mts index 903da072..74b37171 100644 --- a/ts/structs/BigEndianScalar.mts +++ b/ts/structs/BigEndianScalar.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BigSize.mts b/ts/structs/BigSize.mts index 9dd9875b..59df0132 100644 --- a/ts/structs/BigSize.mts +++ b/ts/structs/BigSize.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedForward.mts b/ts/structs/BlindedForward.mts index 8ed08ab7..f78a4660 100644 --- a/ts/structs/BlindedForward.mts +++ b/ts/structs/BlindedForward.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedHop.mts b/ts/structs/BlindedHop.mts index 987927df..aafdd9b8 100644 --- a/ts/structs/BlindedHop.mts +++ b/ts/structs/BlindedHop.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedHopFeatures.mts b/ts/structs/BlindedHopFeatures.mts index 75fe6a92..941a5479 100644 --- a/ts/structs/BlindedHopFeatures.mts +++ b/ts/structs/BlindedHopFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedMessagePath.mts b/ts/structs/BlindedMessagePath.mts index d7a09dc8..7690913f 100644 --- a/ts/structs/BlindedMessagePath.mts +++ b/ts/structs/BlindedMessagePath.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedPathCandidate.mts b/ts/structs/BlindedPathCandidate.mts index b36cda9f..322ac449 100644 --- a/ts/structs/BlindedPathCandidate.mts +++ b/ts/structs/BlindedPathCandidate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedPayInfo.mts b/ts/structs/BlindedPayInfo.mts index 12b5353c..f2ad0e55 100644 --- a/ts/structs/BlindedPayInfo.mts +++ b/ts/structs/BlindedPayInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedPaymentPath.mts b/ts/structs/BlindedPaymentPath.mts index 1e5bc8e8..db8e6aa9 100644 --- a/ts/structs/BlindedPaymentPath.mts +++ b/ts/structs/BlindedPaymentPath.mts @@ -40,15 +40,38 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -109,10 +133,6 @@ import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BlindedTail.mts b/ts/structs/BlindedTail.mts index 70d38ce2..98e2c4af 100644 --- a/ts/structs/BlindedTail.mts +++ b/ts/structs/BlindedTail.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt11Invoice.mts b/ts/structs/Bolt11Invoice.mts index 5a1c4514..e5f98243 100644 --- a/ts/structs/Bolt11Invoice.mts +++ b/ts/structs/Bolt11Invoice.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt11InvoiceDescription.mts b/ts/structs/Bolt11InvoiceDescription.mts new file mode 100644 index 00000000..f11d08d5 --- /dev/null +++ b/ts/structs/Bolt11InvoiceDescription.mts @@ -0,0 +1,836 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * Represents the description of an invoice which has to be either a directly included string or + * a hash of a description provided out of band. + */ +export class Bolt11InvoiceDescription extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.Bolt11InvoiceDescription_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Bolt11InvoiceDescription { + const raw_ty: number = bindings.LDKBolt11InvoiceDescription_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new Bolt11InvoiceDescription_Direct(ptr); + case 1: return new Bolt11InvoiceDescription_Hash(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.Bolt11InvoiceDescription_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the Bolt11InvoiceDescription + */ + public clone(): Bolt11InvoiceDescription { + const ret: bigint = bindings.Bolt11InvoiceDescription_clone(this.ptr); + const ret_hu_conv: Bolt11InvoiceDescription = Bolt11InvoiceDescription.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new Direct-variant Bolt11InvoiceDescription + */ + public static constructor_direct(a: Description): Bolt11InvoiceDescription { + const ret: bigint = bindings.Bolt11InvoiceDescription_direct(CommonBase.get_ptr_of(a)); + const ret_hu_conv: Bolt11InvoiceDescription = Bolt11InvoiceDescription.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new Hash-variant Bolt11InvoiceDescription + */ + public static constructor_hash(a: Sha256): Bolt11InvoiceDescription { + const ret: bigint = bindings.Bolt11InvoiceDescription_hash(CommonBase.get_ptr_of(a)); + const ret_hu_conv: Bolt11InvoiceDescription = Bolt11InvoiceDescription.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Checks if two Bolt11InvoiceDescriptions contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + */ + public eq(b: Bolt11InvoiceDescription): boolean { + const ret: boolean = bindings.Bolt11InvoiceDescription_eq(this.ptr, CommonBase.get_ptr_of(b)); + return ret; + } + + /** + * Get the string representation of a Bolt11InvoiceDescription object + */ + public to_str(): string { + const ret: number = bindings.Bolt11InvoiceDescription_to_str(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; + } + +} +/** A Bolt11InvoiceDescription of type Direct */ +export class Bolt11InvoiceDescription_Direct extends Bolt11InvoiceDescription { + public direct: Description; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const direct: bigint = bindings.LDKBolt11InvoiceDescription_Direct_get_direct(ptr); + const direct_hu_conv: Description = new Description(null, direct); + CommonBase.add_ref_from(direct_hu_conv, this); + this.direct = direct_hu_conv; + } +} +/** A Bolt11InvoiceDescription of type Hash */ +export class Bolt11InvoiceDescription_Hash extends Bolt11InvoiceDescription { + public hash: Sha256; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const hash: bigint = bindings.LDKBolt11InvoiceDescription_Hash_get_hash(ptr); + const hash_hu_conv: Sha256 = new Sha256(null, hash); + CommonBase.add_ref_from(hash_hu_conv, this); + this.hash = hash_hu_conv; + } +} diff --git a/ts/structs/Bolt11InvoiceFeatures.mts b/ts/structs/Bolt11InvoiceFeatures.mts index 8996ec0e..315ef294 100644 --- a/ts/structs/Bolt11InvoiceFeatures.mts +++ b/ts/structs/Bolt11InvoiceFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PaymentSendFailure.mts b/ts/structs/Bolt11InvoiceParameters.mts similarity index 85% rename from ts/structs/PaymentSendFailure.mts rename to ts/structs/Bolt11InvoiceParameters.mts index 0f6f19c2..9268b576 100644 --- a/ts/structs/PaymentSendFailure.mts +++ b/ts/structs/Bolt11InvoiceParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -707,196 +739,149 @@ import { Fallback } from '../structs/Fallback.mjs'; import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; import * as bindings from '../bindings.mjs' + /** - * If a payment fails to send with [`ChannelManager::send_payment_with_route`], it can be in one - * of several states. This enum is returned as the Err() type describing which state the payment - * is in, see the description of individual enum states for more. + * Parameters used with [`create_bolt11_invoice`]. * - * [`ChannelManager::send_payment_with_route`]: crate::ln::channelmanager::ChannelManager::send_payment_with_route + * [`create_bolt11_invoice`]: ChannelManager::create_bolt11_invoice */ -export class PaymentSendFailure extends CommonBase { - protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.PaymentSendFailure_free); } +export class Bolt11InvoiceParameters extends CommonBase { /* @internal */ - public static constr_from_ptr(ptr: bigint): PaymentSendFailure { - const raw_ty: number = bindings.LDKPaymentSendFailure_ty_from_ptr(ptr); - switch (raw_ty) { - case 0: return new PaymentSendFailure_ParameterError(ptr); - case 1: return new PaymentSendFailure_PathParameterError(ptr); - case 2: return new PaymentSendFailure_AllFailedResendSafe(ptr); - case 3: return new PaymentSendFailure_DuplicatePayment(ptr); - case 4: return new PaymentSendFailure_PartialFailure(ptr); - default: - throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface - } - } - - public clone_ptr(): bigint { - const ret: bigint = bindings.PaymentSendFailure_clone_ptr(this.ptr); - return ret; + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.Bolt11InvoiceParameters_free); } /** - * Creates a copy of the PaymentSendFailure + * The amount for the invoice, if any. */ - public clone(): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_clone(this.ptr); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); + public get_amount_msats(): Option_u64Z { + const ret: bigint = bindings.Bolt11InvoiceParameters_get_amount_msats(this.ptr); + const ret_hu_conv: Option_u64Z = Option_u64Z.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } /** - * Utility method to constructs a new ParameterError-variant PaymentSendFailure + * The amount for the invoice, if any. */ - public static constructor_parameter_error(a: APIError): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_parameter_error(CommonBase.get_ptr_of(a)); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; + public set_amount_msats(val: Option_u64Z): void { + bindings.Bolt11InvoiceParameters_set_amount_msats(this.ptr, CommonBase.get_ptr_of(val)); } /** - * Utility method to constructs a new PathParameterError-variant PaymentSendFailure + * The description for what the invoice is for, or hash of such description. */ - public static constructor_path_parameter_error(a: Result_NoneAPIErrorZ[]): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_path_parameter_error(bindings.encodeUint64Array(a.map(a_conv_22 => CommonBase.get_ptr_of(a_conv_22)))); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + public get_description(): Bolt11InvoiceDescription { + const ret: bigint = bindings.Bolt11InvoiceParameters_get_description(this.ptr); + const ret_hu_conv: Bolt11InvoiceDescription = Bolt11InvoiceDescription.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } /** - * Utility method to constructs a new AllFailedResendSafe-variant PaymentSendFailure + * The description for what the invoice is for, or hash of such description. */ - public static constructor_all_failed_resend_safe(a: APIError[]): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_all_failed_resend_safe(bindings.encodeUint64Array(a.map(a_conv_10 => CommonBase.get_ptr_of(a_conv_10)))); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; + public set_description(val: Bolt11InvoiceDescription): void { + bindings.Bolt11InvoiceParameters_set_description(this.ptr, CommonBase.get_ptr_of(val)); } /** - * Utility method to constructs a new DuplicatePayment-variant PaymentSendFailure + * The invoice expiration relative to its creation time. If not set, the invoice will expire in + * [`DEFAULT_EXPIRY_TIME`] by default. + * + * The creation time used is the duration since the Unix epoch for `std` builds. For non-`std` + * builds, the highest block timestamp seen is used instead. In the latter case, use a long + * enough expiry to account for the average block time. */ - public static constructor_duplicate_payment(): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_duplicate_payment(); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + public get_invoice_expiry_delta_secs(): Option_u32Z { + const ret: bigint = bindings.Bolt11InvoiceParameters_get_invoice_expiry_delta_secs(this.ptr); + const ret_hu_conv: Option_u32Z = Option_u32Z.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } /** - * Utility method to constructs a new PartialFailure-variant PaymentSendFailure + * The invoice expiration relative to its creation time. If not set, the invoice will expire in + * [`DEFAULT_EXPIRY_TIME`] by default. + * + * The creation time used is the duration since the Unix epoch for `std` builds. For non-`std` + * builds, the highest block timestamp seen is used instead. In the latter case, use a long + * enough expiry to account for the average block time. */ - public static constructor_partial_failure(results: Result_NoneAPIErrorZ[], failed_paths_retry: RouteParameters, payment_id: Uint8Array): PaymentSendFailure { - const ret: bigint = bindings.PaymentSendFailure_partial_failure(bindings.encodeUint64Array(results.map(results_conv_22 => CommonBase.get_ptr_of(results_conv_22))), CommonBase.get_ptr_of(failed_paths_retry), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); - const ret_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; + public set_invoice_expiry_delta_secs(val: Option_u32Z): void { + bindings.Bolt11InvoiceParameters_set_invoice_expiry_delta_secs(this.ptr, CommonBase.get_ptr_of(val)); } /** - * Checks if two PaymentSendFailures contain equal inner contents. - * This ignores pointers and is_owned flags and looks at the values in fields. + * The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use + * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. + * + * If set, must be at least [`MIN_FINAL_CLTV_EXPIRY_DELTA`], and a three-block buffer will be + * added as well to allow for up to a few new block confirmations during routing. */ - public eq(b: PaymentSendFailure): boolean { - const ret: boolean = bindings.PaymentSendFailure_eq(this.ptr, CommonBase.get_ptr_of(b)); - return ret; + public get_min_final_cltv_expiry_delta(): Option_u16Z { + const ret: bigint = bindings.Bolt11InvoiceParameters_get_min_final_cltv_expiry_delta(this.ptr); + const ret_hu_conv: Option_u16Z = Option_u16Z.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; } -} -/** A PaymentSendFailure of type ParameterError */ -export class PaymentSendFailure_ParameterError extends PaymentSendFailure { - public parameter_error: APIError; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const parameter_error: bigint = bindings.LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr); - const parameter_error_hu_conv: APIError = APIError.constr_from_ptr(parameter_error); - CommonBase.add_ref_from(parameter_error_hu_conv, this); - this.parameter_error = parameter_error_hu_conv; - } -} -/** A PaymentSendFailure of type PathParameterError */ -export class PaymentSendFailure_PathParameterError extends PaymentSendFailure { - public path_parameter_error: Result_NoneAPIErrorZ[]; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const path_parameter_error: number = bindings.LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr); - const path_parameter_error_conv_22_len: number = bindings.getArrayLength(path_parameter_error); - const path_parameter_error_conv_22_arr: Result_NoneAPIErrorZ[] = new Array(path_parameter_error_conv_22_len).fill(null); - for (var w = 0; w < path_parameter_error_conv_22_len; w++) { - const path_parameter_error_conv_22: bigint = bindings.getU64ArrayElem(path_parameter_error, w); - const path_parameter_error_conv_22_hu_conv: Result_NoneAPIErrorZ = Result_NoneAPIErrorZ.constr_from_ptr(path_parameter_error_conv_22); - path_parameter_error_conv_22_arr[w] = path_parameter_error_conv_22_hu_conv; - } - bindings.freeWasmMemory(path_parameter_error) - this.path_parameter_error = path_parameter_error_conv_22_arr; - } -} -/** A PaymentSendFailure of type AllFailedResendSafe */ -export class PaymentSendFailure_AllFailedResendSafe extends PaymentSendFailure { - public all_failed_resend_safe: APIError[]; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const all_failed_resend_safe: number = bindings.LDKPaymentSendFailure_AllFailedResendSafe_get_all_failed_resend_safe(ptr); - const all_failed_resend_safe_conv_10_len: number = bindings.getArrayLength(all_failed_resend_safe); - const all_failed_resend_safe_conv_10_arr: APIError[] = new Array(all_failed_resend_safe_conv_10_len).fill(null); - for (var k = 0; k < all_failed_resend_safe_conv_10_len; k++) { - const all_failed_resend_safe_conv_10: bigint = bindings.getU64ArrayElem(all_failed_resend_safe, k); - const all_failed_resend_safe_conv_10_hu_conv: APIError = APIError.constr_from_ptr(all_failed_resend_safe_conv_10); - CommonBase.add_ref_from(all_failed_resend_safe_conv_10_hu_conv, this); - all_failed_resend_safe_conv_10_arr[k] = all_failed_resend_safe_conv_10_hu_conv; - } - bindings.freeWasmMemory(all_failed_resend_safe) - this.all_failed_resend_safe = all_failed_resend_safe_conv_10_arr; - } -} -/** A PaymentSendFailure of type DuplicatePayment */ -export class PaymentSendFailure_DuplicatePayment extends PaymentSendFailure { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); + /** + * The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use + * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. + * + * If set, must be at least [`MIN_FINAL_CLTV_EXPIRY_DELTA`], and a three-block buffer will be + * added as well to allow for up to a few new block confirmations during routing. + */ + public set_min_final_cltv_expiry_delta(val: Option_u16Z): void { + bindings.Bolt11InvoiceParameters_set_min_final_cltv_expiry_delta(this.ptr, CommonBase.get_ptr_of(val)); } -} -/** A PaymentSendFailure of type PartialFailure */ -export class PaymentSendFailure_PartialFailure extends PaymentSendFailure { + /** - * The errors themselves, in the same order as the paths from the route. + * The payment hash used in the invoice. If not set, a payment hash will be generated using a + * preimage that can be reproduced by [`ChannelManager`] without storing any state. + * + * Uses the payment hash if set. This may be useful if you're building an on-chain swap or + * involving another protocol where the payment hash is also involved outside the scope of + * lightning. */ - public results: Result_NoneAPIErrorZ[]; + public get_payment_hash(): Option_ThirtyTwoBytesZ { + const ret: bigint = bindings.Bolt11InvoiceParameters_get_payment_hash(this.ptr); + const ret_hu_conv: Option_ThirtyTwoBytesZ = Option_ThirtyTwoBytesZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** - * If some paths failed without irrevocably committing to the new HTLC(s), this will - * contain a [`RouteParameters`] object for the failing paths. + * The payment hash used in the invoice. If not set, a payment hash will be generated using a + * preimage that can be reproduced by [`ChannelManager`] without storing any state. * - * Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None + * Uses the payment hash if set. This may be useful if you're building an on-chain swap or + * involving another protocol where the payment hash is also involved outside the scope of + * lightning. */ - public failed_paths_retry: RouteParameters; + public set_payment_hash(val: Option_ThirtyTwoBytesZ): void { + bindings.Bolt11InvoiceParameters_set_payment_hash(this.ptr, CommonBase.get_ptr_of(val)); + } + /** - * The payment id for the payment, which is now at least partially pending. + * Constructs a new Bolt11InvoiceParameters given each field */ - public payment_id: Uint8Array; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const results: number = bindings.LDKPaymentSendFailure_PartialFailure_get_results(ptr); - const results_conv_22_len: number = bindings.getArrayLength(results); - const results_conv_22_arr: Result_NoneAPIErrorZ[] = new Array(results_conv_22_len).fill(null); - for (var w = 0; w < results_conv_22_len; w++) { - const results_conv_22: bigint = bindings.getU64ArrayElem(results, w); - const results_conv_22_hu_conv: Result_NoneAPIErrorZ = Result_NoneAPIErrorZ.constr_from_ptr(results_conv_22); - results_conv_22_arr[w] = results_conv_22_hu_conv; - } - bindings.freeWasmMemory(results) - this.results = results_conv_22_arr; - const failed_paths_retry: bigint = bindings.LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr); - const failed_paths_retry_hu_conv: RouteParameters = new RouteParameters(null, failed_paths_retry); - CommonBase.add_ref_from(failed_paths_retry_hu_conv, this); - this.failed_paths_retry = failed_paths_retry_hu_conv; - const payment_id: number = bindings.LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr); - const payment_id_conv: Uint8Array = bindings.decodeUint8Array(payment_id); - this.payment_id = payment_id_conv; + public static constructor_new(amount_msats_arg: Option_u64Z, description_arg: Bolt11InvoiceDescription, invoice_expiry_delta_secs_arg: Option_u32Z, min_final_cltv_expiry_delta_arg: Option_u16Z, payment_hash_arg: Option_ThirtyTwoBytesZ): Bolt11InvoiceParameters { + const ret: bigint = bindings.Bolt11InvoiceParameters_new(CommonBase.get_ptr_of(amount_msats_arg), CommonBase.get_ptr_of(description_arg), CommonBase.get_ptr_of(invoice_expiry_delta_secs_arg), CommonBase.get_ptr_of(min_final_cltv_expiry_delta_arg), CommonBase.get_ptr_of(payment_hash_arg)); + const ret_hu_conv: Bolt11InvoiceParameters = new Bolt11InvoiceParameters(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; } + + /** + * Creates a "default" Bolt11InvoiceParameters. See struct and individual field documentaiton for details on which values are used. + */ + public static constructor_default(): Bolt11InvoiceParameters { + const ret: bigint = bindings.Bolt11InvoiceParameters_default(); + const ret_hu_conv: Bolt11InvoiceParameters = new Bolt11InvoiceParameters(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + } diff --git a/ts/structs/Bolt11InvoiceSignature.mts b/ts/structs/Bolt11InvoiceSignature.mts index 65e06c63..12680009 100644 --- a/ts/structs/Bolt11InvoiceSignature.mts +++ b/ts/structs/Bolt11InvoiceSignature.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt11ParseError.mts b/ts/structs/Bolt11ParseError.mts index 13dc5062..05ed10a2 100644 --- a/ts/structs/Bolt11ParseError.mts +++ b/ts/structs/Bolt11ParseError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Option_EventZ } from '../structs/Option_EventZ.mjs'; import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -707,37 +739,26 @@ import { Fallback } from '../structs/Fallback.mjs'; import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; import * as bindings from '../bindings.mjs' + /** * Errors that indicate what is wrong with the invoice. They have some granularity for debug * reasons, but should generally result in an \"invalid BOLT11 invoice\" message for the user. */ export class Bolt11ParseError extends CommonBase { - protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.Bolt11ParseError_free); } /* @internal */ - public static constr_from_ptr(ptr: bigint): Bolt11ParseError { - const raw_ty: number = bindings.LDKBolt11ParseError_ty_from_ptr(ptr); - switch (raw_ty) { - case 0: return new Bolt11ParseError_Bech32Error(ptr); - case 1: return new Bolt11ParseError_ParseAmountError(ptr); - case 2: return new Bolt11ParseError_MalformedSignature(ptr); - case 3: return new Bolt11ParseError_BadPrefix(ptr); - case 4: return new Bolt11ParseError_UnknownCurrency(ptr); - case 5: return new Bolt11ParseError_UnknownSiPrefix(ptr); - case 6: return new Bolt11ParseError_MalformedHRP(ptr); - case 7: return new Bolt11ParseError_TooShortDataPart(ptr); - case 8: return new Bolt11ParseError_UnexpectedEndOfTaggedFields(ptr); - case 9: return new Bolt11ParseError_DescriptionDecodeError(ptr); - case 10: return new Bolt11ParseError_PaddingError(ptr); - case 11: return new Bolt11ParseError_IntegerOverflowError(ptr); - case 12: return new Bolt11ParseError_InvalidSegWitProgramLength(ptr); - case 13: return new Bolt11ParseError_InvalidPubKeyHashLength(ptr); - case 14: return new Bolt11ParseError_InvalidScriptHashLength(ptr); - case 15: return new Bolt11ParseError_InvalidRecoveryId(ptr); - case 16: return new Bolt11ParseError_InvalidSliceLength(ptr); - case 17: return new Bolt11ParseError_Skip(ptr); - default: - throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface - } + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.Bolt11ParseError_free); + } + + /** + * Checks if two Bolt11ParseErrors contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: Bolt11ParseError): boolean { + const ret: boolean = bindings.Bolt11ParseError_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; } public clone_ptr(): bigint { @@ -750,200 +771,11 @@ export class Bolt11ParseError extends CommonBase { */ public clone(): Bolt11ParseError { const ret: bigint = bindings.Bolt11ParseError_clone(this.ptr); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); + const ret_hu_conv: Bolt11ParseError = new Bolt11ParseError(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } - /** - * Utility method to constructs a new Bech32Error-variant Bolt11ParseError - */ - public static constructor_bech32_error(a: Bech32Error): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_bech32_error(CommonBase.get_ptr_of(a)); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new ParseAmountError-variant Bolt11ParseError - */ - public static constructor_parse_amount_error(a: UnqualifiedError): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_parse_amount_error(0); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new MalformedSignature-variant Bolt11ParseError - */ - public static constructor_malformed_signature(a: Secp256k1Error): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_malformed_signature(a); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new BadPrefix-variant Bolt11ParseError - */ - public static constructor_bad_prefix(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_bad_prefix(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new UnknownCurrency-variant Bolt11ParseError - */ - public static constructor_unknown_currency(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_unknown_currency(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new UnknownSiPrefix-variant Bolt11ParseError - */ - public static constructor_unknown_si_prefix(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_unknown_si_prefix(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new MalformedHRP-variant Bolt11ParseError - */ - public static constructor_malformed_hrp(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_malformed_hrp(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new TooShortDataPart-variant Bolt11ParseError - */ - public static constructor_too_short_data_part(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_too_short_data_part(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new UnexpectedEndOfTaggedFields-variant Bolt11ParseError - */ - public static constructor_unexpected_end_of_tagged_fields(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_unexpected_end_of_tagged_fields(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new DescriptionDecodeError-variant Bolt11ParseError - */ - public static constructor_description_decode_error(a: UnqualifiedError): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_description_decode_error(0); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new PaddingError-variant Bolt11ParseError - */ - public static constructor_padding_error(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_padding_error(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new IntegerOverflowError-variant Bolt11ParseError - */ - public static constructor_integer_overflow_error(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_integer_overflow_error(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new InvalidSegWitProgramLength-variant Bolt11ParseError - */ - public static constructor_invalid_seg_wit_program_length(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_invalid_seg_wit_program_length(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new InvalidPubKeyHashLength-variant Bolt11ParseError - */ - public static constructor_invalid_pub_key_hash_length(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_invalid_pub_key_hash_length(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new InvalidScriptHashLength-variant Bolt11ParseError - */ - public static constructor_invalid_script_hash_length(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_invalid_script_hash_length(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new InvalidRecoveryId-variant Bolt11ParseError - */ - public static constructor_invalid_recovery_id(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_invalid_recovery_id(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new InvalidSliceLength-variant Bolt11ParseError - */ - public static constructor_invalid_slice_length(a: string): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_invalid_slice_length(bindings.encodeString(a)); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Utility method to constructs a new Skip-variant Bolt11ParseError - */ - public static constructor_skip(): Bolt11ParseError { - const ret: bigint = bindings.Bolt11ParseError_skip(); - const ret_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - - /** - * Checks if two Bolt11ParseErrors contain equal inner contents. - * This ignores pointers and is_owned flags and looks at the values in fields. - */ - public eq(b: Bolt11ParseError): boolean { - const ret: boolean = bindings.Bolt11ParseError_eq(this.ptr, CommonBase.get_ptr_of(b)); - return ret; - } - /** * Get the string representation of a Bolt11ParseError object */ @@ -954,148 +786,3 @@ export class Bolt11ParseError extends CommonBase { } } -/** A Bolt11ParseError of type Bech32Error */ -export class Bolt11ParseError_Bech32Error extends Bolt11ParseError { - public bech32_error: Bech32Error; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const bech32_error: bigint = bindings.LDKBolt11ParseError_Bech32Error_get_bech32_error(ptr); - const bech32_error_hu_conv: Bech32Error = Bech32Error.constr_from_ptr(bech32_error); - CommonBase.add_ref_from(bech32_error_hu_conv, this); - this.bech32_error = bech32_error_hu_conv; - } -} -/** A Bolt11ParseError of type ParseAmountError */ -export class Bolt11ParseError_ParseAmountError extends Bolt11ParseError { - public parse_amount_error: UnqualifiedError; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const parse_amount_error: number = bindings.LDKBolt11ParseError_ParseAmountError_get_parse_amount_error(ptr); - const parse_amount_error_conv: UnqualifiedError = new UnqualifiedError(parse_amount_error); - this.parse_amount_error = parse_amount_error_conv; - } -} -/** A Bolt11ParseError of type MalformedSignature */ -export class Bolt11ParseError_MalformedSignature extends Bolt11ParseError { - public malformed_signature: Secp256k1Error; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - this.malformed_signature = bindings.LDKBolt11ParseError_MalformedSignature_get_malformed_signature(ptr); - } -} -/** A Bolt11ParseError of type BadPrefix */ -export class Bolt11ParseError_BadPrefix extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type UnknownCurrency */ -export class Bolt11ParseError_UnknownCurrency extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type UnknownSiPrefix */ -export class Bolt11ParseError_UnknownSiPrefix extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type MalformedHRP */ -export class Bolt11ParseError_MalformedHRP extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type TooShortDataPart */ -export class Bolt11ParseError_TooShortDataPart extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type UnexpectedEndOfTaggedFields */ -export class Bolt11ParseError_UnexpectedEndOfTaggedFields extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type DescriptionDecodeError */ -export class Bolt11ParseError_DescriptionDecodeError extends Bolt11ParseError { - public description_decode_error: UnqualifiedError; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const description_decode_error: number = bindings.LDKBolt11ParseError_DescriptionDecodeError_get_description_decode_error(ptr); - const description_decode_error_conv: UnqualifiedError = new UnqualifiedError(description_decode_error); - this.description_decode_error = description_decode_error_conv; - } -} -/** A Bolt11ParseError of type PaddingError */ -export class Bolt11ParseError_PaddingError extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type IntegerOverflowError */ -export class Bolt11ParseError_IntegerOverflowError extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type InvalidSegWitProgramLength */ -export class Bolt11ParseError_InvalidSegWitProgramLength extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type InvalidPubKeyHashLength */ -export class Bolt11ParseError_InvalidPubKeyHashLength extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type InvalidScriptHashLength */ -export class Bolt11ParseError_InvalidScriptHashLength extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type InvalidRecoveryId */ -export class Bolt11ParseError_InvalidRecoveryId extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} -/** A Bolt11ParseError of type InvalidSliceLength */ -export class Bolt11ParseError_InvalidSliceLength extends Bolt11ParseError { - public invalid_slice_length: string; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const invalid_slice_length: number = bindings.LDKBolt11ParseError_InvalidSliceLength_get_invalid_slice_length(ptr); - const invalid_slice_length_conv: string = bindings.decodeString(invalid_slice_length); - this.invalid_slice_length = invalid_slice_length_conv; - } -} -/** A Bolt11ParseError of type Skip */ -export class Bolt11ParseError_Skip extends Bolt11ParseError { - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - } -} diff --git a/ts/structs/Bolt12Invoice.mts b/ts/structs/Bolt12Invoice.mts index 67bd8650..367f4f52 100644 --- a/ts/structs/Bolt12Invoice.mts +++ b/ts/structs/Bolt12Invoice.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -739,6 +771,28 @@ export class Bolt12Invoice extends CommonBase { return ret_hu_conv; } + /** + * Paths to the recipient originating from publicly reachable nodes, including information + * needed for routing payments across them. + * + * Blinded paths provide recipient privacy by obfuscating its node id. Note, however, that this + * privacy is lost if a public node id is used for + * [`Bolt12Invoice::signing_pubkey`]. + */ + public payment_paths(): BlindedPaymentPath[] { + const ret: number = bindings.Bolt12Invoice_payment_paths(this.ptr); + const ret_conv_20_len: number = bindings.getArrayLength(ret); + const ret_conv_20_arr: BlindedPaymentPath[] = new Array(ret_conv_20_len).fill(null); + for (var u = 0; u < ret_conv_20_len; u++) { + const ret_conv_20: bigint = bindings.getU64ArrayElem(ret, u); + const ret_conv_20_hu_conv: BlindedPaymentPath = new BlindedPaymentPath(null, ret_conv_20); + CommonBase.add_ref_from(ret_conv_20_hu_conv, this); + ret_conv_20_arr[u] = ret_conv_20_hu_conv; + } + bindings.freeWasmMemory(ret) + return ret_conv_20_arr; + } + /** * Duration since the Unix epoch when the invoice was created. */ @@ -785,7 +839,19 @@ export class Bolt12Invoice extends CommonBase { } /** - * The public key corresponding to the key used to sign the invoice. + * A typically transient public key corresponding to the key used to sign the invoice. + * + * If the invoices was created in response to an [`Offer`], then this will be: + * - [`Offer::issuer_signing_pubkey`] if it's `Some`, otherwise + * - the final blinded node id from a [`BlindedMessagePath`] in [`Offer::paths`] if `None`. + * + * If the invoice was created in response to a [`Refund`], then it is a valid pubkey chosen by + * the recipient. + * + * [`Offer`]: crate::offers::offer::Offer + * [`Offer::issuer_signing_pubkey`]: crate::offers::offer::Offer::issuer_signing_pubkey + * [`Offer::paths`]: crate::offers::offer::Offer::paths + * [`Refund`]: crate::offers::refund::Refund */ public signing_pubkey(): Uint8Array { const ret: number = bindings.Bolt12Invoice_signing_pubkey(this.ptr); @@ -954,6 +1020,22 @@ export class Bolt12Invoice extends CommonBase { return ret_hu_conv; } + /** + * The public key used by the recipient to sign invoices. + * + * From [`Offer::issuer_signing_pubkey`] and may be `None`; also `None` if the invoice was + * created in response to a [`Refund`]. + * + * [`Offer::issuer_signing_pubkey`]: crate::offers::offer::Offer::issuer_signing_pubkey + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.Bolt12Invoice_issuer_signing_pubkey(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + /** * An unpredictable series of bytes from the payer. * @@ -995,8 +1077,8 @@ export class Bolt12Invoice extends CommonBase { * * [`message_paths`]: Self::message_paths */ - public payer_id(): Uint8Array { - const ret: number = bindings.Bolt12Invoice_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.Bolt12Invoice_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } diff --git a/ts/structs/Bolt12InvoiceFeatures.mts b/ts/structs/Bolt12InvoiceFeatures.mts index 11a2b24c..1e7bbaab 100644 --- a/ts/structs/Bolt12InvoiceFeatures.mts +++ b/ts/structs/Bolt12InvoiceFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -923,4 +955,34 @@ export class Bolt12InvoiceFeatures extends CommonBase { return ret; } + /** + * Set this feature as optional. + */ + public set_trampoline_routing_optional(): void { + bindings.Bolt12InvoiceFeatures_set_trampoline_routing_optional(this.ptr); + } + + /** + * Set this feature as required. + */ + public set_trampoline_routing_required(): void { + bindings.Bolt12InvoiceFeatures_set_trampoline_routing_required(this.ptr); + } + + /** + * Checks if this feature is supported. + */ + public supports_trampoline_routing(): boolean { + const ret: boolean = bindings.Bolt12InvoiceFeatures_supports_trampoline_routing(this.ptr); + return ret; + } + + /** + * Checks if this feature is required. + */ + public requires_trampoline_routing(): boolean { + const ret: boolean = bindings.Bolt12InvoiceFeatures_requires_trampoline_routing(this.ptr); + return ret; + } + } diff --git a/ts/structs/Bolt12OfferContext.mts b/ts/structs/Bolt12OfferContext.mts index 26f63e2a..feef914b 100644 --- a/ts/structs/Bolt12OfferContext.mts +++ b/ts/structs/Bolt12OfferContext.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt12ParseError.mts b/ts/structs/Bolt12ParseError.mts index fe8b0870..1e7f032a 100644 --- a/ts/structs/Bolt12ParseError.mts +++ b/ts/structs/Bolt12ParseError.mts @@ -39,20 +39,44 @@ import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ. import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt12PaymentError.mts b/ts/structs/Bolt12PaymentError.mts index 65752ee4..96663ebb 100644 --- a/ts/structs/Bolt12PaymentError.mts +++ b/ts/structs/Bolt12PaymentError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,7 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Bolt12RefundContext.mts b/ts/structs/Bolt12RefundContext.mts index 450f1876..56589014 100644 --- a/ts/structs/Bolt12RefundContext.mts +++ b/ts/structs/Bolt12RefundContext.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BroadcasterInterface.mts b/ts/structs/BroadcasterInterface.mts index b89e5bce..d27f2b69 100644 --- a/ts/structs/BroadcasterInterface.mts +++ b/ts/structs/BroadcasterInterface.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BuiltCommitmentTransaction.mts b/ts/structs/BuiltCommitmentTransaction.mts index 86247da1..da54eac1 100644 --- a/ts/structs/BuiltCommitmentTransaction.mts +++ b/ts/structs/BuiltCommitmentTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BumpTransactionEvent.mts b/ts/structs/BumpTransactionEvent.mts index 140573b3..cd54d4ec 100644 --- a/ts/structs/BumpTransactionEvent.mts +++ b/ts/structs/BumpTransactionEvent.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { Event } from '../structs/Event.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/BumpTransactionEventHandler.mts b/ts/structs/BumpTransactionEventHandler.mts index eb110634..5602275d 100644 --- a/ts/structs/BumpTransactionEventHandler.mts +++ b/ts/structs/BumpTransactionEventHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CandidateRouteHop.mts b/ts/structs/CandidateRouteHop.mts index 5a4e57c9..2f15e1bc 100644 --- a/ts/structs/CandidateRouteHop.mts +++ b/ts/structs/CandidateRouteHop.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChainMonitor.mts b/ts/structs/ChainMonitor.mts index 6bf04aff..fb897be7 100644 --- a/ts/structs/ChainMonitor.mts +++ b/ts/structs/ChainMonitor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; import { UserConfig } from '../structs/UserConfig.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChainParameters.mts b/ts/structs/ChainParameters.mts index fb19dc02..8284a98e 100644 --- a/ts/structs/ChainParameters.mts +++ b/ts/structs/ChainParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChangeDestinationSource.mts b/ts/structs/ChangeDestinationSource.mts index 819dcb91..a4b6d66a 100644 --- a/ts/structs/ChangeDestinationSource.mts +++ b/ts/structs/ChangeDestinationSource.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelAnnouncement.mts b/ts/structs/ChannelAnnouncement.mts index 9b51dec8..57997e5f 100644 --- a/ts/structs/ChannelAnnouncement.mts +++ b/ts/structs/ChannelAnnouncement.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelConfig.mts b/ts/structs/ChannelConfig.mts index f6e1836e..24ffd8c9 100644 --- a/ts/structs/ChannelConfig.mts +++ b/ts/structs/ChannelConfig.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelConfigUpdate.mts b/ts/structs/ChannelConfigUpdate.mts index 99497223..802f0e5b 100644 --- a/ts/structs/ChannelConfigUpdate.mts +++ b/ts/structs/ChannelConfigUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelCounterparty.mts b/ts/structs/ChannelCounterparty.mts index 5178c8ab..714461ba 100644 --- a/ts/structs/ChannelCounterparty.mts +++ b/ts/structs/ChannelCounterparty.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelDerivationParameters.mts b/ts/structs/ChannelDerivationParameters.mts index a31bc4c3..e892bc93 100644 --- a/ts/structs/ChannelDerivationParameters.mts +++ b/ts/structs/ChannelDerivationParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelDetails.mts b/ts/structs/ChannelDetails.mts index 8cb395f9..54a7e4e4 100644 --- a/ts/structs/ChannelDetails.mts +++ b/ts/structs/ChannelDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -1026,47 +1058,12 @@ export class ChannelDetails extends CommonBase { bindings.ChannelDetails_set_feerate_sat_per_1000_weight(this.ptr, CommonBase.get_ptr_of(val)); } - /** - * Our total balance. This is the amount we would get if we close the channel. - * This value is not exact. Due to various in-flight changes and feerate changes, exactly this - * amount is not likely to be recoverable on close. - * - * This does not include any pending HTLCs which are not yet fully resolved (and, thus, whose - * balance is not available for inclusion in new outbound HTLCs). This further does not include - * any pending outgoing HTLCs which are awaiting some other resolution to be sent. - * This does not consider any on-chain fees. - * - * See also [`ChannelDetails::outbound_capacity_msat`] - */ - public get_balance_msat(): bigint { - const ret: bigint = bindings.ChannelDetails_get_balance_msat(this.ptr); - return ret; - } - - /** - * Our total balance. This is the amount we would get if we close the channel. - * This value is not exact. Due to various in-flight changes and feerate changes, exactly this - * amount is not likely to be recoverable on close. - * - * This does not include any pending HTLCs which are not yet fully resolved (and, thus, whose - * balance is not available for inclusion in new outbound HTLCs). This further does not include - * any pending outgoing HTLCs which are awaiting some other resolution to be sent. - * This does not consider any on-chain fees. - * - * See also [`ChannelDetails::outbound_capacity_msat`] - */ - public set_balance_msat(val: bigint): void { - bindings.ChannelDetails_set_balance_msat(this.ptr, val); - } - /** * The available outbound capacity for sending HTLCs to the remote peer. This does not include * any pending HTLCs which are not yet fully resolved (and, thus, whose balance is not * available for inclusion in new outbound HTLCs). This further does not include any pending * outgoing HTLCs which are awaiting some other resolution to be sent. * - * See also [`ChannelDetails::balance_msat`] - * * This value is not exact. Due to various in-flight changes, feerate changes, and our * conflict-avoidance policy, exactly this amount is not likely to be spendable. However, we * should be able to spend nearly this amount. @@ -1082,8 +1079,6 @@ export class ChannelDetails extends CommonBase { * available for inclusion in new outbound HTLCs). This further does not include any pending * outgoing HTLCs which are awaiting some other resolution to be sent. * - * See also [`ChannelDetails::balance_msat`] - * * This value is not exact. Due to various in-flight changes, feerate changes, and our * conflict-avoidance policy, exactly this amount is not likely to be spendable. However, we * should be able to spend nearly this amount. @@ -1098,8 +1093,8 @@ export class ChannelDetails extends CommonBase { * the current state and per-HTLC limit(s). This is intended for use when routing, allowing us * to use a limit as close as possible to the HTLC limit we can currently send. * - * See also [`ChannelDetails::next_outbound_htlc_minimum_msat`], - * [`ChannelDetails::balance_msat`], and [`ChannelDetails::outbound_capacity_msat`]. + * See also [`ChannelDetails::next_outbound_htlc_minimum_msat`] and + * [`ChannelDetails::outbound_capacity_msat`]. */ public get_next_outbound_htlc_limit_msat(): bigint { const ret: bigint = bindings.ChannelDetails_get_next_outbound_htlc_limit_msat(this.ptr); @@ -1112,8 +1107,8 @@ export class ChannelDetails extends CommonBase { * the current state and per-HTLC limit(s). This is intended for use when routing, allowing us * to use a limit as close as possible to the HTLC limit we can currently send. * - * See also [`ChannelDetails::next_outbound_htlc_minimum_msat`], - * [`ChannelDetails::balance_msat`], and [`ChannelDetails::outbound_capacity_msat`]. + * See also [`ChannelDetails::next_outbound_htlc_minimum_msat`] and + * [`ChannelDetails::outbound_capacity_msat`]. */ public set_next_outbound_htlc_limit_msat(val: bigint): void { bindings.ChannelDetails_set_next_outbound_htlc_limit_msat(this.ptr, val); @@ -1481,8 +1476,8 @@ export class ChannelDetails extends CommonBase { * Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent None * Note that config_arg (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public static constructor_new(channel_id_arg: ChannelId, counterparty_arg: ChannelCounterparty, funding_txo_arg: OutPoint|null, channel_type_arg: ChannelTypeFeatures|null, short_channel_id_arg: Option_u64Z, outbound_scid_alias_arg: Option_u64Z, inbound_scid_alias_arg: Option_u64Z, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: Option_u64Z, user_channel_id_arg: bigint, feerate_sat_per_1000_weight_arg: Option_u32Z, balance_msat_arg: bigint, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, next_outbound_htlc_minimum_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: Option_u32Z, confirmations_arg: Option_u32Z, force_close_spend_delay_arg: Option_u16Z, is_outbound_arg: boolean, is_channel_ready_arg: boolean, channel_shutdown_state_arg: Option_ChannelShutdownStateZ, is_usable_arg: boolean, is_announced_arg: boolean, inbound_htlc_minimum_msat_arg: Option_u64Z, inbound_htlc_maximum_msat_arg: Option_u64Z, config_arg: ChannelConfig|null, pending_inbound_htlcs_arg: InboundHTLCDetails[], pending_outbound_htlcs_arg: OutboundHTLCDetails[]): ChannelDetails { - const ret: bigint = bindings.ChannelDetails_new(CommonBase.get_ptr_of(channel_id_arg), CommonBase.get_ptr_of(counterparty_arg), funding_txo_arg == null ? 0n : CommonBase.get_ptr_of(funding_txo_arg), channel_type_arg == null ? 0n : CommonBase.get_ptr_of(channel_type_arg), CommonBase.get_ptr_of(short_channel_id_arg), CommonBase.get_ptr_of(outbound_scid_alias_arg), CommonBase.get_ptr_of(inbound_scid_alias_arg), channel_value_satoshis_arg, CommonBase.get_ptr_of(unspendable_punishment_reserve_arg), bindings.encodeUint128(user_channel_id_arg), CommonBase.get_ptr_of(feerate_sat_per_1000_weight_arg), balance_msat_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, CommonBase.get_ptr_of(confirmations_required_arg), CommonBase.get_ptr_of(confirmations_arg), CommonBase.get_ptr_of(force_close_spend_delay_arg), is_outbound_arg, is_channel_ready_arg, CommonBase.get_ptr_of(channel_shutdown_state_arg), is_usable_arg, is_announced_arg, CommonBase.get_ptr_of(inbound_htlc_minimum_msat_arg), CommonBase.get_ptr_of(inbound_htlc_maximum_msat_arg), config_arg == null ? 0n : CommonBase.get_ptr_of(config_arg), bindings.encodeUint64Array(pending_inbound_htlcs_arg.map(pending_inbound_htlcs_arg_conv_20 => CommonBase.get_ptr_of(pending_inbound_htlcs_arg_conv_20))), bindings.encodeUint64Array(pending_outbound_htlcs_arg.map(pending_outbound_htlcs_arg_conv_21 => CommonBase.get_ptr_of(pending_outbound_htlcs_arg_conv_21)))); + public static constructor_new(channel_id_arg: ChannelId, counterparty_arg: ChannelCounterparty, funding_txo_arg: OutPoint|null, channel_type_arg: ChannelTypeFeatures|null, short_channel_id_arg: Option_u64Z, outbound_scid_alias_arg: Option_u64Z, inbound_scid_alias_arg: Option_u64Z, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: Option_u64Z, user_channel_id_arg: bigint, feerate_sat_per_1000_weight_arg: Option_u32Z, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, next_outbound_htlc_minimum_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: Option_u32Z, confirmations_arg: Option_u32Z, force_close_spend_delay_arg: Option_u16Z, is_outbound_arg: boolean, is_channel_ready_arg: boolean, channel_shutdown_state_arg: Option_ChannelShutdownStateZ, is_usable_arg: boolean, is_announced_arg: boolean, inbound_htlc_minimum_msat_arg: Option_u64Z, inbound_htlc_maximum_msat_arg: Option_u64Z, config_arg: ChannelConfig|null, pending_inbound_htlcs_arg: InboundHTLCDetails[], pending_outbound_htlcs_arg: OutboundHTLCDetails[]): ChannelDetails { + const ret: bigint = bindings.ChannelDetails_new(CommonBase.get_ptr_of(channel_id_arg), CommonBase.get_ptr_of(counterparty_arg), funding_txo_arg == null ? 0n : CommonBase.get_ptr_of(funding_txo_arg), channel_type_arg == null ? 0n : CommonBase.get_ptr_of(channel_type_arg), CommonBase.get_ptr_of(short_channel_id_arg), CommonBase.get_ptr_of(outbound_scid_alias_arg), CommonBase.get_ptr_of(inbound_scid_alias_arg), channel_value_satoshis_arg, CommonBase.get_ptr_of(unspendable_punishment_reserve_arg), bindings.encodeUint128(user_channel_id_arg), CommonBase.get_ptr_of(feerate_sat_per_1000_weight_arg), outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, next_outbound_htlc_minimum_msat_arg, inbound_capacity_msat_arg, CommonBase.get_ptr_of(confirmations_required_arg), CommonBase.get_ptr_of(confirmations_arg), CommonBase.get_ptr_of(force_close_spend_delay_arg), is_outbound_arg, is_channel_ready_arg, CommonBase.get_ptr_of(channel_shutdown_state_arg), is_usable_arg, is_announced_arg, CommonBase.get_ptr_of(inbound_htlc_minimum_msat_arg), CommonBase.get_ptr_of(inbound_htlc_maximum_msat_arg), config_arg == null ? 0n : CommonBase.get_ptr_of(config_arg), bindings.encodeUint64Array(pending_inbound_htlcs_arg.map(pending_inbound_htlcs_arg_conv_20 => CommonBase.get_ptr_of(pending_inbound_htlcs_arg_conv_20))), bindings.encodeUint64Array(pending_outbound_htlcs_arg.map(pending_outbound_htlcs_arg_conv_21 => CommonBase.get_ptr_of(pending_outbound_htlcs_arg_conv_21)))); const ret_hu_conv: ChannelDetails = new ChannelDetails(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; diff --git a/ts/structs/ChannelFeatures.mts b/ts/structs/ChannelFeatures.mts index eafa7659..4751095a 100644 --- a/ts/structs/ChannelFeatures.mts +++ b/ts/structs/ChannelFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelHandshakeConfig.mts b/ts/structs/ChannelHandshakeConfig.mts index beb0bb1a..a1dcae0d 100644 --- a/ts/structs/ChannelHandshakeConfig.mts +++ b/ts/structs/ChannelHandshakeConfig.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelHandshakeLimits.mts b/ts/structs/ChannelHandshakeLimits.mts index 6260d28b..249f11ae 100644 --- a/ts/structs/ChannelHandshakeLimits.mts +++ b/ts/structs/ChannelHandshakeLimits.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelId.mts b/ts/structs/ChannelId.mts index 84d7fbdf..19d05316 100644 --- a/ts/structs/ChannelId.mts +++ b/ts/structs/ChannelId.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { UntrustedString } from '../structs/UntrustedString.mjs'; import { ClosureReason } from '../structs/ClosureReason.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -882,13 +914,4 @@ export class ChannelId extends CommonBase { return ret_hu_conv; } - /** - * Get the string representation of a ChannelId object - */ - public to_str(): string { - const ret: number = bindings.ChannelId_to_str(this.ptr); - const ret_conv: string = bindings.decodeString(ret); - return ret_conv; - } - } diff --git a/ts/structs/ChannelInfo.mts b/ts/structs/ChannelInfo.mts index 24d9ab4a..1676b731 100644 --- a/ts/structs/ChannelInfo.mts +++ b/ts/structs/ChannelInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelManager.mts b/ts/structs/ChannelManager.mts index 25dd9b20..98223931 100644 --- a/ts/structs/ChannelManager.mts +++ b/ts/structs/ChannelManager.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -723,6 +755,7 @@ import * as bindings from '../bindings.mjs' * - [`FeeEstimator`] to determine transaction fee rates needed to have a transaction mined in a * timely manner * - [`Router`] for finding payment paths when initiating and retrying payments + * - [`MessageRouter`] for finding message paths when initiating and retrying onion messages * - [`Logger`] for logging operational information of varying degrees * * Additionally, it implements the following traits: @@ -782,7 +815,8 @@ import * as bindings from '../bindings.mjs' * # fee_estimator: &dyn lightning::chain::chaininterface::FeeEstimator, * # chain_monitor: &dyn lightning::chain::Watch, * # tx_broadcaster: &dyn lightning::chain::chaininterface::BroadcasterInterface, - * # router: &lightning::routing::router::DefaultRouter<&NetworkGraph<&'a L>, &'a L, &ES, &S, SP, SL>, + * # router: &lightning::routing::router::DefaultRouter<&NetworkGraph<&'a L>, &'a L, &ES, &S>, + * # message_router: &lightning::onion_message::messenger::DefaultMessageRouter<&NetworkGraph<&'a L>, &'a L, &ES>, * # logger: &L, * # entropy_source: &ES, * # node_signer: &dyn lightning::sign::NodeSigner, @@ -798,18 +832,18 @@ import * as bindings from '../bindings.mjs' * }; * let default_config = UserConfig::default(); * let channel_manager = ChannelManager::new( - * fee_estimator, chain_monitor, tx_broadcaster, router, logger, entropy_source, node_signer, - * signer_provider, default_config, params, current_timestamp + * fee_estimator, chain_monitor, tx_broadcaster, router, message_router, logger, + * entropy_source, node_signer, signer_provider, default_config, params, current_timestamp, * ); * * Restart from deserialized data * let mut channel_monitors = read_channel_monitors(); * let args = ChannelManagerReadArgs::new( * entropy_source, node_signer, signer_provider, fee_estimator, chain_monitor, tx_broadcaster, - * router, logger, default_config, channel_monitors.iter_mut().collect() + * router, message_router, logger, default_config, channel_monitors.iter().collect(), * ); * let (block_hash, channel_manager) = - * <(BlockHash, ChannelManager<_, _, _, _, _, _, _, _>)>::read(&mut reader, args)?; + * <(BlockHash, ChannelManager<_, _, _, _, _, _, _, _, _>)>::read(&mut reader, args)?; * * Update the ChannelManager and ChannelMonitors with the latest chain data * ... @@ -1034,12 +1068,12 @@ import * as bindings from '../bindings.mjs' * * ## BOLT 11 Invoices * - * The [`lightning-invoice`] crate is useful for creating BOLT 11 invoices. Specifically, use the - * functions in its `utils` module for constructing invoices that are compatible with - * [`ChannelManager`]. These functions serve as a convenience for building invoices with the + * The [`lightning-invoice`] crate is useful for creating BOLT 11 invoices. However, in order to + * construct a [`Bolt11Invoice`] that is compatible with [`ChannelManager`], use + * [`create_bolt11_invoice`]. This method serves as a convenience for building invoices with the * [`PaymentHash`] and [`PaymentSecret`] returned from [`create_inbound_payment`]. To provide your - * own [`PaymentHash`], use [`create_inbound_payment_for_hash`] or the corresponding functions in - * the [`lightning-invoice`] `utils` module. + * own [`PaymentHash`], override the appropriate [`Bolt11InvoiceParameters`], which is equivalent + * to using [`create_inbound_payment_for_hash`]. * * [`ChannelManager`] generates an [`Event::PaymentClaimable`] once the full payment has been * received. Call [`claim_funds`] to release the [`PaymentPreimage`], which in turn will result in @@ -1047,19 +1081,21 @@ import * as bindings from '../bindings.mjs' * * ``` * # use lightning::events::{Event, EventsProvider, PaymentPurpose}; - * # use lightning::ln::channelmanager::AChannelManager; + * # use lightning::ln::channelmanager::{AChannelManager, Bolt11InvoiceParameters}; * # * # fn example(channel_manager: T) { * # let channel_manager = channel_manager.get_cm(); - * Or use utils::create_invoice_from_channelmanager - * let known_payment_hash = match channel_manager.create_inbound_payment( - * Some(10_000_000), 3600, None - * ) { - * Ok((payment_hash, _payment_secret)) => { - * println!(\"Creating inbound payment {}\", payment_hash); - * payment_hash + * let params = Bolt11InvoiceParameters { + * amount_msats: Some(10_000_000), + * invoice_expiry_delta_secs: Some(3600), + * ..Default::default() + * }; + * let invoice = match channel_manager.create_bolt11_invoice(params) { + * Ok(invoice) => { + * println!(\"Creating invoice with payment hash {}\", invoice.payment_hash()); + * invoice * }, - * Err(()) => panic!(\"Error creating inbound payment\"), + * Err(e) => panic!(\"Error creating invoice: {}\", e), * }; * * On the event processing thread @@ -1067,7 +1103,7 @@ import * as bindings from '../bindings.mjs' * match event { * Event::PaymentClaimable { payment_hash, purpose, .. } => match purpose { * PaymentPurpose::Bolt11InvoicePayment { payment_preimage: Some(payment_preimage), .. } => { - * assert_eq!(payment_hash, known_payment_hash); + * assert_eq!(payment_hash.0, invoice.payment_hash().as_ref()); * println!(\"Claiming payment {}\", payment_hash); * channel_manager.claim_funds(payment_preimage); * }, @@ -1075,7 +1111,7 @@ import * as bindings from '../bindings.mjs' * println!(\"Unknown payment hash: {}\", payment_hash); * }, * PaymentPurpose::SpontaneousPayment(payment_preimage) => { - * assert_ne!(payment_hash, known_payment_hash); + * assert_ne!(payment_hash.0, invoice.payment_hash().as_ref()); * println!(\"Claiming spontaneous payment {}\", payment_hash); * channel_manager.claim_funds(payment_preimage); * }, @@ -1083,7 +1119,7 @@ import * as bindings from '../bindings.mjs' * # _ => {}, * }, * Event::PaymentClaimed { payment_hash, amount_msat, .. } => { - * assert_eq!(payment_hash, known_payment_hash); + * assert_eq!(payment_hash.0, invoice.payment_hash().as_ref()); * println!(\"Claimed {} msats\", amount_msat); * }, * ... @@ -1094,13 +1130,14 @@ import * as bindings from '../bindings.mjs' * # } * ``` * - * For paying an invoice, [`lightning-invoice`] provides a `payment` module with convenience - * functions for use with [`send_payment`]. + * For paying an invoice, see the [`bolt11_payment`] module with convenience functions for use with + * [`send_payment`]. * * ``` * # use lightning::events::{Event, EventsProvider}; - * # use lightning::ln::types::PaymentHash; - * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails, RecipientOnionFields, Retry}; + * # use lightning::types::payment::PaymentHash; + * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails}; + * # use lightning::ln::outbound_payment::{RecipientOnionFields, Retry}; * # use lightning::routing::router::RouteParameters; * # * # fn example( @@ -1203,7 +1240,8 @@ import * as bindings from '../bindings.mjs' * * ``` * # use lightning::events::{Event, EventsProvider}; - * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails, Retry}; + * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails}; + * # use lightning::ln::outbound_payment::Retry; * # use lightning::offers::offer::Offer; * # * # fn example( @@ -1259,7 +1297,8 @@ import * as bindings from '../bindings.mjs' * ``` * # use core::time::Duration; * # use lightning::events::{Event, EventsProvider}; - * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails, Retry}; + * # use lightning::ln::channelmanager::{AChannelManager, PaymentId, RecentPaymentDetails}; + * # use lightning::ln::outbound_payment::Retry; * # use lightning::offers::parse::Bolt12SemanticError; * # * # fn example( @@ -1429,8 +1468,10 @@ import * as bindings from '../bindings.mjs' * [`list_recent_payments`]: Self::list_recent_payments * [`abandon_payment`]: Self::abandon_payment * [`lightning-invoice`]: https://docs.rs/lightning_invoice/latest/lightning_invoice + * [`create_bolt11_invoice`]: Self::create_bolt11_invoice * [`create_inbound_payment`]: Self::create_inbound_payment * [`create_inbound_payment_for_hash`]: Self::create_inbound_payment_for_hash + * [`bolt11_payment`]: crate::ln::bolt11_payment * [`claim_funds`]: Self::claim_funds * [`send_payment`]: Self::send_payment * [`offers`]: crate::offers @@ -1472,14 +1513,15 @@ export class ChannelManager extends CommonBase { * [`block_disconnected`]: chain::Listen::block_disconnected * [`params.best_block.block_hash`]: chain::BestBlock::block_hash */ - public static constructor_new(fee_est: FeeEstimator, chain_monitor: Watch, tx_broadcaster: BroadcasterInterface, router: Router, logger: Logger, entropy_source: EntropySource, node_signer: NodeSigner, signer_provider: SignerProvider, config: UserConfig, params: ChainParameters, current_timestamp: number): ChannelManager { - const ret: bigint = bindings.ChannelManager_new(CommonBase.get_ptr_of(fee_est), CommonBase.get_ptr_of(chain_monitor), CommonBase.get_ptr_of(tx_broadcaster), CommonBase.get_ptr_of(router), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(signer_provider), CommonBase.get_ptr_of(config), CommonBase.get_ptr_of(params), current_timestamp); + public static constructor_new(fee_est: FeeEstimator, chain_monitor: Watch, tx_broadcaster: BroadcasterInterface, router: Router, message_router: MessageRouter, logger: Logger, entropy_source: EntropySource, node_signer: NodeSigner, signer_provider: SignerProvider, config: UserConfig, params: ChainParameters, current_timestamp: number): ChannelManager { + const ret: bigint = bindings.ChannelManager_new(CommonBase.get_ptr_of(fee_est), CommonBase.get_ptr_of(chain_monitor), CommonBase.get_ptr_of(tx_broadcaster), CommonBase.get_ptr_of(router), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(signer_provider), CommonBase.get_ptr_of(config), CommonBase.get_ptr_of(params), current_timestamp); const ret_hu_conv: ChannelManager = new ChannelManager(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); CommonBase.add_ref_from(ret_hu_conv, fee_est); CommonBase.add_ref_from(ret_hu_conv, chain_monitor); CommonBase.add_ref_from(ret_hu_conv, tx_broadcaster); CommonBase.add_ref_from(ret_hu_conv, router); + CommonBase.add_ref_from(ret_hu_conv, message_router); CommonBase.add_ref_from(ret_hu_conv, logger); CommonBase.add_ref_from(ret_hu_conv, entropy_source); CommonBase.add_ref_from(ret_hu_conv, node_signer); @@ -1752,14 +1794,8 @@ export class ChannelManager extends CommonBase { } /** - * Sends a payment along a given route. - * - * This method is *DEPRECATED*, use [`Self::send_payment`] instead. If you wish to fix the - * route for a payment, do so by matching the [`PaymentId`] passed to - * [`Router::find_route_with_id`]. - * - * Value parameters are provided via the last hop in route, see documentation for [`RouteHop`] - * fields for more info. + * Sends a payment to the route found using the provided [`RouteParameters`], retrying failed + * payment paths based on the provided `Retry`. * * May generate [`UpdateHTLCs`] message(s) event on success, which should be relayed (e.g. via * [`PeerManager::process_events`]). @@ -1767,9 +1803,9 @@ export class ChannelManager extends CommonBase { * # Avoiding Duplicate Payments * * If a pending payment is currently in-flight with the same [`PaymentId`] provided, this - * method will error with an [`APIError::InvalidRoute`]. Note, however, that once a payment - * is no longer pending (either via [`ChannelManager::abandon_payment`], or handling of an - * [`Event::PaymentSent`] or [`Event::PaymentFailed`]) LDK will not stop you from sending a + * method will error with [`RetryableSendFailure::DuplicatePayment`]. Note, however, that once a + * payment is no longer pending (either via [`ChannelManager::abandon_payment`], or handling of + * an [`Event::PaymentSent`] or [`Event::PaymentFailed`]) LDK will not stop you from sending a * second payment with the same [`PaymentId`]. * * Thus, in order to ensure duplicate payments are not sent, you should implement your own @@ -1783,44 +1819,47 @@ export class ChannelManager extends CommonBase { * using [`ChannelMonitorUpdateStatus::InProgress`]), the payment may be lost on restart. See * [`ChannelManager::list_recent_payments`] for more information. * - * # Possible Error States on [`PaymentSendFailure`] - * - * Each path may have a different return value, and [`PaymentSendFailure`] may return a `Vec` with - * each entry matching the corresponding-index entry in the route paths, see - * [`PaymentSendFailure`] for more info. - * - * In general, a path may raise: - * [`APIError::InvalidRoute`] when an invalid route or forwarding parameter (cltv_delta, fee, - * node public key) is specified. - * [`APIError::ChannelUnavailable`] if the next-hop channel is not available as it has been - * closed, doesn't exist, or the peer is currently disconnected. - * [`APIError::MonitorUpdateInProgress`] if a new monitor update failure prevented sending the - * relevant updates. + * Routes are automatically found using the [`Router] provided on startup. To fix a route for a + * particular payment, match the [`PaymentId`] passed to [`Router::find_route_with_id`]. * - * Note that depending on the type of the [`PaymentSendFailure`] the HTLC may have been - * irrevocably committed to on our end. In such a case, do NOT retry the payment with a - * different route unless you intend to pay twice! - * - * [`RouteHop`]: crate::routing::router::RouteHop * [`Event::PaymentSent`]: events::Event::PaymentSent * [`Event::PaymentFailed`]: events::Event::PaymentFailed * [`UpdateHTLCs`]: events::MessageSendEvent::UpdateHTLCs * [`PeerManager::process_events`]: crate::ln::peer_handler::PeerManager::process_events * [`ChannelMonitorUpdateStatus::InProgress`]: crate::chain::ChannelMonitorUpdateStatus::InProgress */ - public send_payment_with_route(route: Route, payment_hash: Uint8Array, recipient_onion: RecipientOnionFields, payment_id: Uint8Array): Result_NonePaymentSendFailureZ { - const ret: bigint = bindings.ChannelManager_send_payment_with_route(this.ptr, CommonBase.get_ptr_of(route), bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); - const ret_hu_conv: Result_NonePaymentSendFailureZ = Result_NonePaymentSendFailureZ.constr_from_ptr(ret); + public send_payment(payment_hash: Uint8Array, recipient_onion: RecipientOnionFields, payment_id: Uint8Array, route_params: RouteParameters, retry_strategy: Retry): Result_NoneRetryableSendFailureZ { + const ret: bigint = bindings.ChannelManager_send_payment(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(route_params), CommonBase.get_ptr_of(retry_strategy)); + const ret_hu_conv: Result_NoneRetryableSendFailureZ = Result_NoneRetryableSendFailureZ.constr_from_ptr(ret); return ret_hu_conv; } /** - * Similar to [`ChannelManager::send_payment_with_route`], but will automatically find a route based on - * `route_params` and retry failed payment paths based on `retry_strategy`. + * Pays the [`Bolt12Invoice`] associated with the `payment_id` encoded in its `payer_metadata`. + * + * The invoice's `payer_metadata` is used to authenticate that the invoice was indeed requested + * before attempting a payment. [`Bolt12PaymentError::UnexpectedInvoice`] is returned if this + * fails or if the encoded `payment_id` is not recognized. The latter may happen once the + * payment is no longer tracked because the payment was attempted after: + * - an invoice for the `payment_id` was already paid, + * - one full [timer tick] has elapsed since initially requesting the invoice when paying an + * offer, or + * - the refund corresponding to the invoice has already expired. + * + * To retry the payment, request another invoice using a new `payment_id`. + * + * Attempting to pay the same invoice twice while the first payment is still pending will + * result in a [`Bolt12PaymentError::DuplicateInvoice`]. + * + * Otherwise, either [`Event::PaymentSent`] or [`Event::PaymentFailed`] are used to indicate + * whether or not the payment was successful. + * + * [timer tick]: Self::timer_tick_occurred */ - public send_payment(payment_hash: Uint8Array, recipient_onion: RecipientOnionFields, payment_id: Uint8Array, route_params: RouteParameters, retry_strategy: Retry): Result_NoneRetryableSendFailureZ { - const ret: bigint = bindings.ChannelManager_send_payment(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(route_params), CommonBase.get_ptr_of(retry_strategy)); - const ret_hu_conv: Result_NoneRetryableSendFailureZ = Result_NoneRetryableSendFailureZ.constr_from_ptr(ret); + public send_payment_for_bolt12_invoice(invoice: Bolt12Invoice, context: Option_OffersContextZ): Result_NoneBolt12PaymentErrorZ { + const ret: bigint = bindings.ChannelManager_send_payment_for_bolt12_invoice(this.ptr, CommonBase.get_ptr_of(invoice), CommonBase.get_ptr_of(context)); + const ret_hu_conv: Result_NoneBolt12PaymentErrorZ = Result_NoneBolt12PaymentErrorZ.constr_from_ptr(ret); + CommonBase.add_ref_from(this, invoice); return ret_hu_conv; } @@ -1862,32 +1901,20 @@ export class ChannelManager extends CommonBase { * would be able to guess -- otherwise, an intermediate node may claim the payment and it will * never reach the recipient. * - * See [`send_payment`] documentation for more details on the return value of this function - * and idempotency guarantees provided by the [`PaymentId`] key. - * * Similar to regular payments, you MUST NOT reuse a `payment_preimage` value. See * [`send_payment`] for more information about the risks of duplicate preimage usage. * - * [`send_payment`]: Self::send_payment - */ - public send_spontaneous_payment(route: Route, payment_preimage: Option_ThirtyTwoBytesZ, recipient_onion: RecipientOnionFields, payment_id: Uint8Array): Result_ThirtyTwoBytesPaymentSendFailureZ { - const ret: bigint = bindings.ChannelManager_send_spontaneous_payment(this.ptr, CommonBase.get_ptr_of(route), CommonBase.get_ptr_of(payment_preimage), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); - const ret_hu_conv: Result_ThirtyTwoBytesPaymentSendFailureZ = Result_ThirtyTwoBytesPaymentSendFailureZ.constr_from_ptr(ret); - CommonBase.add_ref_from(this, route); - return ret_hu_conv; - } - - /** - * Similar to [`ChannelManager::send_spontaneous_payment`], but will automatically find a route - * based on `route_params` and retry failed payment paths based on `retry_strategy`. + * See [`send_payment`] documentation for more details on the idempotency guarantees provided by + * the [`PaymentId`] key. * * See [`PaymentParameters::for_keysend`] for help in constructing `route_params` for spontaneous * payments. * + * [`send_payment`]: Self::send_payment * [`PaymentParameters::for_keysend`]: crate::routing::router::PaymentParameters::for_keysend */ - public send_spontaneous_payment_with_retry(payment_preimage: Option_ThirtyTwoBytesZ, recipient_onion: RecipientOnionFields, payment_id: Uint8Array, route_params: RouteParameters, retry_strategy: Retry): Result_ThirtyTwoBytesRetryableSendFailureZ { - const ret: bigint = bindings.ChannelManager_send_spontaneous_payment_with_retry(this.ptr, CommonBase.get_ptr_of(payment_preimage), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(route_params), CommonBase.get_ptr_of(retry_strategy)); + public send_spontaneous_payment(payment_preimage: Option_ThirtyTwoBytesZ, recipient_onion: RecipientOnionFields, payment_id: Uint8Array, route_params: RouteParameters, retry_strategy: Retry): Result_ThirtyTwoBytesRetryableSendFailureZ { + const ret: bigint = bindings.ChannelManager_send_spontaneous_payment(this.ptr, CommonBase.get_ptr_of(payment_preimage), CommonBase.get_ptr_of(recipient_onion), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(route_params), CommonBase.get_ptr_of(retry_strategy)); const ret_hu_conv: Result_ThirtyTwoBytesRetryableSendFailureZ = Result_ThirtyTwoBytesRetryableSendFailureZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -1897,9 +1924,9 @@ export class ChannelManager extends CommonBase { * [`PaymentHash`] of probes based on a static secret and a random [`PaymentId`], which allows * us to easily discern them from real payments. */ - public send_probe(path: Path): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { + public send_probe(path: Path): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { const ret: bigint = bindings.ChannelManager_send_probe(this.ptr, CommonBase.get_ptr_of(path)); - const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.constr_from_ptr(ret); + const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -2162,7 +2189,7 @@ export class ChannelManager extends CommonBase { * Forgetting about stale outbound payments, either those that have already been fulfilled * or those awaiting an invoice that hasn't been delivered in the necessary amount of time. * The latter is determined using the system clock in `std` and the highest seen block time - * minus two hours in `no-std`. + * minus two hours in non-`std`. * * Note that this may cause reentrancy through [`chain::Watch::update_channel`] calls or feerate * estimate fetches. @@ -2272,6 +2299,10 @@ export class ChannelManager extends CommonBase { * for zero confirmations. Instead, `accept_inbound_channel_from_trusted_peer_0conf` must be * used to accept such channels. * + * NOTE: LDK makes no attempt to prevent the counterparty from using non-standard inputs which + * will prevent the funding transaction from being relayed on the bitcoin network and hence being + * confirmed. + * * [`Event::OpenChannelRequest`]: events::Event::OpenChannelRequest * [`Event::ChannelClosed::user_channel_id`]: events::Event::ChannelClosed::user_channel_id */ @@ -2309,6 +2340,36 @@ export class ChannelManager extends CommonBase { return ret_hu_conv; } + /** + * When a call to a [`ChannelSigner`] method returns an error, this indicates that the signer + * is (temporarily) unavailable, and the operation should be retried later. + * + * This method allows for that retry - either checking for any signer-pending messages to be + * attempted in every channel, or in the specifically provided channel. + * + * [`ChannelSigner`]: crate::sign::ChannelSigner + */ + public signer_unblocked(channel_opt: Option_C2Tuple_PublicKeyChannelIdZZ): void { + bindings.ChannelManager_signer_unblocked(this.ptr, CommonBase.get_ptr_of(channel_opt)); + } + + /** + * Utility for creating a BOLT11 invoice that can be verified by [`ChannelManager`] without + * storing any additional state. It achieves this by including a [`PaymentSecret`] in the + * invoice which it uses to verify that the invoice has not expired and the payment amount is + * sufficient, reproducing the [`PaymentPreimage`] if applicable. + */ + public create_bolt11_invoice(params_amount_msats_arg: Option_u64Z, params_description_arg: Bolt11InvoiceDescription, params_invoice_expiry_delta_secs_arg: Option_u32Z, params_min_final_cltv_expiry_delta_arg: Option_u16Z, params_payment_hash_arg: Option_ThirtyTwoBytesZ): Result_Bolt11InvoiceSignOrCreationErrorZ { + const ret: bigint = bindings.ChannelManager_create_bolt11_invoice(this.ptr, bindings.Bolt11InvoiceParameters_new(CommonBase.get_ptr_of(params_amount_msats_arg), CommonBase.get_ptr_of(params_description_arg), CommonBase.get_ptr_of(params_invoice_expiry_delta_secs_arg), CommonBase.get_ptr_of(params_min_final_cltv_expiry_delta_arg), CommonBase.get_ptr_of(params_payment_hash_arg))); + const ret_hu_conv: Result_Bolt11InvoiceSignOrCreationErrorZ = Result_Bolt11InvoiceSignOrCreationErrorZ.constr_from_ptr(ret); + ; + ; + ; + ; + ; + return ret_hu_conv; + } + /** * Creates an [`OfferBuilder`] such that the [`Offer`] it builds is recognized by the * [`ChannelManager`] when handling [`InvoiceRequest`] messages for the offer. The offer's @@ -2351,7 +2412,7 @@ export class ChannelManager extends CommonBase { * See [Avoiding Duplicate Payments] for other requirements once the payment has been sent. * * The builder will have the provided expiration set. Any changes to the expiration on the - * returned builder will not be honored by [`ChannelManager`]. For `no-std`, the highest seen + * returned builder will not be honored by [`ChannelManager`]. For non-`std`, the highest seen * block time minus two hours is used for the current time when determining if the refund has * expired. * @@ -2429,7 +2490,7 @@ export class ChannelManager extends CommonBase { * # Limitations * * Requires a direct connection to an introduction node in [`Offer::paths`] or to - * [`Offer::signing_pubkey`], if empty. A similar restriction applies to the responding + * [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to the responding * [`Bolt12Invoice::payment_paths`]. * * # Errors @@ -2467,9 +2528,9 @@ export class ChannelManager extends CommonBase { * # Limitations * * Requires a direct connection to an introduction node in [`Refund::paths`] or to - * [`Refund::payer_id`], if empty. This request is best effort; an invoice will be sent to each - * node meeting the aforementioned criteria, but there's no guarantee that they will be - * received and no retries will be made. + * [`Refund::payer_signing_pubkey`], if empty. This request is best effort; an invoice will be + * sent to each node meeting the aforementioned criteria, but there's no guarantee that they + * will be received and no retries will be made. * * # Errors * @@ -2487,6 +2548,54 @@ export class ChannelManager extends CommonBase { return ret_hu_conv; } + /** + * Pays for an [`Offer`] looked up using [BIP 353] Human Readable Names resolved by the DNS + * resolver(s) at `dns_resolvers` which resolve names according to bLIP 32. + * + * If the wallet supports paying on-chain schemes, you should instead use + * [`OMNameResolver::resolve_name`] and [`OMNameResolver::handle_dnssec_proof_for_uri`] (by + * implementing [`DNSResolverMessageHandler`]) directly to look up a URI and then delegate to + * your normal URI handling. + * + * If `max_total_routing_fee_msat` is not specified, the default from + * [`RouteParameters::from_payment_params_and_value`] is applied. + * + * # Payment + * + * The provided `payment_id` is used to ensure that only one invoice is paid for the request + * when received. See [Avoiding Duplicate Payments] for other requirements once the payment has + * been sent. + * + * To revoke the request, use [`ChannelManager::abandon_payment`] prior to receiving the + * invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the + * payment will fail with an [`Event::InvoiceRequestFailed`]. + * + * # Privacy + * + * For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`] + * to construct a [`BlindedPath`] for the reply path. For further privacy implications, see the + * docs of the parameterized [`Router`], which implements [`MessageRouter`]. + * + * # Limitations + * + * Requires a direct connection to the given [`Destination`] as well as an introduction node in + * [`Offer::paths`] or to [`Offer::signing_pubkey`], if empty. A similar restriction applies to + * the responding [`Bolt12Invoice::payment_paths`]. + * + * # Errors + * + * Errors if: + * - a duplicate `payment_id` is provided given the caveats in the aforementioned link, + * + * [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths + * [Avoiding Duplicate Payments]: #avoiding-duplicate-payments + */ + public pay_for_offer_from_human_readable_name(name: HumanReadableName, amount_msats: bigint, payment_id: Uint8Array, retry_strategy: Retry, max_total_routing_fee_msat: Option_u64Z, dns_resolvers: Destination[]): Result_NoneNoneZ { + const ret: bigint = bindings.ChannelManager_pay_for_offer_from_human_readable_name(this.ptr, CommonBase.get_ptr_of(name), amount_msats, bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(retry_strategy), CommonBase.get_ptr_of(max_total_routing_fee_msat), bindings.encodeUint64Array(dns_resolvers.map(dns_resolvers_conv_13 => CommonBase.get_ptr_of(dns_resolvers_conv_13)))); + const ret_hu_conv: Result_NoneNoneZ = Result_NoneNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + /** * Gets a payment secret and payment hash for use in an invoice given to a third party wishing * to pay us. @@ -2798,6 +2907,17 @@ export class ChannelManager extends CommonBase { return ret_hu_conv; } + /** + * Constructs a new DNSResolverMessageHandler which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned DNSResolverMessageHandler must be freed before this_arg is + */ + public as_DNSResolverMessageHandler(): DNSResolverMessageHandler { + const ret: bigint = bindings.ChannelManager_as_DNSResolverMessageHandler(this.ptr); + const ret_hu_conv: DNSResolverMessageHandler = new DNSResolverMessageHandler(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Constructs a new NodeIdLookUp which calls the relevant methods on this_arg. * This copies the `inner` pointer in this_arg and thus the returned NodeIdLookUp must be freed before this_arg is diff --git a/ts/structs/ChannelManagerReadArgs.mts b/ts/structs/ChannelManagerReadArgs.mts index bc0c5ee0..b087add3 100644 --- a/ts/structs/ChannelManagerReadArgs.mts +++ b/ts/structs/ChannelManagerReadArgs.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -721,9 +753,12 @@ import * as bindings from '../bindings.mjs' * 3) If you are not fetching full blocks, register all relevant [`ChannelMonitor`] outpoints the * same way you would handle a [`chain::Filter`] call using * [`ChannelMonitor::get_outputs_to_watch`] and [`ChannelMonitor::get_funding_txo`]. - * 4) Reconnect blocks on your [`ChannelMonitor`]s. - * 5) Disconnect/connect blocks on the [`ChannelManager`]. - * 6) Re-persist the [`ChannelMonitor`]s to ensure the latest state is on disk. + * 4) Disconnect/connect blocks on your [`ChannelMonitor`]s to get them in sync with the chain. + * 5) Disconnect/connect blocks on the [`ChannelManager`] to get it in sync with the chain. + * 6) Optionally re-persist the [`ChannelMonitor`]s to ensure the latest state is on disk. + * This is important if you have replayed a nontrivial number of blocks in step (4), allowing + * you to avoid having to replay the same blocks if you shut down quickly after startup. It is + * otherwise not required. * Note that if you're using a [`ChainMonitor`] for your [`chain::Watch`] implementation, you * will likely accomplish this as a side-effect of calling [`chain::Watch::watch_channel`] in * the next step. @@ -900,6 +935,26 @@ export class ChannelManagerReadArgs extends CommonBase { CommonBase.add_ref_from(this, val); } + /** + * The [`MessageRouter`] used for constructing [`BlindedMessagePath`]s for [`Offer`]s, + * [`Refund`]s, and any reply paths. + */ + public get_message_router(): MessageRouter { + const ret: bigint = bindings.ChannelManagerReadArgs_get_message_router(this.ptr); + const ret_hu_conv: MessageRouter = new MessageRouter(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * The [`MessageRouter`] used for constructing [`BlindedMessagePath`]s for [`Offer`]s, + * [`Refund`]s, and any reply paths. + */ + public set_message_router(val: MessageRouter): void { + bindings.ChannelManagerReadArgs_set_message_router(this.ptr, CommonBase.get_ptr_of(val)); + CommonBase.add_ref_from(this, val); + } + /** * The Logger for use in the ChannelManager and which may be used to log information during * deserialization. @@ -944,8 +999,8 @@ export class ChannelManagerReadArgs extends CommonBase { * HashMap for you. This is primarily useful for C bindings where it is not practical to * populate a HashMap directly from C. */ - public static constructor_new(entropy_source: EntropySource, node_signer: NodeSigner, signer_provider: SignerProvider, fee_estimator: FeeEstimator, chain_monitor: Watch, tx_broadcaster: BroadcasterInterface, router: Router, logger: Logger, default_config: UserConfig, channel_monitors: ChannelMonitor[]): ChannelManagerReadArgs { - const ret: bigint = bindings.ChannelManagerReadArgs_new(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(signer_provider), CommonBase.get_ptr_of(fee_estimator), CommonBase.get_ptr_of(chain_monitor), CommonBase.get_ptr_of(tx_broadcaster), CommonBase.get_ptr_of(router), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(default_config), bindings.encodeUint64Array(channel_monitors.map(channel_monitors_conv_16 => CommonBase.get_ptr_of(channel_monitors_conv_16)))); + public static constructor_new(entropy_source: EntropySource, node_signer: NodeSigner, signer_provider: SignerProvider, fee_estimator: FeeEstimator, chain_monitor: Watch, tx_broadcaster: BroadcasterInterface, router: Router, message_router: MessageRouter, logger: Logger, default_config: UserConfig, channel_monitors: ChannelMonitor[]): ChannelManagerReadArgs { + const ret: bigint = bindings.ChannelManagerReadArgs_new(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(signer_provider), CommonBase.get_ptr_of(fee_estimator), CommonBase.get_ptr_of(chain_monitor), CommonBase.get_ptr_of(tx_broadcaster), CommonBase.get_ptr_of(router), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(default_config), bindings.encodeUint64Array(channel_monitors.map(channel_monitors_conv_16 => CommonBase.get_ptr_of(channel_monitors_conv_16)))); const ret_hu_conv: ChannelManagerReadArgs = new ChannelManagerReadArgs(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); CommonBase.add_ref_from(ret_hu_conv, entropy_source); @@ -955,6 +1010,7 @@ export class ChannelManagerReadArgs extends CommonBase { CommonBase.add_ref_from(ret_hu_conv, chain_monitor); CommonBase.add_ref_from(ret_hu_conv, tx_broadcaster); CommonBase.add_ref_from(ret_hu_conv, router); + CommonBase.add_ref_from(ret_hu_conv, message_router); CommonBase.add_ref_from(ret_hu_conv, logger); channel_monitors.forEach((channel_monitors_conv_16: ChannelMonitor) => { CommonBase.add_ref_from(ret_hu_conv, channel_monitors_conv_16); }); return ret_hu_conv; diff --git a/ts/structs/ChannelMessageHandler.mts b/ts/structs/ChannelMessageHandler.mts index 12e281e4..571989e2 100644 --- a/ts/structs/ChannelMessageHandler.mts +++ b/ts/structs/ChannelMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -830,6 +862,14 @@ export interface ChannelMessageHandlerInterface { * connecting to peers. */ get_chain_hashes(): Option_CVec_ThirtyTwoBytesZZ; + /**Indicates that a message was received from any peer for any handler. + * Called before the message is passed to the appropriate handler. + * Useful for indicating that a network connection is active. + * + * Note: Since this function is called frequently, it should be as + * efficient as possible for its intended purpose. + */ + message_received(): void; } class LDKChannelMessageHandlerHolder { @@ -1036,6 +1076,9 @@ export class ChannelMessageHandler extends CommonBase { const result: bigint = ret.clone_ptr(); return result; }, + message_received (): void { + arg.message_received(); + }, } as bindings.LDKChannelMessageHandler; const messageSendEventsProvider = MessageSendEventsProvider.new_impl(messageSendEventsProvider_impl); const ptr_idx: [bigint, number] = bindings.LDKChannelMessageHandler_new(structImplementation, messageSendEventsProvider.instance_idx!); @@ -1347,4 +1390,16 @@ export class ChannelMessageHandler extends CommonBase { return ret_hu_conv; } + /** + * Indicates that a message was received from any peer for any handler. + * Called before the message is passed to the appropriate handler. + * Useful for indicating that a network connection is active. + * + * Note: Since this function is called frequently, it should be as + * efficient as possible for its intended purpose. + */ + public message_received(): void { + bindings.ChannelMessageHandler_message_received(this.ptr); + } + } diff --git a/ts/structs/ChannelMonitor.mts b/ts/structs/ChannelMonitor.mts index afeb06b6..e813e202 100644 --- a/ts/structs/ChannelMonitor.mts +++ b/ts/structs/ChannelMonitor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -770,6 +802,8 @@ export class ChannelMonitor extends CommonBase { /** * Gets the update_id from the latest ChannelMonitorUpdate which was applied to this * ChannelMonitor. + * + * Note that for channels closed prior to LDK 0.1, this may return [`u64::MAX`]. */ public get_latest_update_id(): bigint { const ret: bigint = bindings.ChannelMonitor_get_latest_update_id(this.ptr); @@ -860,10 +894,11 @@ export class ChannelMonitor extends CommonBase { * [`SpendableOutputs`]: crate::events::Event::SpendableOutputs * [`BumpTransaction`]: crate::events::Event::BumpTransaction */ - public process_pending_events(handler: EventHandler): Result_NoneReplayEventZ { - const ret: bigint = bindings.ChannelMonitor_process_pending_events(this.ptr, CommonBase.get_ptr_of(handler)); + public process_pending_events(handler: EventHandler, logger: Logger): Result_NoneReplayEventZ { + const ret: bigint = bindings.ChannelMonitor_process_pending_events(this.ptr, CommonBase.get_ptr_of(handler), CommonBase.get_ptr_of(logger)); const ret_hu_conv: Result_NoneReplayEventZ = Result_NoneReplayEventZ.constr_from_ptr(ret); CommonBase.add_ref_from(this, handler); + CommonBase.add_ref_from(this, logger); return ret_hu_conv; } @@ -1189,15 +1224,25 @@ export class ChannelMonitor extends CommonBase { /** * Checks if the monitor is fully resolved. Resolved monitor is one that has claimed all of - * its outputs and balances (i.e. [`Self::get_claimable_balances`] returns an empty set). + * its outputs and balances (i.e. [`Self::get_claimable_balances`] returns an empty set) and + * which does not have any payment preimages for HTLCs which are still pending on other + * channels. * - * This function returns true only if [`Self::get_claimable_balances`] has been empty for at least + * Additionally may update state to track when the balances set became empty. + * + * This function returns a tuple of two booleans, the first indicating whether the monitor is + * fully resolved, and the second whether the monitor needs persistence to ensure it is + * reliably marked as resolved within 4032 blocks. + * + * The first boolean is true only if [`Self::get_claimable_balances`] has been empty for at least * 4032 blocks as an additional protection against any bugs resulting in spuriously empty balance sets. */ - public is_fully_resolved(logger: Logger): boolean { - const ret: boolean = bindings.ChannelMonitor_is_fully_resolved(this.ptr, CommonBase.get_ptr_of(logger)); + public check_and_update_full_resolution_status(logger: Logger): TwoTuple_boolboolZ { + const ret: bigint = bindings.ChannelMonitor_check_and_update_full_resolution_status(this.ptr, CommonBase.get_ptr_of(logger)); + const ret_hu_conv: TwoTuple_boolboolZ = new TwoTuple_boolboolZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); CommonBase.add_ref_from(this, logger); - return ret; + return ret_hu_conv; } /** diff --git a/ts/structs/ChannelMonitorUpdate.mts b/ts/structs/ChannelMonitorUpdate.mts index 672744ca..a66d4f13 100644 --- a/ts/structs/ChannelMonitorUpdate.mts +++ b/ts/structs/ChannelMonitorUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -732,11 +764,9 @@ export class ChannelMonitorUpdate extends CommonBase { * [`ChannelMonitorUpdateStatus::InProgress`] have been applied to all copies of a given * ChannelMonitor when ChannelManager::channel_monitor_updated is called. * - * The only instances we allow where update_id values are not strictly increasing have a - * special update ID of [`CLOSED_CHANNEL_UPDATE_ID`]. This update ID is used for updates that - * will force close the channel by broadcasting the latest commitment transaction or - * special post-force-close updates, like providing preimages necessary to claim outputs on the - * broadcast commitment transaction. See its docs for more details. + * Note that for [`ChannelMonitorUpdate`]s generated on LDK versions prior to 0.1 after the + * channel was closed, this value may be [`u64::MAX`]. In that case, multiple updates may + * appear with the same ID, and all should be replayed. * * [`ChannelMonitorUpdateStatus::InProgress`]: super::ChannelMonitorUpdateStatus::InProgress */ @@ -754,11 +784,9 @@ export class ChannelMonitorUpdate extends CommonBase { * [`ChannelMonitorUpdateStatus::InProgress`] have been applied to all copies of a given * ChannelMonitor when ChannelManager::channel_monitor_updated is called. * - * The only instances we allow where update_id values are not strictly increasing have a - * special update ID of [`CLOSED_CHANNEL_UPDATE_ID`]. This update ID is used for updates that - * will force close the channel by broadcasting the latest commitment transaction or - * special post-force-close updates, like providing preimages necessary to claim outputs on the - * broadcast commitment transaction. See its docs for more details. + * Note that for [`ChannelMonitorUpdate`]s generated on LDK versions prior to 0.1 after the + * channel was closed, this value may be [`u64::MAX`]. In that case, multiple updates may + * appear with the same ID, and all should be replayed. * * [`ChannelMonitorUpdateStatus::InProgress`]: super::ChannelMonitorUpdateStatus::InProgress */ diff --git a/ts/structs/ChannelParameters.mts b/ts/structs/ChannelParameters.mts index 427e0d08..906b8e99 100644 --- a/ts/structs/ChannelParameters.mts +++ b/ts/structs/ChannelParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; import { Event } from '../structs/Event.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelPublicKeys.mts b/ts/structs/ChannelPublicKeys.mts index b86de04f..cc5263ab 100644 --- a/ts/structs/ChannelPublicKeys.mts +++ b/ts/structs/ChannelPublicKeys.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelReady.mts b/ts/structs/ChannelReady.mts index 0ab308e3..eef237c0 100644 --- a/ts/structs/ChannelReady.mts +++ b/ts/structs/ChannelReady.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelReestablish.mts b/ts/structs/ChannelReestablish.mts index 5c29cbc9..6d5d047e 100644 --- a/ts/structs/ChannelReestablish.mts +++ b/ts/structs/ChannelReestablish.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelSigner.mts b/ts/structs/ChannelSigner.mts index 14758a15..ce079094 100644 --- a/ts/structs/ChannelSigner.mts +++ b/ts/structs/ChannelSigner.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelTransactionParameters } from '../structs/ChannelTransactionParam import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -716,9 +748,9 @@ export interface ChannelSignerInterface { * * Note that the commitment number starts at `(1 << 48) - 1` and counts backwards. * - * If the signer returns `Err`, then the user is responsible for either force-closing the channel - * or calling `ChannelManager::signer_unblocked` (this method is only available when the - * `async_signing` cfg flag is enabled) once the signature is ready. + * This method is *not* asynchronous. This method is expected to always return `Ok` + * immediately after we reconnect to peers, and returning an `Err` may lead to an immediate + * `panic`. This method will be made asynchronous in a future release. */ get_per_commitment_point(idx: bigint): Result_PublicKeyNoneZ; /**Gets the commitment secret for a specific commitment number as part of the revocation process @@ -729,6 +761,12 @@ export interface ChannelSignerInterface { * May be called more than once for the same index. * * Note that the commitment number starts at `(1 << 48) - 1` and counts backwards. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ release_commitment_secret(idx: bigint): Result__u832NoneZ; /**Validate the counterparty's signatures on the holder commitment transaction and HTLCs. @@ -744,17 +782,27 @@ export interface ChannelSignerInterface { * * Note that all the relevant preimages will be provided, but there may also be additional * irrelevant or duplicate preimages. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. If you wish to make this operation asynchronous, you should instead return `Ok(())` + * and pause future signing operations until this validation completes. */ validate_holder_commitment(holder_tx: HolderCommitmentTransaction, outbound_htlc_preimages: Uint8Array[]): Result_NoneNoneZ; /**Validate the counterparty's revocation. * * This is required in order for the signer to make sure that the state has moved * forward and it is safe to sign the next counterparty commitment. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. If you wish to make this operation asynchronous, you should instead return `Ok(())` + * and pause future signing operations until this validation completes. */ validate_counterparty_revocation(idx: bigint, secret: Uint8Array): Result_NoneNoneZ; /**Returns an arbitrary identifier describing the set of keys which are provided back to you in * some [`SpendableOutputDescriptor`] types. This should be sufficient to identify this * [`EcdsaChannelSigner`] object uniquely and lookup or re-derive its keys. + * + * This method is *not* asynchronous. Instead, the value must be cached locally. */ channel_keys_id(): Uint8Array; /**Set the counterparty static channel data, including basepoints, @@ -778,9 +826,12 @@ class LDKChannelSignerHolder { * A trait to handle Lightning channel key material without concretizing the channel type or * the signature mechanism. * - * Several methods allow error types to be returned to support async signing. This feature - * is not yet complete, and panics may occur in certain situations when returning errors - * for these methods. + * Several methods allow errors to be returned to support async signing. In such cases, the + * signing operation can be replayed by calling [`ChannelManager::signer_unblocked`] once the + * result is ready, at which point the channel operation will resume. Methods which allow for + * async results are explicitly documented as such + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ export class ChannelSigner extends CommonBase { /* @internal */ @@ -852,9 +903,9 @@ export class ChannelSigner extends CommonBase { * * Note that the commitment number starts at `(1 << 48) - 1` and counts backwards. * - * If the signer returns `Err`, then the user is responsible for either force-closing the channel - * or calling `ChannelManager::signer_unblocked` (this method is only available when the - * `async_signing` cfg flag is enabled) once the signature is ready. + * This method is *not* asynchronous. This method is expected to always return `Ok` + * immediately after we reconnect to peers, and returning an `Err` may lead to an immediate + * `panic`. This method will be made asynchronous in a future release. */ public get_per_commitment_point(idx: bigint): Result_PublicKeyNoneZ { const ret: bigint = bindings.ChannelSigner_get_per_commitment_point(this.ptr, idx); @@ -871,6 +922,12 @@ export class ChannelSigner extends CommonBase { * May be called more than once for the same index. * * Note that the commitment number starts at `(1 << 48) - 1` and counts backwards. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ public release_commitment_secret(idx: bigint): Result__u832NoneZ { const ret: bigint = bindings.ChannelSigner_release_commitment_secret(this.ptr, idx); @@ -892,6 +949,10 @@ export class ChannelSigner extends CommonBase { * * Note that all the relevant preimages will be provided, but there may also be additional * irrelevant or duplicate preimages. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. If you wish to make this operation asynchronous, you should instead return `Ok(())` + * and pause future signing operations until this validation completes. */ public validate_holder_commitment(holder_tx: HolderCommitmentTransaction, outbound_htlc_preimages: Uint8Array[]): Result_NoneNoneZ { const ret: bigint = bindings.ChannelSigner_validate_holder_commitment(this.ptr, CommonBase.get_ptr_of(holder_tx), bindings.encodeUint32Array(outbound_htlc_preimages.map(outbound_htlc_preimages_conv_12 => bindings.encodeUint8Array(bindings.check_arr_len(outbound_htlc_preimages_conv_12, 32))))); @@ -905,6 +966,10 @@ export class ChannelSigner extends CommonBase { * * This is required in order for the signer to make sure that the state has moved * forward and it is safe to sign the next counterparty commitment. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. If you wish to make this operation asynchronous, you should instead return `Ok(())` + * and pause future signing operations until this validation completes. */ public validate_counterparty_revocation(idx: bigint, secret: Uint8Array): Result_NoneNoneZ { const ret: bigint = bindings.ChannelSigner_validate_counterparty_revocation(this.ptr, idx, bindings.encodeUint8Array(bindings.check_arr_len(secret, 32))); @@ -916,6 +981,8 @@ export class ChannelSigner extends CommonBase { * Returns an arbitrary identifier describing the set of keys which are provided back to you in * some [`SpendableOutputDescriptor`] types. This should be sufficient to identify this * [`EcdsaChannelSigner`] object uniquely and lookup or re-derive its keys. + * + * This method is *not* asynchronous. Instead, the value must be cached locally. */ public channel_keys_id(): Uint8Array { const ret: number = bindings.ChannelSigner_channel_keys_id(this.ptr); diff --git a/ts/structs/ChannelTransactionParameters.mts b/ts/structs/ChannelTransactionParameters.mts index 335f3104..3a22a875 100644 --- a/ts/structs/ChannelTransactionParameters.mts +++ b/ts/structs/ChannelTransactionParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelTypeFeatures.mts b/ts/structs/ChannelTypeFeatures.mts index 078854fa..14a2ed05 100644 --- a/ts/structs/ChannelTypeFeatures.mts +++ b/ts/structs/ChannelTypeFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,7 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelUpdate.mts b/ts/structs/ChannelUpdate.mts index 4338ac34..397e3c56 100644 --- a/ts/structs/ChannelUpdate.mts +++ b/ts/structs/ChannelUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelUpdateInfo.mts b/ts/structs/ChannelUpdateInfo.mts index a0855a8b..62e36028 100644 --- a/ts/structs/ChannelUpdateInfo.mts +++ b/ts/structs/ChannelUpdateInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ChannelUsage.mts b/ts/structs/ChannelUsage.mts index 2c8ddc0f..18ac508b 100644 --- a/ts/structs/ChannelUsage.mts +++ b/ts/structs/ChannelUsage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ClaimedHTLC.mts b/ts/structs/ClaimedHTLC.mts index 99d2410b..733a1cc7 100644 --- a/ts/structs/ClaimedHTLC.mts +++ b/ts/structs/ClaimedHTLC.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ClosingSigned.mts b/ts/structs/ClosingSigned.mts index a4b6d90d..585bf8d5 100644 --- a/ts/structs/ClosingSigned.mts +++ b/ts/structs/ClosingSigned.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ClosingSignedFeeRange.mts b/ts/structs/ClosingSignedFeeRange.mts index 9b49593a..4251457a 100644 --- a/ts/structs/ClosingSignedFeeRange.mts +++ b/ts/structs/ClosingSignedFeeRange.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ClosingTransaction.mts b/ts/structs/ClosingTransaction.mts index 005f6ebd..06831922 100644 --- a/ts/structs/ClosingTransaction.mts +++ b/ts/structs/ClosingTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ClosureReason.mts b/ts/structs/ClosureReason.mts index f79397b9..0f6d5207 100644 --- a/ts/structs/ClosureReason.mts +++ b/ts/structs/ClosureReason.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { UntrustedString } from '../structs/UntrustedString.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CoinSelection.mts b/ts/structs/CoinSelection.mts index 49bd778b..eb61be22 100644 --- a/ts/structs/CoinSelection.mts +++ b/ts/structs/CoinSelection.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; import { Input } from '../structs/Input.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CoinSelectionSource.mts b/ts/structs/CoinSelectionSource.mts index 313d1766..70abc272 100644 --- a/ts/structs/CoinSelectionSource.mts +++ b/ts/structs/CoinSelectionSource.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommitmentSigned.mts b/ts/structs/CommitmentSigned.mts index 56a59e40..8b748921 100644 --- a/ts/structs/CommitmentSigned.mts +++ b/ts/structs/CommitmentSigned.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommitmentSignedBatch.mts b/ts/structs/CommitmentSignedBatch.mts index 42245770..0d7f930f 100644 --- a/ts/structs/CommitmentSignedBatch.mts +++ b/ts/structs/CommitmentSignedBatch.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommitmentTransaction.mts b/ts/structs/CommitmentTransaction.mts index d745f420..3a189ba6 100644 --- a/ts/structs/CommitmentTransaction.mts +++ b/ts/structs/CommitmentTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommitmentUpdate.mts b/ts/structs/CommitmentUpdate.mts index 4fd02740..b28b0570 100644 --- a/ts/structs/CommitmentUpdate.mts +++ b/ts/structs/CommitmentUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommonAcceptChannelFields.mts b/ts/structs/CommonAcceptChannelFields.mts index 14de6e5e..d55647f7 100644 --- a/ts/structs/CommonAcceptChannelFields.mts +++ b/ts/structs/CommonAcceptChannelFields.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,9 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * Contains fields that are both common to [`accept_channel`] and `accept_channel2` messages. + * Contains fields that are both common to [`accept_channel`] and [`accept_channel2`] messages. * * [`accept_channel`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-accept_channel-message + * [`accept_channel2`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-accept_channel2-message */ export class CommonAcceptChannelFields extends CommonBase { /* @internal */ diff --git a/ts/structs/CommonBase.mts b/ts/structs/CommonBase.mts index 5ae534f4..0ffe6518 100644 --- a/ts/structs/CommonBase.mts +++ b/ts/structs/CommonBase.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CommonOpenChannelFields.mts b/ts/structs/CommonOpenChannelFields.mts index 3b9ea53c..ef6b1bc4 100644 --- a/ts/structs/CommonOpenChannelFields.mts +++ b/ts/structs/CommonOpenChannelFields.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,9 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * Contains fields that are both common to [`open_channel`] and `open_channel2` messages. + * Contains fields that are both common to [`open_channel`] and [`open_channel2`] messages. * * [`open_channel`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message + * [`open_channel2`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel2-message */ export class CommonOpenChannelFields extends CommonBase { /* @internal */ diff --git a/ts/structs/Confirm.mts b/ts/structs/Confirm.mts index 3ad34e91..08a65d14 100644 --- a/ts/structs/Confirm.mts +++ b/ts/structs/Confirm.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CounterpartyChannelTransactionParameters.mts b/ts/structs/CounterpartyChannelTransactionParameters.mts index 23acf078..16b11527 100644 --- a/ts/structs/CounterpartyChannelTransactionParameters.mts +++ b/ts/structs/CounterpartyChannelTransactionParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CounterpartyCommitmentSecrets.mts b/ts/structs/CounterpartyCommitmentSecrets.mts index f4604cfa..1981b1ae 100644 --- a/ts/structs/CounterpartyCommitmentSecrets.mts +++ b/ts/structs/CounterpartyCommitmentSecrets.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CounterpartyForwardingInfo.mts b/ts/structs/CounterpartyForwardingInfo.mts index 61b76e6f..0224088d 100644 --- a/ts/structs/CounterpartyForwardingInfo.mts +++ b/ts/structs/CounterpartyForwardingInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CustomMessageHandler.mts b/ts/structs/CustomMessageHandler.mts index 21ea46cb..ea4a1e8e 100644 --- a/ts/structs/CustomMessageHandler.mts +++ b/ts/structs/CustomMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CustomMessageReader.mts b/ts/structs/CustomMessageReader.mts index c58f48a9..75847a5e 100644 --- a/ts/structs/CustomMessageReader.mts +++ b/ts/structs/CustomMessageReader.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/CustomOnionMessageHandler.mts b/ts/structs/CustomOnionMessageHandler.mts index 17b7c971..36aa2575 100644 --- a/ts/structs/CustomOnionMessageHandler.mts +++ b/ts/structs/CustomOnionMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DNSResolverContext.mts b/ts/structs/DNSResolverContext.mts new file mode 100644 index 00000000..009ff1cf --- /dev/null +++ b/ts/structs/DNSResolverContext.mts @@ -0,0 +1,840 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * Contains a simple nonce for use in a blinded path's context. + * + * Such a context is required when receiving a [`DNSSECProof`] message. + * + * [`DNSSECProof`]: crate::onion_message::dns_resolution::DNSSECProof + */ +export class DNSResolverContext extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.DNSResolverContext_free); + } + + /** + * A nonce which uniquely describes a DNS resolution. + * + * When we receive a DNSSEC proof message, we should check that it was sent over the blinded + * path we included in the request by comparing a stored nonce with this one. + */ + public get_nonce(): Uint8Array { + const ret: number = bindings.DNSResolverContext_get_nonce(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * A nonce which uniquely describes a DNS resolution. + * + * When we receive a DNSSEC proof message, we should check that it was sent over the blinded + * path we included in the request by comparing a stored nonce with this one. + */ + public set_nonce(val: Uint8Array): void { + bindings.DNSResolverContext_set_nonce(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 16))); + } + + /** + * Constructs a new DNSResolverContext given each field + */ + public static constructor_new(nonce_arg: Uint8Array): DNSResolverContext { + const ret: bigint = bindings.DNSResolverContext_new(bindings.encodeUint8Array(bindings.check_arr_len(nonce_arg, 16))); + const ret_hu_conv: DNSResolverContext = new DNSResolverContext(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.DNSResolverContext_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the DNSResolverContext + */ + public clone(): DNSResolverContext { + const ret: bigint = bindings.DNSResolverContext_clone(this.ptr); + const ret_hu_conv: DNSResolverContext = new DNSResolverContext(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Generates a non-cryptographic 64-bit hash of the DNSResolverContext. + */ + public hash(): bigint { + const ret: bigint = bindings.DNSResolverContext_hash(this.ptr); + return ret; + } + + /** + * Checks if two DNSResolverContexts contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: DNSResolverContext): boolean { + const ret: boolean = bindings.DNSResolverContext_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; + } + + /** + * Serialize the DNSResolverContext object into a byte array which can be read by DNSResolverContext_read + */ + public write(): Uint8Array { + const ret: number = bindings.DNSResolverContext_write(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * Read a DNSResolverContext from a byte array, created by DNSResolverContext_write + */ + public static constructor_read(ser: Uint8Array): Result_DNSResolverContextDecodeErrorZ { + const ret: bigint = bindings.DNSResolverContext_read(bindings.encodeUint8Array(ser)); + const ret_hu_conv: Result_DNSResolverContextDecodeErrorZ = Result_DNSResolverContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} diff --git a/ts/structs/DNSResolverMessage.mts b/ts/structs/DNSResolverMessage.mts new file mode 100644 index 00000000..539b2c1e --- /dev/null +++ b/ts/structs/DNSResolverMessage.mts @@ -0,0 +1,864 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * An enum containing the possible onion messages which are used uses to request and receive + * DNSSEC proofs. + */ +export class DNSResolverMessage extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.DNSResolverMessage_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): DNSResolverMessage { + const raw_ty: number = bindings.LDKDNSResolverMessage_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new DNSResolverMessage_DNSSECQuery(ptr); + case 1: return new DNSResolverMessage_DNSSECProof(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.DNSResolverMessage_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the DNSResolverMessage + */ + public clone(): DNSResolverMessage { + const ret: bigint = bindings.DNSResolverMessage_clone(this.ptr); + const ret_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new DNSSECQuery-variant DNSResolverMessage + */ + public static constructor_dnssecquery(a: DNSSECQuery): DNSResolverMessage { + const ret: bigint = bindings.DNSResolverMessage_dnssecquery(CommonBase.get_ptr_of(a)); + const ret_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new DNSSECProof-variant DNSResolverMessage + */ + public static constructor_dnssecproof(a: DNSSECProof): DNSResolverMessage { + const ret: bigint = bindings.DNSResolverMessage_dnssecproof(CommonBase.get_ptr_of(a)); + const ret_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Generates a non-cryptographic 64-bit hash of the DNSResolverMessage. + */ + public hash(): bigint { + const ret: bigint = bindings.DNSResolverMessage_hash(this.ptr); + return ret; + } + + /** + * Checks if two DNSResolverMessages contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + */ + public eq(b: DNSResolverMessage): boolean { + const ret: boolean = bindings.DNSResolverMessage_eq(this.ptr, CommonBase.get_ptr_of(b)); + return ret; + } + + /** + * Serialize the DNSResolverMessage object into a byte array which can be read by DNSResolverMessage_read + */ + public write(): Uint8Array { + const ret: number = bindings.DNSResolverMessage_write(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * Read a DNSResolverMessage from a byte array, created by DNSResolverMessage_write + */ + public static constructor_read(ser: Uint8Array, arg: bigint): Result_DNSResolverMessageDecodeErrorZ { + const ret: bigint = bindings.DNSResolverMessage_read(bindings.encodeUint8Array(ser), arg); + const ret_hu_conv: Result_DNSResolverMessageDecodeErrorZ = Result_DNSResolverMessageDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Constructs a new OnionMessageContents which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned OnionMessageContents must be freed before this_arg is + */ + public as_OnionMessageContents(): OnionMessageContents { + const ret: bigint = bindings.DNSResolverMessage_as_OnionMessageContents(this.ptr); + const ret_hu_conv: OnionMessageContents = new OnionMessageContents(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} +/** A DNSResolverMessage of type DNSSECQuery */ +export class DNSResolverMessage_DNSSECQuery extends DNSResolverMessage { + public dnssec_query: DNSSECQuery; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const dnssec_query: bigint = bindings.LDKDNSResolverMessage_DNSSECQuery_get_dnssec_query(ptr); + const dnssec_query_hu_conv: DNSSECQuery = new DNSSECQuery(null, dnssec_query); + CommonBase.add_ref_from(dnssec_query_hu_conv, this); + this.dnssec_query = dnssec_query_hu_conv; + } +} +/** A DNSResolverMessage of type DNSSECProof */ +export class DNSResolverMessage_DNSSECProof extends DNSResolverMessage { + public dnssec_proof: DNSSECProof; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const dnssec_proof: bigint = bindings.LDKDNSResolverMessage_DNSSECProof_get_dnssec_proof(ptr); + const dnssec_proof_hu_conv: DNSSECProof = new DNSSECProof(null, dnssec_proof); + CommonBase.add_ref_from(dnssec_proof_hu_conv, this); + this.dnssec_proof = dnssec_proof_hu_conv; + } +} diff --git a/ts/structs/DNSResolverMessageHandler.mts b/ts/structs/DNSResolverMessageHandler.mts new file mode 100644 index 00000000..2674753d --- /dev/null +++ b/ts/structs/DNSResolverMessageHandler.mts @@ -0,0 +1,884 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +/** An implementation of DNSResolverMessageHandler */ +export interface DNSResolverMessageHandlerInterface { + /**Handle a [`DNSSECQuery`] message. + * + * If we provide DNS resolution services to third parties, we should respond with a + * [`DNSSECProof`] message. + * + * Note that responder (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + handle_dnssec_query(message: DNSSECQuery, responder: Responder): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ; + /**Handle a [`DNSSECProof`] message (in response to a [`DNSSECQuery`] we presumably sent). + * + * With this, we should be able to validate the DNS record we requested. + */ + handle_dnssec_proof(message: DNSSECProof, context: DNSResolverContext): void; + /**Gets the node feature flags which this handler itself supports. Useful for setting the + * `dns_resolver` flag if this handler supports returning [`DNSSECProof`] messages in response + * to [`DNSSECQuery`] messages. + */ + provided_node_features(): NodeFeatures; + /**Release any [`DNSResolverMessage`]s that need to be sent. + */ + release_pending_messages(): TwoTuple_DNSResolverMessageMessageSendInstructionsZ[]; +} + +class LDKDNSResolverMessageHandlerHolder { + held: DNSResolverMessageHandler|null = null; +} + +/** + * A handler for an [`OnionMessage`] containing a DNS(SEC) query or a DNSSEC proof + * + * [`OnionMessage`]: crate::ln::msgs::OnionMessage + */ +export class DNSResolverMessageHandler extends CommonBase { + /* @internal */ + public bindings_instance: bindings.LDKDNSResolverMessageHandler|null; + + /* @internal */ + public instance_idx?: number; + + /* @internal */ + constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.DNSResolverMessageHandler_free); + this.bindings_instance = null; + } + + /** Creates a new instance of DNSResolverMessageHandler from a given implementation */ + public static new_impl(arg: DNSResolverMessageHandlerInterface): DNSResolverMessageHandler { + const impl_holder: LDKDNSResolverMessageHandlerHolder = new LDKDNSResolverMessageHandlerHolder(); + let structImplementation = { + handle_dnssec_query (message: bigint, responder: bigint): bigint { + const message_hu_conv: DNSSECQuery = new DNSSECQuery(null, message); + CommonBase.add_ref_from(message_hu_conv, this); + const responder_hu_conv: Responder = new Responder(null, responder); + CommonBase.add_ref_from(responder_hu_conv, this); + const ret: Option_C2Tuple_DNSResolverMessageResponseInstructionZZ = arg.handle_dnssec_query(message_hu_conv, responder_hu_conv); + const result: bigint = ret.clone_ptr(); + return result; + }, + handle_dnssec_proof (message: bigint, context: bigint): void { + const message_hu_conv: DNSSECProof = new DNSSECProof(null, message); + CommonBase.add_ref_from(message_hu_conv, this); + const context_hu_conv: DNSResolverContext = new DNSResolverContext(null, context); + CommonBase.add_ref_from(context_hu_conv, this); + arg.handle_dnssec_proof(message_hu_conv, context_hu_conv); + }, + provided_node_features (): bigint { + const ret: NodeFeatures = arg.provided_node_features(); + const result: bigint = ret.clone_ptr(); + return result; + }, + release_pending_messages (): number { + const ret: TwoTuple_DNSResolverMessageMessageSendInstructionsZ[] = arg.release_pending_messages(); + const result: number = bindings.encodeUint64Array(ret.map(ret_conv_53 => ret_conv_53.clone_ptr())); + return result; + }, + } as bindings.LDKDNSResolverMessageHandler; + const ptr_idx: [bigint, number] = bindings.LDKDNSResolverMessageHandler_new(structImplementation); + + impl_holder.held = new DNSResolverMessageHandler(null, ptr_idx[0]); + impl_holder.held.instance_idx = ptr_idx[1]; + impl_holder.held.bindings_instance = structImplementation; + return impl_holder.held!; + } + + /** + * Handle a [`DNSSECQuery`] message. + * + * If we provide DNS resolution services to third parties, we should respond with a + * [`DNSSECProof`] message. + * + * Note that responder (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public handle_dnssec_query(message: DNSSECQuery, responder: Responder|null): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + const ret: bigint = bindings.DNSResolverMessageHandler_handle_dnssec_query(this.ptr, CommonBase.get_ptr_of(message), responder == null ? 0n : CommonBase.get_ptr_of(responder)); + const ret_hu_conv: Option_C2Tuple_DNSResolverMessageResponseInstructionZZ = Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Handle a [`DNSSECProof`] message (in response to a [`DNSSECQuery`] we presumably sent). + * + * With this, we should be able to validate the DNS record we requested. + */ + public handle_dnssec_proof(message: DNSSECProof, context: DNSResolverContext): void { + bindings.DNSResolverMessageHandler_handle_dnssec_proof(this.ptr, CommonBase.get_ptr_of(message), CommonBase.get_ptr_of(context)); + } + + /** + * Gets the node feature flags which this handler itself supports. Useful for setting the + * `dns_resolver` flag if this handler supports returning [`DNSSECProof`] messages in response + * to [`DNSSECQuery`] messages. + */ + public provided_node_features(): NodeFeatures { + const ret: bigint = bindings.DNSResolverMessageHandler_provided_node_features(this.ptr); + const ret_hu_conv: NodeFeatures = new NodeFeatures(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Release any [`DNSResolverMessage`]s that need to be sent. + */ + public release_pending_messages(): TwoTuple_DNSResolverMessageMessageSendInstructionsZ[] { + const ret: number = bindings.DNSResolverMessageHandler_release_pending_messages(this.ptr); + const ret_conv_53_len: number = bindings.getArrayLength(ret); + const ret_conv_53_arr: TwoTuple_DNSResolverMessageMessageSendInstructionsZ[] = new Array(ret_conv_53_len).fill(null); + for (var b = 0; b < ret_conv_53_len; b++) { + const ret_conv_53: bigint = bindings.getU64ArrayElem(ret, b); + const ret_conv_53_hu_conv: TwoTuple_DNSResolverMessageMessageSendInstructionsZ = new TwoTuple_DNSResolverMessageMessageSendInstructionsZ(null, ret_conv_53); + CommonBase.add_ref_from(ret_conv_53_hu_conv, this); + ret_conv_53_arr[b] = ret_conv_53_hu_conv; + } + bindings.freeWasmMemory(ret) + return ret_conv_53_arr; + } + +} diff --git a/ts/structs/DNSSECProof.mts b/ts/structs/DNSSECProof.mts new file mode 100644 index 00000000..53a877e4 --- /dev/null +++ b/ts/structs/DNSSECProof.mts @@ -0,0 +1,808 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A message which is sent in response to [`DNSSECQuery`] containing a DNSSEC proof. + */ +export class DNSSECProof extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.DNSSECProof_free); + } + + /** + * An [RFC 9102 DNSSEC AuthenticationChain] providing a DNSSEC proof. + * + * [RFC 9102 DNSSEC AuthenticationChain]: https://www.rfc-editor.org/rfc/rfc9102.html#name-dnssec-authentication-chain + * + * Returns a copy of the field. + */ + public get_proof(): Uint8Array { + const ret: number = bindings.DNSSECProof_get_proof(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * An [RFC 9102 DNSSEC AuthenticationChain] providing a DNSSEC proof. + * + * [RFC 9102 DNSSEC AuthenticationChain]: https://www.rfc-editor.org/rfc/rfc9102.html#name-dnssec-authentication-chain + */ + public set_proof(val: Uint8Array): void { + bindings.DNSSECProof_set_proof(this.ptr, bindings.encodeUint8Array(val)); + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.DNSSECProof_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the DNSSECProof + */ + public clone(): DNSSECProof { + const ret: bigint = bindings.DNSSECProof_clone(this.ptr); + const ret_hu_conv: DNSSECProof = new DNSSECProof(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Generates a non-cryptographic 64-bit hash of the DNSSECProof. + */ + public hash(): bigint { + const ret: bigint = bindings.DNSSECProof_hash(this.ptr); + return ret; + } + + /** + * Checks if two DNSSECProofs contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: DNSSECProof): boolean { + const ret: boolean = bindings.DNSSECProof_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; + } + +} diff --git a/ts/structs/UnknownPaymentContext.mts b/ts/structs/DNSSECQuery.mts similarity index 92% rename from ts/structs/UnknownPaymentContext.mts rename to ts/structs/DNSSECQuery.mts index 3dfb58e9..ebfffe00 100644 --- a/ts/structs/UnknownPaymentContext.mts +++ b/ts/structs/DNSSECQuery.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -265,35 +267,35 @@ import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,56 +741,46 @@ import * as bindings from '../bindings.mjs' /** - * An unknown payment context. + * A message which is sent to a DNSSEC prover requesting a DNSSEC proof for the given name. */ -export class UnknownPaymentContext extends CommonBase { +export class DNSSECQuery extends CommonBase { /* @internal */ public constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.UnknownPaymentContext_free); + super(ptr, bindings.DNSSECQuery_free); } public clone_ptr(): bigint { - const ret: bigint = bindings.UnknownPaymentContext_clone_ptr(this.ptr); + const ret: bigint = bindings.DNSSECQuery_clone_ptr(this.ptr); return ret; } /** - * Creates a copy of the UnknownPaymentContext + * Creates a copy of the DNSSECQuery */ - public clone(): UnknownPaymentContext { - const ret: bigint = bindings.UnknownPaymentContext_clone(this.ptr); - const ret_hu_conv: UnknownPaymentContext = new UnknownPaymentContext(null, ret); + public clone(): DNSSECQuery { + const ret: bigint = bindings.DNSSECQuery_clone(this.ptr); + const ret_hu_conv: DNSSECQuery = new DNSSECQuery(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } /** - * Checks if two UnknownPaymentContexts contain equal inner contents. - * This ignores pointers and is_owned flags and looks at the values in fields. - * Two objects with NULL inner values will be considered "equal" here. + * Generates a non-cryptographic 64-bit hash of the DNSSECQuery. */ - public eq(b: UnknownPaymentContext): boolean { - const ret: boolean = bindings.UnknownPaymentContext_eq(this.ptr, CommonBase.get_ptr_of(b)); - CommonBase.add_ref_from(this, b); + public hash(): bigint { + const ret: bigint = bindings.DNSSECQuery_hash(this.ptr); return ret; } /** - * Serialize the UnknownPaymentContext object into a byte array which can be read by UnknownPaymentContext_read - */ - public write(): Uint8Array { - const ret: number = bindings.UnknownPaymentContext_write(this.ptr); - const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); - return ret_conv; - } - - /** - * Read a UnknownPaymentContext from a byte array, created by UnknownPaymentContext_write + * Checks if two DNSSECQuerys contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. */ - public static constructor_read(ser: Uint8Array): Result_UnknownPaymentContextDecodeErrorZ { - const ret: bigint = bindings.UnknownPaymentContext_read(bindings.encodeUint8Array(ser)); - const ret_hu_conv: Result_UnknownPaymentContextDecodeErrorZ = Result_UnknownPaymentContextDecodeErrorZ.constr_from_ptr(ret); - return ret_hu_conv; + public eq(b: DNSSECQuery): boolean { + const ret: boolean = bindings.DNSSECQuery_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; } } diff --git a/ts/structs/DecodeError.mts b/ts/structs/DecodeError.mts index 9911f220..eac305ec 100644 --- a/ts/structs/DecodeError.mts +++ b/ts/structs/DecodeError.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DefaultMessageRouter.mts b/ts/structs/DefaultMessageRouter.mts index 210be875..1944527b 100644 --- a/ts/structs/DefaultMessageRouter.mts +++ b/ts/structs/DefaultMessageRouter.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; diff --git a/ts/structs/DefaultRouter.mts b/ts/structs/DefaultRouter.mts index c9881362..adfa76c3 100644 --- a/ts/structs/DefaultRouter.mts +++ b/ts/structs/DefaultRouter.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -713,8 +745,10 @@ import * as bindings from '../bindings.mjs' * * # Privacy * - * Implements [`MessageRouter`] by delegating to [`DefaultMessageRouter`]. See those docs for - * privacy implications. + * Creating [`BlindedPaymentPath`]s may affect privacy since, if a suitable path cannot be found, + * it will create a one-hop path using the recipient as the introduction node if it is a announced + * node. Otherwise, there is no way to find a path to the introduction node in order to send a + * payment, and thus an `Err` is returned. */ export class DefaultRouter extends CommonBase { /* @internal */ @@ -747,15 +781,4 @@ export class DefaultRouter extends CommonBase { return ret_hu_conv; } - /** - * Constructs a new MessageRouter which calls the relevant methods on this_arg. - * This copies the `inner` pointer in this_arg and thus the returned MessageRouter must be freed before this_arg is - */ - public as_MessageRouter(): MessageRouter { - const ret: bigint = bindings.DefaultRouter_as_MessageRouter(this.ptr); - const ret_hu_conv: MessageRouter = new MessageRouter(null, ret); - CommonBase.add_ref_from(ret_hu_conv, this); - return ret_hu_conv; - } - } diff --git a/ts/structs/DelayedPaymentBasepoint.mts b/ts/structs/DelayedPaymentBasepoint.mts index ff92e4a4..92850118 100644 --- a/ts/structs/DelayedPaymentBasepoint.mts +++ b/ts/structs/DelayedPaymentBasepoint.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DelayedPaymentKey.mts b/ts/structs/DelayedPaymentKey.mts index cc80ae78..06aca056 100644 --- a/ts/structs/DelayedPaymentKey.mts +++ b/ts/structs/DelayedPaymentKey.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DelayedPaymentOutputDescriptor.mts b/ts/structs/DelayedPaymentOutputDescriptor.mts index cddb57a2..21666d05 100644 --- a/ts/structs/DelayedPaymentOutputDescriptor.mts +++ b/ts/structs/DelayedPaymentOutputDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Description.mts b/ts/structs/Description.mts index 894f3d18..de5bdced 100644 --- a/ts/structs/Description.mts +++ b/ts/structs/Description.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -766,6 +798,16 @@ export class Description extends CommonBase { return ret_hu_conv; } + /** + * Creates an empty `Description`. + */ + public static constructor_empty(): Description { + const ret: bigint = bindings.Description_empty(); + const ret_hu_conv: Description = new Description(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + /** * Returns the underlying description [`UntrustedString`] */ diff --git a/ts/structs/Destination.mts b/ts/structs/Destination.mts index 283b92f0..bb534327 100644 --- a/ts/structs/Destination.mts +++ b/ts/structs/Destination.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DirectedChannelInfo.mts b/ts/structs/DirectedChannelInfo.mts index 72fb127b..d3b6ff8f 100644 --- a/ts/structs/DirectedChannelInfo.mts +++ b/ts/structs/DirectedChannelInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/DirectedChannelTransactionParameters.mts b/ts/structs/DirectedChannelTransactionParameters.mts index 590fd9d9..216e3b98 100644 --- a/ts/structs/DirectedChannelTransactionParameters.mts +++ b/ts/structs/DirectedChannelTransactionParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/EcdsaChannelSigner.mts b/ts/structs/EcdsaChannelSigner.mts index 606324b2..c4747c6f 100644 --- a/ts/structs/EcdsaChannelSigner.mts +++ b/ts/structs/EcdsaChannelSigner.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelTransactionParameters } from '../structs/ChannelTransactionParam import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -713,8 +745,6 @@ import * as bindings from '../bindings.mjs' /** An implementation of EcdsaChannelSigner */ export interface EcdsaChannelSignerInterface { /**Create a signature for a counterparty's commitment transaction and associated HTLC transactions. - * - * Note that if signing fails or is rejected, the channel will be force-closed. * * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. @@ -726,6 +756,12 @@ export interface EcdsaChannelSignerInterface { * * Note that all the relevant preimages will be provided, but there may also be additional * irrelevant or duplicate preimages. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ sign_counterparty_commitment(commitment_tx: CommitmentTransaction, inbound_htlc_preimages: Uint8Array[], outbound_htlc_preimages: Uint8Array[]): Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ; /**Creates a signature for a holder's commitment transaction. @@ -741,9 +777,10 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_holder_commitment(commitment_tx: HolderCommitmentTransaction): Result_ECDSASignatureNoneZ; /**Create a signature for the given input in a transaction spending an HTLC transaction output @@ -764,9 +801,10 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_justice_revoked_output(justice_tx: Uint8Array, input: number, amount: bigint, per_commitment_key: Uint8Array): Result_ECDSASignatureNoneZ; /**Create a signature for the given input in a transaction spending a commitment transaction @@ -791,9 +829,10 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_justice_revoked_htlc(justice_tx: Uint8Array, input: number, amount: bigint, per_commitment_key: Uint8Array, htlc: HTLCOutputInCommitment): Result_ECDSASignatureNoneZ; /**Computes the signature for a commitment transaction's HTLC output used as an input within @@ -807,11 +846,12 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`EcdsaSighashType::All`]: bitcoin::sighash::EcdsaSighashType::All * [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_holder_htlc_transaction(htlc_tx: Uint8Array, input: number, htlc_descriptor: HTLCDescriptor): Result_ECDSASignatureNoneZ; /**Create a signature for a claiming transaction for a HTLC output on a counterparty's commitment @@ -835,15 +875,22 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_counterparty_htlc_transaction(htlc_tx: Uint8Array, input: number, amount: bigint, per_commitment_point: Uint8Array, htlc: HTLCOutputInCommitment): Result_ECDSASignatureNoneZ; /**Create a signature for a (proposed) closing transaction. * * Note that, due to rounding, there may be one \"missing\" satoshi, and either party may have * chosen to forgo their output as dust. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ sign_closing_transaction(closing_tx: ClosingTransaction): Result_ECDSASignatureNoneZ; /**Computes the signature for a commitment transaction's anchor output used as an @@ -852,9 +899,10 @@ export interface EcdsaChannelSignerInterface { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ sign_holder_anchor_input(anchor_tx: Uint8Array, input: number): Result_ECDSASignatureNoneZ; /**Signs a channel announcement message with our funding key proving it comes from one of the @@ -863,13 +911,27 @@ export interface EcdsaChannelSignerInterface { * Channel announcements also require a signature from each node's network key. Our node * signature is computed through [`NodeSigner::sign_gossip_message`]. * - * Note that if this fails or is rejected, the channel will not be publicly announced and - * our counterparty may (though likely will not) close the channel on us for violating the - * protocol. + * This method is *not* asynchronous. If an `Err` is returned, the channel will not be + * publicly announced and our counterparty may (though likely will not) close the channel on + * us for violating the protocol. * * [`NodeSigner::sign_gossip_message`]: crate::sign::NodeSigner::sign_gossip_message */ sign_channel_announcement_with_funding_key(msg: UnsignedChannelAnnouncement): Result_ECDSASignatureNoneZ; + /**Signs the input of a splicing funding transaction with our funding key. + * + * In splicing, the previous funding transaction output is spent as the input of + * the new funding transaction, and is a 2-of-2 multisig. + * + * `input_index`: The index of the input within the new funding transaction `tx`, + * spending the previous funding transaction's output + * + * `input_value`: The value of the previous funding transaction output. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. + */ + sign_splicing_funding_input(tx: Uint8Array, input_index: number, input_value: bigint): Result_ECDSASignatureNoneZ; } class LDKEcdsaChannelSignerHolder { @@ -884,6 +946,15 @@ class LDKEcdsaChannelSignerHolder { * policies in order to be secure. Please refer to the [VLS Policy * Controls](https://gitlab.com/lightning-signer/validating-lightning-signer/-/blob/main/docs/policy-controls.md) * for an example of such policies. + * + * Like [`ChannelSigner`], many of the methods allow errors to be returned to support async + * signing. In such cases, the signing operation can be replayed by calling + * [`ChannelManager::signer_unblocked`] or [`ChainMonitor::signer_unblocked`] (see individual + * method documentation for which method should be called) once the result is ready, at which + * point the channel operation will resume. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ export class EcdsaChannelSigner extends CommonBase { /* @internal */ @@ -978,6 +1049,12 @@ export class EcdsaChannelSigner extends CommonBase { const result: bigint = ret.clone_ptr(); return result; }, + sign_splicing_funding_input (tx: number, input_index: number, input_value: bigint): bigint { + const tx_conv: Uint8Array = bindings.decodeUint8Array(tx); + const ret: Result_ECDSASignatureNoneZ = arg.sign_splicing_funding_input(tx_conv, input_index, input_value); + const result: bigint = ret.clone_ptr(); + return result; + }, } as bindings.LDKEcdsaChannelSigner; const channelSigner = ChannelSigner.new_impl(channelSigner_impl, pubkeys); const ptr_idx: [bigint, number] = bindings.LDKEcdsaChannelSigner_new(structImplementation, channelSigner.instance_idx!, pubkeys.clone_ptr()); @@ -992,8 +1069,6 @@ export class EcdsaChannelSigner extends CommonBase { /** * Create a signature for a counterparty's commitment transaction and associated HTLC transactions. * - * Note that if signing fails or is rejected, the channel will be force-closed. - * * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. * @@ -1004,6 +1079,12 @@ export class EcdsaChannelSigner extends CommonBase { * * Note that all the relevant preimages will be provided, but there may also be additional * irrelevant or duplicate preimages. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ public sign_counterparty_commitment(commitment_tx: CommitmentTransaction, inbound_htlc_preimages: Uint8Array[], outbound_htlc_preimages: Uint8Array[]): Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_counterparty_commitment(this.ptr, CommonBase.get_ptr_of(commitment_tx), bindings.encodeUint32Array(inbound_htlc_preimages.map(inbound_htlc_preimages_conv_12 => bindings.encodeUint8Array(bindings.check_arr_len(inbound_htlc_preimages_conv_12, 32)))), bindings.encodeUint32Array(outbound_htlc_preimages.map(outbound_htlc_preimages_conv_12 => bindings.encodeUint8Array(bindings.check_arr_len(outbound_htlc_preimages_conv_12, 32))))); @@ -1026,9 +1107,10 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_holder_commitment(commitment_tx: HolderCommitmentTransaction): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_holder_commitment(this.ptr, CommonBase.get_ptr_of(commitment_tx)); @@ -1056,9 +1138,10 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_justice_revoked_output(justice_tx: Uint8Array, input: number, amount: bigint, per_commitment_key: Uint8Array): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_justice_revoked_output(this.ptr, bindings.encodeUint8Array(justice_tx), input, amount, bindings.encodeUint8Array(bindings.check_arr_len(per_commitment_key, 32))); @@ -1089,9 +1172,10 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_justice_revoked_htlc(justice_tx: Uint8Array, input: number, amount: bigint, per_commitment_key: Uint8Array, htlc: HTLCOutputInCommitment): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_justice_revoked_htlc(this.ptr, bindings.encodeUint8Array(justice_tx), input, amount, bindings.encodeUint8Array(bindings.check_arr_len(per_commitment_key, 32)), CommonBase.get_ptr_of(htlc)); @@ -1112,11 +1196,12 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`EcdsaSighashType::All`]: bitcoin::sighash::EcdsaSighashType::All * [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_holder_htlc_transaction(htlc_tx: Uint8Array, input: number, htlc_descriptor: HTLCDescriptor): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_holder_htlc_transaction(this.ptr, bindings.encodeUint8Array(htlc_tx), input, CommonBase.get_ptr_of(htlc_descriptor)); @@ -1147,9 +1232,10 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_counterparty_htlc_transaction(htlc_tx: Uint8Array, input: number, amount: bigint, per_commitment_point: Uint8Array, htlc: HTLCOutputInCommitment): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_counterparty_htlc_transaction(this.ptr, bindings.encodeUint8Array(htlc_tx), input, amount, bindings.encodeUint8Array(bindings.check_arr_len(per_commitment_point, 33)), CommonBase.get_ptr_of(htlc)); @@ -1163,6 +1249,12 @@ export class EcdsaChannelSigner extends CommonBase { * * Note that, due to rounding, there may be one \"missing\" satoshi, and either party may have * chosen to forgo their output as dust. + * + * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid + * signature and should be retried later. Once the signer is ready to provide a signature after + * previously returning an `Err`, [`ChannelManager::signer_unblocked`] must be called. + * + * [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked */ public sign_closing_transaction(closing_tx: ClosingTransaction): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_closing_transaction(this.ptr, CommonBase.get_ptr_of(closing_tx)); @@ -1178,9 +1270,10 @@ export class EcdsaChannelSigner extends CommonBase { * An `Err` can be returned to signal that the signer is unavailable/cannot produce a valid * signature and should be retried later. Once the signer is ready to provide a signature after * previously returning an `Err`, [`ChannelMonitor::signer_unblocked`] must be called on its - * monitor. + * monitor or [`ChainMonitor::signer_unblocked`] called to attempt unblocking all monitors. * * [`ChannelMonitor::signer_unblocked`]: crate::chain::channelmonitor::ChannelMonitor::signer_unblocked + * [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked */ public sign_holder_anchor_input(anchor_tx: Uint8Array, input: number): Result_ECDSASignatureNoneZ { const ret: bigint = bindings.EcdsaChannelSigner_sign_holder_anchor_input(this.ptr, bindings.encodeUint8Array(anchor_tx), input); @@ -1195,9 +1288,9 @@ export class EcdsaChannelSigner extends CommonBase { * Channel announcements also require a signature from each node's network key. Our node * signature is computed through [`NodeSigner::sign_gossip_message`]. * - * Note that if this fails or is rejected, the channel will not be publicly announced and - * our counterparty may (though likely will not) close the channel on us for violating the - * protocol. + * This method is *not* asynchronous. If an `Err` is returned, the channel will not be + * publicly announced and our counterparty may (though likely will not) close the channel on + * us for violating the protocol. * * [`NodeSigner::sign_gossip_message`]: crate::sign::NodeSigner::sign_gossip_message */ @@ -1208,6 +1301,26 @@ export class EcdsaChannelSigner extends CommonBase { return ret_hu_conv; } + /** + * Signs the input of a splicing funding transaction with our funding key. + * + * In splicing, the previous funding transaction output is spent as the input of + * the new funding transaction, and is a 2-of-2 multisig. + * + * `input_index`: The index of the input within the new funding transaction `tx`, + * spending the previous funding transaction's output + * + * `input_value`: The value of the previous funding transaction output. + * + * This method is *not* asynchronous. If an `Err` is returned, the channel will be immediately + * closed. + */ + public sign_splicing_funding_input(tx: Uint8Array, input_index: number, input_value: bigint): Result_ECDSASignatureNoneZ { + const ret: bigint = bindings.EcdsaChannelSigner_sign_splicing_funding_input(this.ptr, bindings.encodeUint8Array(tx), input_index, input_value); + const ret_hu_conv: Result_ECDSASignatureNoneZ = Result_ECDSASignatureNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + public clone_ptr(): bigint { const ret: bigint = bindings.EcdsaChannelSigner_clone_ptr(this.ptr); return ret; diff --git a/ts/structs/EffectiveCapacity.mts b/ts/structs/EffectiveCapacity.mts index 28eb0f67..0de2819a 100644 --- a/ts/structs/EffectiveCapacity.mts +++ b/ts/structs/EffectiveCapacity.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/EmptyNodeIdLookUp.mts b/ts/structs/EmptyNodeIdLookUp.mts index 2d95ec84..84a7a31b 100644 --- a/ts/structs/EmptyNodeIdLookUp.mts +++ b/ts/structs/EmptyNodeIdLookUp.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/EntropySource.mts b/ts/structs/EntropySource.mts index 88168d8c..2b74249e 100644 --- a/ts/structs/EntropySource.mts +++ b/ts/structs/EntropySource.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ErroneousField.mts b/ts/structs/ErroneousField.mts index 3f3fd48d..51f3b627 100644 --- a/ts/structs/ErroneousField.mts +++ b/ts/structs/ErroneousField.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ErrorAction.mts b/ts/structs/ErrorAction.mts index 0732715f..73f1120a 100644 --- a/ts/structs/ErrorAction.mts +++ b/ts/structs/ErrorAction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ErrorMessage.mts b/ts/structs/ErrorMessage.mts index cf095b10..3fd656d3 100644 --- a/ts/structs/ErrorMessage.mts +++ b/ts/structs/ErrorMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ErroringMessageHandler.mts b/ts/structs/ErroringMessageHandler.mts index 10ef88c6..a22cc4d8 100644 --- a/ts/structs/ErroringMessageHandler.mts +++ b/ts/structs/ErroringMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Event.mts b/ts/structs/Event.mts index 09e8d56b..f3d2dce1 100644 --- a/ts/structs/Event.mts +++ b/ts/structs/Event.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -788,8 +820,8 @@ export class Event extends CommonBase { /** * Utility method to constructs a new PaymentClaimable-variant Event */ - public static constructor_payment_claimable(receiver_node_id: Uint8Array, payment_hash: Uint8Array, onion_fields: RecipientOnionFields, amount_msat: bigint, counterparty_skimmed_fee_msat: bigint, purpose: PaymentPurpose, via_channel_id: ChannelId, via_user_channel_id: Option_U128Z, claim_deadline: Option_u32Z): Event { - const ret: bigint = bindings.Event_payment_claimable(bindings.encodeUint8Array(bindings.check_arr_len(receiver_node_id, 33)), bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(onion_fields), amount_msat, counterparty_skimmed_fee_msat, CommonBase.get_ptr_of(purpose), CommonBase.get_ptr_of(via_channel_id), CommonBase.get_ptr_of(via_user_channel_id), CommonBase.get_ptr_of(claim_deadline)); + public static constructor_payment_claimable(receiver_node_id: Uint8Array, payment_hash: Uint8Array, onion_fields: RecipientOnionFields, amount_msat: bigint, counterparty_skimmed_fee_msat: bigint, purpose: PaymentPurpose, via_channel_id: ChannelId, via_user_channel_id: Option_U128Z, claim_deadline: Option_u32Z, payment_id: Option_ThirtyTwoBytesZ): Event { + const ret: bigint = bindings.Event_payment_claimable(bindings.encodeUint8Array(bindings.check_arr_len(receiver_node_id, 33)), bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(onion_fields), amount_msat, counterparty_skimmed_fee_msat, CommonBase.get_ptr_of(purpose), CommonBase.get_ptr_of(via_channel_id), CommonBase.get_ptr_of(via_user_channel_id), CommonBase.get_ptr_of(claim_deadline), CommonBase.get_ptr_of(payment_id)); const ret_hu_conv: Event = Event.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -798,8 +830,8 @@ export class Event extends CommonBase { /** * Utility method to constructs a new PaymentClaimed-variant Event */ - public static constructor_payment_claimed(receiver_node_id: Uint8Array, payment_hash: Uint8Array, amount_msat: bigint, purpose: PaymentPurpose, htlcs: ClaimedHTLC[], sender_intended_total_msat: Option_u64Z, onion_fields: RecipientOnionFields): Event { - const ret: bigint = bindings.Event_payment_claimed(bindings.encodeUint8Array(bindings.check_arr_len(receiver_node_id, 33)), bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), amount_msat, CommonBase.get_ptr_of(purpose), bindings.encodeUint64Array(htlcs.map(htlcs_conv_13 => CommonBase.get_ptr_of(htlcs_conv_13))), CommonBase.get_ptr_of(sender_intended_total_msat), CommonBase.get_ptr_of(onion_fields)); + public static constructor_payment_claimed(receiver_node_id: Uint8Array, payment_hash: Uint8Array, amount_msat: bigint, purpose: PaymentPurpose, htlcs: ClaimedHTLC[], sender_intended_total_msat: Option_u64Z, onion_fields: RecipientOnionFields, payment_id: Option_ThirtyTwoBytesZ): Event { + const ret: bigint = bindings.Event_payment_claimed(bindings.encodeUint8Array(bindings.check_arr_len(receiver_node_id, 33)), bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), amount_msat, CommonBase.get_ptr_of(purpose), bindings.encodeUint64Array(htlcs.map(htlcs_conv_13 => CommonBase.get_ptr_of(htlcs_conv_13))), CommonBase.get_ptr_of(sender_intended_total_msat), CommonBase.get_ptr_of(onion_fields), CommonBase.get_ptr_of(payment_id)); const ret_hu_conv: Event = Event.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -918,8 +950,8 @@ export class Event extends CommonBase { /** * Utility method to constructs a new PaymentForwarded-variant Event */ - public static constructor_payment_forwarded(prev_channel_id: ChannelId, next_channel_id: ChannelId, prev_user_channel_id: Option_U128Z, next_user_channel_id: Option_U128Z, total_fee_earned_msat: Option_u64Z, skimmed_fee_msat: Option_u64Z, claim_from_onchain_tx: boolean, outbound_amount_forwarded_msat: Option_u64Z): Event { - const ret: bigint = bindings.Event_payment_forwarded(CommonBase.get_ptr_of(prev_channel_id), CommonBase.get_ptr_of(next_channel_id), CommonBase.get_ptr_of(prev_user_channel_id), CommonBase.get_ptr_of(next_user_channel_id), CommonBase.get_ptr_of(total_fee_earned_msat), CommonBase.get_ptr_of(skimmed_fee_msat), claim_from_onchain_tx, CommonBase.get_ptr_of(outbound_amount_forwarded_msat)); + public static constructor_payment_forwarded(prev_channel_id: ChannelId, next_channel_id: ChannelId, prev_user_channel_id: Option_U128Z, next_user_channel_id: Option_U128Z, prev_node_id: Uint8Array, next_node_id: Uint8Array, total_fee_earned_msat: Option_u64Z, skimmed_fee_msat: Option_u64Z, claim_from_onchain_tx: boolean, outbound_amount_forwarded_msat: Option_u64Z): Event { + const ret: bigint = bindings.Event_payment_forwarded(CommonBase.get_ptr_of(prev_channel_id), CommonBase.get_ptr_of(next_channel_id), CommonBase.get_ptr_of(prev_user_channel_id), CommonBase.get_ptr_of(next_user_channel_id), bindings.encodeUint8Array(bindings.check_arr_len(prev_node_id, 33)), bindings.encodeUint8Array(bindings.check_arr_len(next_node_id, 33)), CommonBase.get_ptr_of(total_fee_earned_msat), CommonBase.get_ptr_of(skimmed_fee_msat), claim_from_onchain_tx, CommonBase.get_ptr_of(outbound_amount_forwarded_msat)); const ret_hu_conv: Event = Event.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -948,8 +980,8 @@ export class Event extends CommonBase { /** * Utility method to constructs a new ChannelClosed-variant Event */ - public static constructor_channel_closed(channel_id: ChannelId, user_channel_id: bigint, reason: ClosureReason, counterparty_node_id: Uint8Array, channel_capacity_sats: Option_u64Z, channel_funding_txo: OutPoint): Event { - const ret: bigint = bindings.Event_channel_closed(CommonBase.get_ptr_of(channel_id), bindings.encodeUint128(user_channel_id), CommonBase.get_ptr_of(reason), bindings.encodeUint8Array(bindings.check_arr_len(counterparty_node_id, 33)), CommonBase.get_ptr_of(channel_capacity_sats), CommonBase.get_ptr_of(channel_funding_txo)); + public static constructor_channel_closed(channel_id: ChannelId, user_channel_id: bigint, reason: ClosureReason, counterparty_node_id: Uint8Array, channel_capacity_sats: Option_u64Z, channel_funding_txo: OutPoint, last_local_balance_msat: Option_u64Z): Event { + const ret: bigint = bindings.Event_channel_closed(CommonBase.get_ptr_of(channel_id), bindings.encodeUint128(user_channel_id), CommonBase.get_ptr_of(reason), bindings.encodeUint8Array(bindings.check_arr_len(counterparty_node_id, 33)), CommonBase.get_ptr_of(channel_capacity_sats), CommonBase.get_ptr_of(channel_funding_txo), CommonBase.get_ptr_of(last_local_balance_msat)); const ret_hu_conv: Event = Event.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -968,8 +1000,8 @@ export class Event extends CommonBase { /** * Utility method to constructs a new OpenChannelRequest-variant Event */ - public static constructor_open_channel_request(temporary_channel_id: ChannelId, counterparty_node_id: Uint8Array, funding_satoshis: bigint, push_msat: bigint, channel_type: ChannelTypeFeatures, is_announced: boolean, params: ChannelParameters): Event { - const ret: bigint = bindings.Event_open_channel_request(CommonBase.get_ptr_of(temporary_channel_id), bindings.encodeUint8Array(bindings.check_arr_len(counterparty_node_id, 33)), funding_satoshis, push_msat, CommonBase.get_ptr_of(channel_type), is_announced, CommonBase.get_ptr_of(params)); + public static constructor_open_channel_request(temporary_channel_id: ChannelId, counterparty_node_id: Uint8Array, funding_satoshis: bigint, channel_negotiation_type: InboundChannelFunds, channel_type: ChannelTypeFeatures, is_announced: boolean, params: ChannelParameters): Event { + const ret: bigint = bindings.Event_open_channel_request(CommonBase.get_ptr_of(temporary_channel_id), bindings.encodeUint8Array(bindings.check_arr_len(counterparty_node_id, 33)), funding_satoshis, CommonBase.get_ptr_of(channel_negotiation_type), CommonBase.get_ptr_of(channel_type), is_announced, CommonBase.get_ptr_of(params)); const ret_hu_conv: Event = Event.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -1211,6 +1243,16 @@ export class Event_PaymentClaimable extends Event { * [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds */ public claim_deadline: Option_u32Z; + /** + * A unique ID describing this payment (derived from the list of HTLCs in the payment). + * + * Payers may pay for the same [`PaymentHash`] multiple times (though this is unsafe and + * an intermediary node may steal the funds). Thus, in order to accurately track when + * payments are received and claimed, you should use this identifier. + * + * Only filled in for payments received on LDK versions 0.1 and higher. + */ + public payment_id: Option_ThirtyTwoBytesZ; /* @internal */ public constructor(ptr: bigint) { super(null, ptr); @@ -1242,6 +1284,10 @@ export class Event_PaymentClaimable extends Event { const claim_deadline_hu_conv: Option_u32Z = Option_u32Z.constr_from_ptr(claim_deadline); CommonBase.add_ref_from(claim_deadline_hu_conv, this); this.claim_deadline = claim_deadline_hu_conv; + const payment_id: bigint = bindings.LDKEvent_PaymentClaimable_get_payment_id(ptr); + const payment_id_hu_conv: Option_ThirtyTwoBytesZ = Option_ThirtyTwoBytesZ.constr_from_ptr(payment_id); + CommonBase.add_ref_from(payment_id_hu_conv, this); + this.payment_id = payment_id_hu_conv; } } /** A Event of type PaymentClaimed */ @@ -1291,6 +1337,16 @@ export class Event_PaymentClaimed extends Event { * Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None */ public onion_fields: RecipientOnionFields; + /** + * A unique ID describing this payment (derived from the list of HTLCs in the payment). + * + * Payers may pay for the same [`PaymentHash`] multiple times (though this is unsafe and + * an intermediary node may steal the funds). Thus, in order to accurately track when + * payments are received and claimed, you should use this identifier. + * + * Only filled in for payments received on LDK versions 0.1 and higher. + */ + public payment_id: Option_ThirtyTwoBytesZ; /* @internal */ public constructor(ptr: bigint) { super(null, ptr); @@ -1324,6 +1380,10 @@ export class Event_PaymentClaimed extends Event { const onion_fields_hu_conv: RecipientOnionFields = new RecipientOnionFields(null, onion_fields); CommonBase.add_ref_from(onion_fields_hu_conv, this); this.onion_fields = onion_fields_hu_conv; + const payment_id: bigint = bindings.LDKEvent_PaymentClaimed_get_payment_id(ptr); + const payment_id_hu_conv: Option_ThirtyTwoBytesZ = Option_ThirtyTwoBytesZ.constr_from_ptr(payment_id); + CommonBase.add_ref_from(payment_id_hu_conv, this); + this.payment_id = payment_id_hu_conv; } } /** A Event of type ConnectionNeeded */ @@ -1804,6 +1864,24 @@ export class Event_PaymentForwarded extends Event { * events generated or serialized by versions prior to 0.0.122. */ public next_user_channel_id: Option_U128Z; + /** + * The node id of the previous node. + * + * This is only `None` for HTLCs received prior to 0.1 or for events serialized by + * versions prior to 0.1 + * + * Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public prev_node_id: Uint8Array; + /** + * The node id of the next node. + * + * This is only `None` for HTLCs received prior to 0.1 or for events serialized by + * versions prior to 0.1 + * + * Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public next_node_id: Uint8Array; /** * The total fee, in milli-satoshis, which was earned as a result of the payment. * @@ -1866,6 +1944,12 @@ export class Event_PaymentForwarded extends Event { const next_user_channel_id_hu_conv: Option_U128Z = Option_U128Z.constr_from_ptr(next_user_channel_id); CommonBase.add_ref_from(next_user_channel_id_hu_conv, this); this.next_user_channel_id = next_user_channel_id_hu_conv; + const prev_node_id: number = bindings.LDKEvent_PaymentForwarded_get_prev_node_id(ptr); + const prev_node_id_conv: Uint8Array = bindings.decodeUint8Array(prev_node_id); + this.prev_node_id = prev_node_id_conv; + const next_node_id: number = bindings.LDKEvent_PaymentForwarded_get_next_node_id(ptr); + const next_node_id_conv: Uint8Array = bindings.decodeUint8Array(next_node_id); + this.next_node_id = next_node_id_conv; const total_fee_earned_msat: bigint = bindings.LDKEvent_PaymentForwarded_get_total_fee_earned_msat(ptr); const total_fee_earned_msat_hu_conv: Option_u64Z = Option_u64Z.constr_from_ptr(total_fee_earned_msat); CommonBase.add_ref_from(total_fee_earned_msat_hu_conv, this); @@ -2039,6 +2123,19 @@ export class Event_ChannelClosed extends Event { * Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None */ public channel_funding_txo: OutPoint; + /** + * An upper bound on the our last local balance in msats before the channel was closed. + * + * Will overstate our balance as it ignores pending outbound HTLCs and transaction fees. + * + * For more accurate balances including fee information see + * [`ChainMonitor::get_claimable_balances`]. + * + * This field will be `None` only for objects serialized prior to LDK 0.1. + * + * [`ChainMonitor::get_claimable_balances`]: crate::chain::chainmonitor::ChainMonitor::get_claimable_balances + */ + public last_local_balance_msat: Option_u64Z; /* @internal */ public constructor(ptr: bigint) { super(null, ptr); @@ -2064,6 +2161,10 @@ export class Event_ChannelClosed extends Event { const channel_funding_txo_hu_conv: OutPoint = new OutPoint(null, channel_funding_txo); CommonBase.add_ref_from(channel_funding_txo_hu_conv, this); this.channel_funding_txo = channel_funding_txo_hu_conv; + const last_local_balance_msat: bigint = bindings.LDKEvent_ChannelClosed_get_last_local_balance_msat(ptr); + const last_local_balance_msat_hu_conv: Option_u64Z = Option_u64Z.constr_from_ptr(last_local_balance_msat); + CommonBase.add_ref_from(last_local_balance_msat_hu_conv, this); + this.last_local_balance_msat = last_local_balance_msat_hu_conv; } } /** A Event of type DiscardFunding */ @@ -2119,9 +2220,11 @@ export class Event_OpenChannelRequest extends Event { */ public funding_satoshis: bigint; /** - * Our starting balance in the channel if the request is accepted, in milli-satoshi. + * If `channel_negotiation_type` is `InboundChannelFunds::DualFunded`, this indicates that the peer wishes to + * open a dual-funded channel. Otherwise, this field will be `InboundChannelFunds::PushMsats`, + * indicating the `push_msats` value our peer is pushing to us for a non-dual-funded channel. */ - public push_msat: bigint; + public channel_negotiation_type: InboundChannelFunds; /** * The features that this channel will operate with. If you reject the channel, a * well-behaved counterparty may automatically re-attempt the channel with a new set of @@ -2159,7 +2262,10 @@ export class Event_OpenChannelRequest extends Event { const counterparty_node_id_conv: Uint8Array = bindings.decodeUint8Array(counterparty_node_id); this.counterparty_node_id = counterparty_node_id_conv; this.funding_satoshis = bindings.LDKEvent_OpenChannelRequest_get_funding_satoshis(ptr); - this.push_msat = bindings.LDKEvent_OpenChannelRequest_get_push_msat(ptr); + const channel_negotiation_type: bigint = bindings.LDKEvent_OpenChannelRequest_get_channel_negotiation_type(ptr); + const channel_negotiation_type_hu_conv: InboundChannelFunds = InboundChannelFunds.constr_from_ptr(channel_negotiation_type); + CommonBase.add_ref_from(channel_negotiation_type_hu_conv, this); + this.channel_negotiation_type = channel_negotiation_type_hu_conv; const channel_type: bigint = bindings.LDKEvent_OpenChannelRequest_get_channel_type(ptr); const channel_type_hu_conv: ChannelTypeFeatures = new ChannelTypeFeatures(null, channel_type); CommonBase.add_ref_from(channel_type_hu_conv, this); diff --git a/ts/structs/EventHandler.mts b/ts/structs/EventHandler.mts index 83b5b20c..14516a7b 100644 --- a/ts/structs/EventHandler.mts +++ b/ts/structs/EventHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/EventsProvider.mts b/ts/structs/EventsProvider.mts index 0f065f19..60f9f4dc 100644 --- a/ts/structs/EventsProvider.mts +++ b/ts/structs/EventsProvider.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ExpandedKey.mts b/ts/structs/ExpandedKey.mts index 8e3b21df..84ace07a 100644 --- a/ts/structs/ExpandedKey.mts +++ b/ts/structs/ExpandedKey.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -318,7 +320,6 @@ import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,12 +665,18 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,10 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A set of keys that were HKDF-expanded from an initial call to - * [`NodeSigner::get_inbound_payment_key_material`]. + * A set of keys that were HKDF-expanded. Returned by [`NodeSigner::get_inbound_payment_key`]. * - * [`NodeSigner::get_inbound_payment_key_material`]: crate::sign::NodeSigner::get_inbound_payment_key_material + * [`NodeSigner::get_inbound_payment_key`]: crate::sign::NodeSigner::get_inbound_payment_key */ export class ExpandedKey extends CommonBase { /* @internal */ @@ -720,6 +751,40 @@ export class ExpandedKey extends CommonBase { super(ptr, bindings.ExpandedKey_free); } + /** + * Generates a non-cryptographic 64-bit hash of the ExpandedKey. + */ + public hash(): bigint { + const ret: bigint = bindings.ExpandedKey_hash(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.ExpandedKey_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the ExpandedKey + */ + public clone(): ExpandedKey { + const ret: bigint = bindings.ExpandedKey_clone(this.ptr); + const ret_hu_conv: ExpandedKey = new ExpandedKey(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Checks if two ExpandedKeys contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: ExpandedKey): boolean { + const ret: boolean = bindings.ExpandedKey_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; + } + /** * Create a new [`ExpandedKey`] for generating an inbound payment hash and secret. * diff --git a/ts/structs/ExpiryTime.mts b/ts/structs/ExpiryTime.mts index 9338993b..024c06d4 100644 --- a/ts/structs/ExpiryTime.mts +++ b/ts/structs/ExpiryTime.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FailureCode.mts b/ts/structs/FailureCode.mts index 42e28332..8fbc13bc 100644 --- a/ts/structs/FailureCode.mts +++ b/ts/structs/FailureCode.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Fallback.mts b/ts/structs/Fallback.mts index 827c55a1..9defd187 100644 --- a/ts/structs/Fallback.mts +++ b/ts/structs/Fallback.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FeeEstimator.mts b/ts/structs/FeeEstimator.mts index 5b189b51..6066c22e 100644 --- a/ts/structs/FeeEstimator.mts +++ b/ts/structs/FeeEstimator.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Filter.mts b/ts/structs/Filter.mts index 4a4452eb..fd024363 100644 --- a/ts/structs/Filter.mts +++ b/ts/structs/Filter.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FinalOnionHopData.mts b/ts/structs/FinalOnionHopData.mts index 08c4129e..956db820 100644 --- a/ts/structs/FinalOnionHopData.mts +++ b/ts/structs/FinalOnionHopData.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -782,6 +814,17 @@ export class FinalOnionHopData extends CommonBase { return ret_hu_conv; } + /** + * Checks if two FinalOnionHopDatas contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: FinalOnionHopData): boolean { + const ret: boolean = bindings.FinalOnionHopData_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; + } + /** * Serialize the FinalOnionHopData object into a byte array which can be read by FinalOnionHopData_read */ diff --git a/ts/structs/FirstHopCandidate.mts b/ts/structs/FirstHopCandidate.mts index 994fe39a..8758c9ce 100644 --- a/ts/structs/FirstHopCandidate.mts +++ b/ts/structs/FirstHopCandidate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FixedPenaltyScorer.mts b/ts/structs/FixedPenaltyScorer.mts index 28fcdb09..79ef13b8 100644 --- a/ts/structs/FixedPenaltyScorer.mts +++ b/ts/structs/FixedPenaltyScorer.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ForwardTlvs.mts b/ts/structs/ForwardTlvs.mts index 7d142a83..f8aeeef1 100644 --- a/ts/structs/ForwardTlvs.mts +++ b/ts/structs/ForwardTlvs.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mts b/ts/structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mts index 6f61b13f..25415096 100644 --- a/ts/structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mts +++ b/ts/structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { UntrustedString } from '../structs/UntrustedString.mjs'; import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FundingCreated.mts b/ts/structs/FundingCreated.mts index 17d735f2..1d9ec02b 100644 --- a/ts/structs/FundingCreated.mts +++ b/ts/structs/FundingCreated.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FundingInfo.mts b/ts/structs/FundingInfo.mts index 4507e834..da727fb1 100644 --- a/ts/structs/FundingInfo.mts +++ b/ts/structs/FundingInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FundingSigned.mts b/ts/structs/FundingSigned.mts index e23cb7db..0855a2f6 100644 --- a/ts/structs/FundingSigned.mts +++ b/ts/structs/FundingSigned.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Future.mts b/ts/structs/Future.mts index b740b5c9..eef29a6c 100644 --- a/ts/structs/Future.mts +++ b/ts/structs/Future.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/FutureCallback.mts b/ts/structs/FutureCallback.mts index ff82f27c..32cdfdc2 100644 --- a/ts/structs/FutureCallback.mts +++ b/ts/structs/FutureCallback.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -725,11 +757,7 @@ class LDKFutureCallbackHolder { * A callback which is called when a [`Future`] completes. * * Note that this MUST NOT call back into LDK directly, it must instead schedule actions to be - * taken later. Rust users should use the [`std::future::Future`] implementation for [`Future`] - * instead. - * - * Note that the [`std::future::Future`] implementation may only work for runtimes which schedule - * futures when they receive a wake, rather than immediately executing them. + * taken later. */ export class FutureCallback extends CommonBase { /* @internal */ diff --git a/ts/structs/GossipSync.mts b/ts/structs/GossipSync.mts index 8efd978d..608c35d4 100644 --- a/ts/structs/GossipSync.mts +++ b/ts/structs/GossipSync.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/GossipTimestampFilter.mts b/ts/structs/GossipTimestampFilter.mts index 18310d3c..7e35fa32 100644 --- a/ts/structs/GossipTimestampFilter.mts +++ b/ts/structs/GossipTimestampFilter.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/GraphSyncError.mts b/ts/structs/GraphSyncError.mts index f48abe57..5c7bc59c 100644 --- a/ts/structs/GraphSyncError.mts +++ b/ts/structs/GraphSyncError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HTLCDescriptor.mts b/ts/structs/HTLCDescriptor.mts index b8f1ebfc..3b757ea9 100644 --- a/ts/structs/HTLCDescriptor.mts +++ b/ts/structs/HTLCDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HTLCDestination.mts b/ts/structs/HTLCDestination.mts index 344255f6..7c4b8921 100644 --- a/ts/structs/HTLCDestination.mts +++ b/ts/structs/HTLCDestination.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HTLCOutputInCommitment.mts b/ts/structs/HTLCOutputInCommitment.mts index f381e921..78e82675 100644 --- a/ts/structs/HTLCOutputInCommitment.mts +++ b/ts/structs/HTLCOutputInCommitment.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HTLCUpdate.mts b/ts/structs/HTLCUpdate.mts index 8a4fafcc..f6289335 100644 --- a/ts/structs/HTLCUpdate.mts +++ b/ts/structs/HTLCUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HeldHtlcAvailable.mts b/ts/structs/HeldHtlcAvailable.mts index d9e7795d..546371a2 100644 --- a/ts/structs/HeldHtlcAvailable.mts +++ b/ts/structs/HeldHtlcAvailable.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -719,27 +751,11 @@ export class HeldHtlcAvailable extends CommonBase { super(ptr, bindings.HeldHtlcAvailable_free); } - /** - * The secret that will be used by the recipient of this message to release the held HTLC. - */ - public get_payment_release_secret(): Uint8Array { - const ret: number = bindings.HeldHtlcAvailable_get_payment_release_secret(this.ptr); - const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); - return ret_conv; - } - - /** - * The secret that will be used by the recipient of this message to release the held HTLC. - */ - public set_payment_release_secret(val: Uint8Array): void { - bindings.HeldHtlcAvailable_set_payment_release_secret(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 32))); - } - /** * Constructs a new HeldHtlcAvailable given each field */ - public static constructor_new(payment_release_secret_arg: Uint8Array): HeldHtlcAvailable { - const ret: bigint = bindings.HeldHtlcAvailable_new(bindings.encodeUint8Array(bindings.check_arr_len(payment_release_secret_arg, 32))); + public static constructor_new(): HeldHtlcAvailable { + const ret: bigint = bindings.HeldHtlcAvailable_new(); const ret_hu_conv: HeldHtlcAvailable = new HeldHtlcAvailable(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; diff --git a/ts/structs/HolderCommitmentTransaction.mts b/ts/structs/HolderCommitmentTransaction.mts index 4883a6b4..992d0910 100644 --- a/ts/structs/HolderCommitmentTransaction.mts +++ b/ts/structs/HolderCommitmentTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Hostname.mts b/ts/structs/Hostname.mts index 4bea2f4b..f25ec882 100644 --- a/ts/structs/Hostname.mts +++ b/ts/structs/Hostname.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HtlcBasepoint.mts b/ts/structs/HtlcBasepoint.mts index c88f1f54..0907c8ab 100644 --- a/ts/structs/HtlcBasepoint.mts +++ b/ts/structs/HtlcBasepoint.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HtlcKey.mts b/ts/structs/HtlcKey.mts index 45e956ce..0803d36e 100644 --- a/ts/structs/HtlcKey.mts +++ b/ts/structs/HtlcKey.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/HumanReadableName.mts b/ts/structs/HumanReadableName.mts new file mode 100644 index 00000000..1766b32d --- /dev/null +++ b/ts/structs/HumanReadableName.mts @@ -0,0 +1,852 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A struct containing the two parts of a BIP 353 Human Readable Name - the user and domain parts. + * + * The `user` and `domain` parts, together, cannot exceed 232 bytes in length, and both must be + * non-empty. + * + * To protect against [Homograph Attacks], both parts of a Human Readable Name must be plain + * ASCII. + * + * [Homograph Attacks]: https://en.wikipedia.org/wiki/IDN_homograph_attack + */ +export class HumanReadableName extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.HumanReadableName_free); + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.HumanReadableName_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the HumanReadableName + */ + public clone(): HumanReadableName { + const ret: bigint = bindings.HumanReadableName_clone(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Generates a non-cryptographic 64-bit hash of the HumanReadableName. + */ + public hash(): bigint { + const ret: bigint = bindings.HumanReadableName_hash(this.ptr); + return ret; + } + + /** + * Checks if two HumanReadableNames contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + * Two objects with NULL inner values will be considered "equal" here. + */ + public eq(b: HumanReadableName): boolean { + const ret: boolean = bindings.HumanReadableName_eq(this.ptr, CommonBase.get_ptr_of(b)); + CommonBase.add_ref_from(this, b); + return ret; + } + + /** + * Constructs a new [`HumanReadableName`] from the `user` and `domain` parts. See the + * struct-level documentation for more on the requirements on each. + */ + public static constructor_new(user: string, domain: string): Result_HumanReadableNameNoneZ { + const ret: bigint = bindings.HumanReadableName_new(bindings.encodeString(user), bindings.encodeString(domain)); + const ret_hu_conv: Result_HumanReadableNameNoneZ = Result_HumanReadableNameNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Constructs a new [`HumanReadableName`] from the standard encoding - `user`@`domain`. + * + * If `user` includes the standard BIP 353 ₿ prefix it is automatically removed as required by + * BIP 353. + */ + public static constructor_from_encoded(encoded: string): Result_HumanReadableNameNoneZ { + const ret: bigint = bindings.HumanReadableName_from_encoded(bindings.encodeString(encoded)); + const ret_hu_conv: Result_HumanReadableNameNoneZ = Result_HumanReadableNameNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Gets the `user` part of this Human Readable Name + */ + public user(): string { + const ret: number = bindings.HumanReadableName_user(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; + } + + /** + * Gets the `domain` part of this Human Readable Name + */ + public domain(): string { + const ret: number = bindings.HumanReadableName_domain(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; + } + + /** + * Serialize the HumanReadableName object into a byte array which can be read by HumanReadableName_read + */ + public write(): Uint8Array { + const ret: number = bindings.HumanReadableName_write(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * Read a HumanReadableName from a byte array, created by HumanReadableName_write + */ + public static constructor_read(ser: Uint8Array): Result_HumanReadableNameDecodeErrorZ { + const ret: bigint = bindings.HumanReadableName_read(bindings.encodeUint8Array(ser)); + const ret_hu_conv: Result_HumanReadableNameDecodeErrorZ = Result_HumanReadableNameDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} diff --git a/ts/structs/IgnoringMessageHandler.mts b/ts/structs/IgnoringMessageHandler.mts index df23b5bb..8b6d2d5d 100644 --- a/ts/structs/IgnoringMessageHandler.mts +++ b/ts/structs/IgnoringMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -783,6 +815,17 @@ export class IgnoringMessageHandler extends CommonBase { return ret_hu_conv; } + /** + * Constructs a new DNSResolverMessageHandler which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned DNSResolverMessageHandler must be freed before this_arg is + */ + public as_DNSResolverMessageHandler(): DNSResolverMessageHandler { + const ret: bigint = bindings.IgnoringMessageHandler_as_DNSResolverMessageHandler(this.ptr); + const ret_hu_conv: DNSResolverMessageHandler = new DNSResolverMessageHandler(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Constructs a new CustomOnionMessageHandler which calls the relevant methods on this_arg. * This copies the `inner` pointer in this_arg and thus the returned CustomOnionMessageHandler must be freed before this_arg is diff --git a/ts/structs/InFlightHtlcs.mts b/ts/structs/InFlightHtlcs.mts index 8c05d0ab..42de350e 100644 --- a/ts/structs/InFlightHtlcs.mts +++ b/ts/structs/InFlightHtlcs.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InMemorySigner.mts b/ts/structs/InMemorySigner.mts index a1f9ebd1..2037b13d 100644 --- a/ts/structs/InMemorySigner.mts +++ b/ts/structs/InMemorySigner.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InboundChannelFunds.mts b/ts/structs/InboundChannelFunds.mts new file mode 100644 index 00000000..3c3e9549 --- /dev/null +++ b/ts/structs/InboundChannelFunds.mts @@ -0,0 +1,820 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * Used to indicate the kind of funding for this channel by the channel acceptor (us). + * + * Allows the differentiation between a request for a dual-funded and non-dual-funded channel. + */ +export class InboundChannelFunds extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.InboundChannelFunds_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): InboundChannelFunds { + const raw_ty: number = bindings.LDKInboundChannelFunds_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new InboundChannelFunds_PushMsat(ptr); + case 1: return new InboundChannelFunds_DualFunded(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.InboundChannelFunds_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the InboundChannelFunds + */ + public clone(): InboundChannelFunds { + const ret: bigint = bindings.InboundChannelFunds_clone(this.ptr); + const ret_hu_conv: InboundChannelFunds = InboundChannelFunds.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new PushMsat-variant InboundChannelFunds + */ + public static constructor_push_msat(a: bigint): InboundChannelFunds { + const ret: bigint = bindings.InboundChannelFunds_push_msat(a); + const ret_hu_conv: InboundChannelFunds = InboundChannelFunds.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new DualFunded-variant InboundChannelFunds + */ + public static constructor_dual_funded(): InboundChannelFunds { + const ret: bigint = bindings.InboundChannelFunds_dual_funded(); + const ret_hu_conv: InboundChannelFunds = InboundChannelFunds.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Checks if two InboundChannelFundss contain equal inner contents. + * This ignores pointers and is_owned flags and looks at the values in fields. + */ + public eq(b: InboundChannelFunds): boolean { + const ret: boolean = bindings.InboundChannelFunds_eq(this.ptr, CommonBase.get_ptr_of(b)); + return ret; + } + +} +/** A InboundChannelFunds of type PushMsat */ +export class InboundChannelFunds_PushMsat extends InboundChannelFunds { + public push_msat: bigint; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + this.push_msat = bindings.LDKInboundChannelFunds_PushMsat_get_push_msat(ptr); + } +} +/** A InboundChannelFunds of type DualFunded */ +export class InboundChannelFunds_DualFunded extends InboundChannelFunds { + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + } +} diff --git a/ts/structs/InboundHTLCDetails.mts b/ts/structs/InboundHTLCDetails.mts index 60b09ed2..54a990ae 100644 --- a/ts/structs/InboundHTLCDetails.mts +++ b/ts/structs/InboundHTLCDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InboundHTLCErr.mts b/ts/structs/InboundHTLCErr.mts index 3dd8e676..d03d2fa9 100644 --- a/ts/structs/InboundHTLCErr.mts +++ b/ts/structs/InboundHTLCErr.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Init.mts b/ts/structs/Init.mts index 59c662ac..5419cbcf 100644 --- a/ts/structs/Init.mts +++ b/ts/structs/Init.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InitFeatures.mts b/ts/structs/InitFeatures.mts index 88c2e27a..0a45cd05 100644 --- a/ts/structs/InitFeatures.mts +++ b/ts/structs/InitFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -1326,6 +1358,36 @@ export class InitFeatures extends CommonBase { return ret; } + /** + * Set this feature as optional. + */ + public set_dual_fund_optional(): void { + bindings.InitFeatures_set_dual_fund_optional(this.ptr); + } + + /** + * Set this feature as required. + */ + public set_dual_fund_required(): void { + bindings.InitFeatures_set_dual_fund_required(this.ptr); + } + + /** + * Checks if this feature is supported. + */ + public supports_dual_fund(): boolean { + const ret: boolean = bindings.InitFeatures_supports_dual_fund(this.ptr); + return ret; + } + + /** + * Checks if this feature is required. + */ + public requires_dual_fund(): boolean { + const ret: boolean = bindings.InitFeatures_requires_dual_fund(this.ptr); + return ret; + } + /** * Set this feature as optional. */ diff --git a/ts/structs/Input.mts b/ts/structs/Input.mts index abadda6a..bdcb75e9 100644 --- a/ts/structs/Input.mts +++ b/ts/structs/Input.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/IntroductionNode.mts b/ts/structs/IntroductionNode.mts index 01315152..1e00f2da 100644 --- a/ts/structs/IntroductionNode.mts +++ b/ts/structs/IntroductionNode.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; diff --git a/ts/structs/InvalidShutdownScript.mts b/ts/structs/InvalidShutdownScript.mts index 37b57d7f..8e8d162d 100644 --- a/ts/structs/InvalidShutdownScript.mts +++ b/ts/structs/InvalidShutdownScript.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InvoiceError.mts b/ts/structs/InvoiceError.mts index cec832cf..735b8cf4 100644 --- a/ts/structs/InvoiceError.mts +++ b/ts/structs/InvoiceError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InvoiceRequest.mts b/ts/structs/InvoiceRequest.mts index b493d65b..90769046 100644 --- a/ts/structs/InvoiceRequest.mts +++ b/ts/structs/InvoiceRequest.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -854,21 +886,31 @@ export class InvoiceRequest extends CommonBase { } /** - * The public key used by the recipient to sign invoices. + * The public key corresponding to the key used by the recipient to sign invoices. + * - If [`Offer::paths`] is empty, MUST be `Some` and contain the recipient's node id for + * sending an [`InvoiceRequest`]. + * - If [`Offer::paths`] is not empty, MAY be `Some` and contain a transient id. + * - If `None`, the signing pubkey will be the final blinded node id from the + * [`BlindedMessagePath`] in [`Offer::paths`] used to send the [`InvoiceRequest`]. + * + * See also [`Bolt12Invoice::signing_pubkey`]. + * + * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest + * [`Bolt12Invoice::signing_pubkey`]: crate::offers::invoice::Bolt12Invoice::signing_pubkey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public signing_pubkey(): Uint8Array { - const ret: number = bindings.InvoiceRequest_signing_pubkey(this.ptr); + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.InvoiceRequest_issuer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } /** * An unpredictable series of bytes, typically containing information about the derivation of - * [`payer_id`]. + * [`payer_signing_pubkey`]. * - * [`payer_id`]: Self::payer_id + * [`payer_signing_pubkey`]: Self::payer_signing_pubkey */ public payer_metadata(): Uint8Array { const ret: number = bindings.InvoiceRequest_payer_metadata(this.ptr); @@ -898,6 +940,18 @@ export class InvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * Returns whether an amount was set in the request; otherwise, if [`amount_msats`] is `Some` + * then it was inferred from the [`Offer::amount`] and [`quantity`]. + * + * [`amount_msats`]: Self::amount_msats + * [`quantity`]: Self::quantity + */ + public has_amount_msats(): boolean { + const ret: boolean = bindings.InvoiceRequest_has_amount_msats(this.ptr); + return ret; + } + /** * Features pertaining to requesting an invoice. */ @@ -921,8 +975,8 @@ export class InvoiceRequest extends CommonBase { /** * A possibly transient pubkey used to sign the invoice request. */ - public payer_id(): Uint8Array { - const ret: number = bindings.InvoiceRequest_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.InvoiceRequest_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } @@ -940,12 +994,24 @@ export class InvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * If the [`Offer`] was sourced from a BIP 353 Human Readable Name, this should be set by the + * builder to indicate the original [`HumanReadableName`] which was resolved. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public offer_from_hrn(): HumanReadableName { + const ret: bigint = bindings.InvoiceRequest_offer_from_hrn(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Creates an [`InvoiceBuilder`] for the request with the given required fields. * * Unless [`InvoiceBuilder::relative_expiry`] is set, the invoice will expire two hours after - * `created_at`, which is used to set [`Bolt12Invoice::created_at`]. Useful for `no-std` builds - * where [`std::time::SystemTime`] is not available. + * `created_at`, which is used to set [`Bolt12Invoice::created_at`]. * * The caller is expected to remember the preimage of `payment_hash` in order to claim a payment * for the invoice. @@ -953,7 +1019,7 @@ export class InvoiceRequest extends CommonBase { * The `payment_paths` parameter is useful for maintaining the payment recipient's privacy. It * must contain one or more elements ordered from most-preferred to least-preferred, if there's * a preference. Note, however, that any privacy is lost if a public node id was used for - * [`Offer::signing_pubkey`]. + * [`Offer::issuer_signing_pubkey`]. * * Errors if the request contains unknown required features. * @@ -1006,9 +1072,9 @@ export class InvoiceRequest extends CommonBase { } /** - * Signature of the invoice request using [`payer_id`]. + * Signature of the invoice request using [`payer_signing_pubkey`]. * - * [`payer_id`]: Self::payer_id + * [`payer_signing_pubkey`]: Self::payer_signing_pubkey */ public signature(): Uint8Array { const ret: number = bindings.InvoiceRequest_signature(this.ptr); @@ -1025,4 +1091,13 @@ export class InvoiceRequest extends CommonBase { return ret_conv; } + /** + * Read a InvoiceRequest from a byte array, created by InvoiceRequest_write + */ + public static constructor_read(ser: Uint8Array): Result_InvoiceRequestDecodeErrorZ { + const ret: bigint = bindings.InvoiceRequest_read(bindings.encodeUint8Array(ser)); + const ret_hu_conv: Result_InvoiceRequestDecodeErrorZ = Result_InvoiceRequestDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + } diff --git a/ts/structs/InvoiceRequestFeatures.mts b/ts/structs/InvoiceRequestFeatures.mts index 51327650..0b2aab35 100644 --- a/ts/structs/InvoiceRequestFeatures.mts +++ b/ts/structs/InvoiceRequestFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InvoiceRequestFields.mts b/ts/structs/InvoiceRequestFields.mts index 864a8ef5..beba3d9a 100644 --- a/ts/structs/InvoiceRequestFields.mts +++ b/ts/structs/InvoiceRequestFields.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; import { Option_i64Z } from '../structs/Option_i64Z.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -722,8 +754,8 @@ export class InvoiceRequestFields extends CommonBase { /** * A possibly transient pubkey used to sign the invoice request. */ - public get_payer_id(): Uint8Array { - const ret: number = bindings.InvoiceRequestFields_get_payer_id(this.ptr); + public get_payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.InvoiceRequestFields_get_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } @@ -731,8 +763,8 @@ export class InvoiceRequestFields extends CommonBase { /** * A possibly transient pubkey used to sign the invoice request. */ - public set_payer_id(val: Uint8Array): void { - bindings.InvoiceRequestFields_set_payer_id(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 33))); + public set_payer_signing_pubkey(val: Uint8Array): void { + bindings.InvoiceRequestFields_set_payer_signing_pubkey(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 33))); } /** @@ -775,13 +807,35 @@ export class InvoiceRequestFields extends CommonBase { bindings.InvoiceRequestFields_set_payer_note_truncated(this.ptr, val == null ? 0n : CommonBase.get_ptr_of(val)); } + /** + * The Human Readable Name which the sender indicated they were paying to. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public get_human_readable_name(): HumanReadableName { + const ret: bigint = bindings.InvoiceRequestFields_get_human_readable_name(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * The Human Readable Name which the sender indicated they were paying to. + * + * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public set_human_readable_name(val: HumanReadableName|null): void { + bindings.InvoiceRequestFields_set_human_readable_name(this.ptr, val == null ? 0n : CommonBase.get_ptr_of(val)); + } + /** * Constructs a new InvoiceRequestFields given each field * * Note that payer_note_truncated_arg (or a relevant inner pointer) may be NULL or all-0s to represent None + * Note that human_readable_name_arg (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public static constructor_new(payer_id_arg: Uint8Array, quantity_arg: Option_u64Z, payer_note_truncated_arg: UntrustedString|null): InvoiceRequestFields { - const ret: bigint = bindings.InvoiceRequestFields_new(bindings.encodeUint8Array(bindings.check_arr_len(payer_id_arg, 33)), CommonBase.get_ptr_of(quantity_arg), payer_note_truncated_arg == null ? 0n : CommonBase.get_ptr_of(payer_note_truncated_arg)); + public static constructor_new(payer_signing_pubkey_arg: Uint8Array, quantity_arg: Option_u64Z, payer_note_truncated_arg: UntrustedString|null, human_readable_name_arg: HumanReadableName|null): InvoiceRequestFields { + const ret: bigint = bindings.InvoiceRequestFields_new(bindings.encodeUint8Array(bindings.check_arr_len(payer_signing_pubkey_arg, 33)), CommonBase.get_ptr_of(quantity_arg), payer_note_truncated_arg == null ? 0n : CommonBase.get_ptr_of(payer_note_truncated_arg), human_readable_name_arg == null ? 0n : CommonBase.get_ptr_of(human_readable_name_arg)); const ret_hu_conv: InvoiceRequestFields = new InvoiceRequestFields(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; diff --git a/ts/structs/InvoiceRequestWithDerivedPayerIdBuilder.mts b/ts/structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mts similarity index 91% rename from ts/structs/InvoiceRequestWithDerivedPayerIdBuilder.mts rename to ts/structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mts index 60913724..a821071d 100644 --- a/ts/structs/InvoiceRequestWithDerivedPayerIdBuilder.mts +++ b/ts/structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,11 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -715,17 +747,17 @@ import * as bindings from '../bindings.mjs' * * [module-level documentation]: self */ -export class InvoiceRequestWithDerivedPayerIdBuilder extends CommonBase { +export class InvoiceRequestWithDerivedPayerSigningPubkeyBuilder extends CommonBase { /* @internal */ public constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.InvoiceRequestWithDerivedPayerIdBuilder_free); + super(ptr, bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_free); } /** * Builds a signed [`InvoiceRequest`] after checking for valid semantics. */ public build_and_sign(): Result_InvoiceRequestBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithDerivedPayerIdBuilder_build_and_sign(this.ptr); + const ret: bigint = bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_build_and_sign(this.ptr); const ret_hu_conv: Result_InvoiceRequestBolt12SemanticErrorZ = Result_InvoiceRequestBolt12SemanticErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -738,7 +770,7 @@ export class InvoiceRequestWithDerivedPayerIdBuilder extends CommonBase { * Successive calls to this method will override the previous setting. */ public chain(network: Network): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithDerivedPayerIdBuilder_chain(this.ptr, network); + const ret: bigint = bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_chain(this.ptr, network); const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -752,7 +784,7 @@ export class InvoiceRequestWithDerivedPayerIdBuilder extends CommonBase { * [`quantity`]: Self::quantity */ public amount_msats(amount_msats: bigint): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithDerivedPayerIdBuilder_amount_msats(this.ptr, amount_msats); + const ret: bigint = bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_amount_msats(this.ptr, amount_msats); const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -764,7 +796,7 @@ export class InvoiceRequestWithDerivedPayerIdBuilder extends CommonBase { * Successive calls to this method will override the previous setting. */ public quantity(quantity: bigint): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithDerivedPayerIdBuilder_quantity(this.ptr, quantity); + const ret: bigint = bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_quantity(this.ptr, quantity); const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -775,7 +807,16 @@ export class InvoiceRequestWithDerivedPayerIdBuilder extends CommonBase { * Successive calls to this method will override the previous setting. */ public payer_note(payer_note: string): void { - bindings.InvoiceRequestWithDerivedPayerIdBuilder_payer_note(this.ptr, bindings.encodeString(payer_note)); + bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_payer_note(this.ptr, bindings.encodeString(payer_note)); + } + + /** + * Sets the [`InvoiceRequest::offer_from_hrn`]. + * + * Successive calls to this method will override the previous setting. + */ + public sourced_from_human_readable_name(hrn: HumanReadableName): void { + bindings.InvoiceRequestWithDerivedPayerSigningPubkeyBuilder_sourced_from_human_readable_name(this.ptr, CommonBase.get_ptr_of(hrn)); } } diff --git a/ts/structs/InvoiceWithDerivedSigningPubkeyBuilder.mts b/ts/structs/InvoiceWithDerivedSigningPubkeyBuilder.mts index e8983f0c..ad4e9c25 100644 --- a/ts/structs/InvoiceWithDerivedSigningPubkeyBuilder.mts +++ b/ts/structs/InvoiceWithDerivedSigningPubkeyBuilder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -738,7 +770,6 @@ export class InvoiceWithDerivedSigningPubkeyBuilder extends CommonBase { * Sets the [`Bolt12Invoice::relative_expiry`] * as seconds since [`Bolt12Invoice::created_at`]. * Any expiry that has already passed is valid and can be checked for using - * [`Bolt12Invoice::is_expired`]. * * Successive calls to this method will override the previous setting. */ diff --git a/ts/structs/InvoiceWithExplicitSigningPubkeyBuilder.mts b/ts/structs/InvoiceWithExplicitSigningPubkeyBuilder.mts index eba4dc0f..01c59bf4 100644 --- a/ts/structs/InvoiceWithExplicitSigningPubkeyBuilder.mts +++ b/ts/structs/InvoiceWithExplicitSigningPubkeyBuilder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -726,8 +758,7 @@ export class InvoiceWithExplicitSigningPubkeyBuilder extends CommonBase { } /** - * Builds an unsigned [`Bolt12Invoice`] after checking for valid semantics. It can be signed by - * [`UnsignedBolt12Invoice::sign`]. + * Builds an unsigned [`Bolt12Invoice`] after checking for valid semantics. */ public build(): Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ { const ret: bigint = bindings.InvoiceWithExplicitSigningPubkeyBuilder_build(this.ptr); @@ -739,7 +770,6 @@ export class InvoiceWithExplicitSigningPubkeyBuilder extends CommonBase { * Sets the [`Bolt12Invoice::relative_expiry`] * as seconds since [`Bolt12Invoice::created_at`]. * Any expiry that has already passed is valid and can be checked for using - * [`Bolt12Invoice::is_expired`]. * * Successive calls to this method will override the previous setting. */ diff --git a/ts/structs/KVStore.mts b/ts/structs/KVStore.mts index beb74ba8..289e591e 100644 --- a/ts/structs/KVStore.mts +++ b/ts/structs/KVStore.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/KeysManager.mts b/ts/structs/KeysManager.mts index 799ef959..30055ce4 100644 --- a/ts/structs/KeysManager.mts +++ b/ts/structs/KeysManager.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWr import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/LightningError.mts b/ts/structs/LightningError.mts index 3220ba1a..345ef12d 100644 --- a/ts/structs/LightningError.mts +++ b/ts/structs/LightningError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Listen.mts b/ts/structs/Listen.mts index 252e117c..0d0ba650 100644 --- a/ts/structs/Listen.mts +++ b/ts/structs/Listen.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/LockableScore.mts b/ts/structs/LockableScore.mts index 51785394..604a5841 100644 --- a/ts/structs/LockableScore.mts +++ b/ts/structs/LockableScore.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/LockedChannelMonitor.mts b/ts/structs/LockedChannelMonitor.mts index d20e1d5a..4968897a 100644 --- a/ts/structs/LockedChannelMonitor.mts +++ b/ts/structs/LockedChannelMonitor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Logger.mts b/ts/structs/Logger.mts index 76705362..76f238b3 100644 --- a/ts/structs/Logger.mts +++ b/ts/structs/Logger.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MaxDustHTLCExposure.mts b/ts/structs/MaxDustHTLCExposure.mts index 58a145c4..657550b0 100644 --- a/ts/structs/MaxDustHTLCExposure.mts +++ b/ts/structs/MaxDustHTLCExposure.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageContext.mts b/ts/structs/MessageContext.mts index 6554f86a..9a828e3e 100644 --- a/ts/structs/MessageContext.mts +++ b/ts/structs/MessageContext.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -721,7 +753,9 @@ export class MessageContext extends CommonBase { const raw_ty: number = bindings.LDKMessageContext_ty_from_ptr(ptr); switch (raw_ty) { case 0: return new MessageContext_Offers(ptr); - case 1: return new MessageContext_Custom(ptr); + case 1: return new MessageContext_AsyncPayments(ptr); + case 2: return new MessageContext_DNSResolver(ptr); + case 3: return new MessageContext_Custom(ptr); default: throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface } @@ -752,6 +786,26 @@ export class MessageContext extends CommonBase { return ret_hu_conv; } + /** + * Utility method to constructs a new AsyncPayments-variant MessageContext + */ + public static constructor_async_payments(a: AsyncPaymentsContext): MessageContext { + const ret: bigint = bindings.MessageContext_async_payments(CommonBase.get_ptr_of(a)); + const ret_hu_conv: MessageContext = MessageContext.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new DNSResolver-variant MessageContext + */ + public static constructor_dnsresolver(a: DNSResolverContext): MessageContext { + const ret: bigint = bindings.MessageContext_dnsresolver(CommonBase.get_ptr_of(a)); + const ret_hu_conv: MessageContext = MessageContext.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + /** * Utility method to constructs a new Custom-variant MessageContext */ @@ -793,6 +847,30 @@ export class MessageContext_Offers extends MessageContext { this.offers = offers_hu_conv; } } +/** A MessageContext of type AsyncPayments */ +export class MessageContext_AsyncPayments extends MessageContext { + public async_payments: AsyncPaymentsContext; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const async_payments: bigint = bindings.LDKMessageContext_AsyncPayments_get_async_payments(ptr); + const async_payments_hu_conv: AsyncPaymentsContext = AsyncPaymentsContext.constr_from_ptr(async_payments); + CommonBase.add_ref_from(async_payments_hu_conv, this); + this.async_payments = async_payments_hu_conv; + } +} +/** A MessageContext of type DNSResolver */ +export class MessageContext_DNSResolver extends MessageContext { + public dns_resolver: DNSResolverContext; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const dns_resolver: bigint = bindings.LDKMessageContext_DNSResolver_get_dns_resolver(ptr); + const dns_resolver_hu_conv: DNSResolverContext = new DNSResolverContext(null, dns_resolver); + CommonBase.add_ref_from(dns_resolver_hu_conv, this); + this.dns_resolver = dns_resolver_hu_conv; + } +} /** A MessageContext of type Custom */ export class MessageContext_Custom extends MessageContext { public custom: Uint8Array; diff --git a/ts/structs/MessageForwardNode.mts b/ts/structs/MessageForwardNode.mts index bb517dff..ccbca103 100644 --- a/ts/structs/MessageForwardNode.mts +++ b/ts/structs/MessageForwardNode.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,11 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,11 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageHandler.mts b/ts/structs/MessageHandler.mts index 6b4f1285..65940267 100644 --- a/ts/structs/MessageHandler.mts +++ b/ts/structs/MessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageRouter.mts b/ts/structs/MessageRouter.mts index 2486f1c0..d4c15e32 100644 --- a/ts/structs/MessageRouter.mts +++ b/ts/structs/MessageRouter.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -327,6 +329,10 @@ import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvid import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageSendEvent.mts b/ts/structs/MessageSendEvent.mts index edb03ead..0b88868e 100644 --- a/ts/structs/MessageSendEvent.mts +++ b/ts/structs/MessageSendEvent.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageSendEventsProvider.mts b/ts/structs/MessageSendEventsProvider.mts index 8b1f2387..26153d96 100644 --- a/ts/structs/MessageSendEventsProvider.mts +++ b/ts/structs/MessageSendEventsProvider.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MessageSendInstructions.mts b/ts/structs/MessageSendInstructions.mts index 550bd28f..0697431a 100644 --- a/ts/structs/MessageSendInstructions.mts +++ b/ts/structs/MessageSendInstructions.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MigratableKVStore.mts b/ts/structs/MigratableKVStore.mts new file mode 100644 index 00000000..4684785b --- /dev/null +++ b/ts/structs/MigratableKVStore.mts @@ -0,0 +1,814 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +/** An implementation of MigratableKVStore */ +export interface MigratableKVStoreInterface { + /**Returns *all* known keys as a list of `primary_namespace`, `secondary_namespace`, `key` tuples. + * + * This is useful for migrating data from [`KVStore`] implementation to [`KVStore`] + * implementation. + * + * Must exhaustively return all entries known to the store to ensure no data is missed, but + * may return the items in arbitrary order. + */ + list_all_keys(): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ; +} + +class LDKMigratableKVStoreHolder { + held: MigratableKVStore|null = null; +} + +/** + * Provides additional interface methods that are required for [`KVStore`]-to-[`KVStore`] + * data migration. + */ +export class MigratableKVStore extends CommonBase { + /* @internal */ + public bindings_instance: bindings.LDKMigratableKVStore|null; + + /* @internal */ + public instance_idx?: number; + + /* @internal */ + constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.MigratableKVStore_free); + this.bindings_instance = null; + } + + /** Creates a new instance of MigratableKVStore from a given implementation */ + public static new_impl(arg: MigratableKVStoreInterface, kVStore_impl: KVStoreInterface): MigratableKVStore { + const impl_holder: LDKMigratableKVStoreHolder = new LDKMigratableKVStoreHolder(); + let structImplementation = { + list_all_keys (): bigint { + const ret: Result_CVec_C3Tuple_StrStrStrZZIOErrorZ = arg.list_all_keys(); + const result: bigint = ret.clone_ptr(); + return result; + }, + } as bindings.LDKMigratableKVStore; + const kVStore = KVStore.new_impl(kVStore_impl); + const ptr_idx: [bigint, number] = bindings.LDKMigratableKVStore_new(structImplementation, kVStore.instance_idx!); + + impl_holder.held = new MigratableKVStore(null, ptr_idx[0]); + impl_holder.held.instance_idx = ptr_idx[1]; + impl_holder.held.bindings_instance = structImplementation; + impl_holder.held.ptrs_to.push(kVStore); + return impl_holder.held!; + } + + /** + * Returns *all* known keys as a list of `primary_namespace`, `secondary_namespace`, `key` tuples. + * + * This is useful for migrating data from [`KVStore`] implementation to [`KVStore`] + * implementation. + * + * Must exhaustively return all entries known to the store to ensure no data is missed, but + * may return the items in arbitrary order. + */ + public list_all_keys(): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + const ret: bigint = bindings.MigratableKVStore_list_all_keys(this.ptr); + const ret_hu_conv: Result_CVec_C3Tuple_StrStrStrZZIOErrorZ = Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} diff --git a/ts/structs/MinFinalCltvExpiryDelta.mts b/ts/structs/MinFinalCltvExpiryDelta.mts index 849b5616..05600ca2 100644 --- a/ts/structs/MinFinalCltvExpiryDelta.mts +++ b/ts/structs/MinFinalCltvExpiryDelta.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MonitorEvent.mts b/ts/structs/MonitorEvent.mts index 67d2958f..32c99946 100644 --- a/ts/structs/MonitorEvent.mts +++ b/ts/structs/MonitorEvent.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { UntrustedString } from '../structs/UntrustedString.mjs'; import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/InvoiceRequestWithExplicitPayerIdBuilder.mts b/ts/structs/MonitorName.mts similarity index 90% rename from ts/structs/InvoiceRequestWithExplicitPayerIdBuilder.mts rename to ts/structs/MonitorName.mts index e73ddbc4..4e329edc 100644 --- a/ts/structs/InvoiceRequestWithExplicitPayerIdBuilder.mts +++ b/ts/structs/MonitorName.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,74 +741,66 @@ import * as bindings from '../bindings.mjs' /** - * Builds an [`InvoiceRequest`] from an [`Offer`] for the \"offer to be paid\" flow. + * A struct representing a name for a channel monitor. + * + * `MonitorName` is primarily used within the [`MonitorUpdatingPersister`] + * in functions that store or retrieve channel monitor snapshots. + * It provides a consistent way to generate a unique key for channel + * monitors based on their funding outpoints. + * + * While users of the Lightning Dev Kit library generally won't need + * to interact with [`MonitorName`] directly, it can be useful for: + * - Custom persistence implementations + * - Debugging or logging channel monitor operations + * - Extending the functionality of the `MonitorUpdatingPersister` + * # Examples * - * See [module-level documentation] for usage. + * ``` + * use std::str::FromStr; * - * [module-level documentation]: self + * use bitcoin::Txid; + * + * use lightning::util::persist::MonitorName; + * use lightning::chain::transaction::OutPoint; + * + * let outpoint = OutPoint { + * \t txid: Txid::from_str(\"deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef\").unwrap(), + * \t index: 1, + * }; + * let monitor_name = MonitorName::from(outpoint); + * assert_eq!(monitor_name.as_str(), \"deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef_1\"); + * + * Using MonitorName to generate a storage key + * let storage_key = format!(\"channel_monitors/{}\", monitor_name.as_str()); + * ``` */ -export class InvoiceRequestWithExplicitPayerIdBuilder extends CommonBase { +export class MonitorName extends CommonBase { /* @internal */ public constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.InvoiceRequestWithExplicitPayerIdBuilder_free); - } - - /** - * Builds an unsigned [`InvoiceRequest`] after checking for valid semantics. It can be signed - * by [`UnsignedInvoiceRequest::sign`]. - */ - public build(): Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithExplicitPayerIdBuilder_build(this.ptr); - const ret_hu_conv: Result_UnsignedInvoiceRequestBolt12SemanticErrorZ = Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.constr_from_ptr(ret); - return ret_hu_conv; - } - - /** - * Sets the [`InvoiceRequest::chain`] of the given [`Network`] for paying an invoice. If not - * called, [`Network::Bitcoin`] is assumed. Errors if the chain for `network` is not supported - * by the offer. - * - * Successive calls to this method will override the previous setting. - */ - public chain(network: Network): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithExplicitPayerIdBuilder_chain(this.ptr, network); - const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); - return ret_hu_conv; - } - - /** - * Sets the [`InvoiceRequest::amount_msats`] for paying an invoice. Errors if `amount_msats` is - * not at least the expected invoice amount (i.e., [`Offer::amount`] times [`quantity`]). - * - * Successive calls to this method will override the previous setting. - * - * [`quantity`]: Self::quantity - */ - public amount_msats(amount_msats: bigint): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithExplicitPayerIdBuilder_amount_msats(this.ptr, amount_msats); - const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); - return ret_hu_conv; + super(ptr, bindings.MonitorName_free); } /** - * Sets [`InvoiceRequest::quantity`] of items. If not set, `1` is assumed. Errors if `quantity` - * does not conform to [`Offer::is_valid_quantity`]. - * - * Successive calls to this method will override the previous setting. + * Constructs a [`MonitorName`], after verifying that an [`OutPoint`] can + * be formed from the given `name`. + * This method is useful if you have a String and you want to verify that + * it's a valid storage key for a channel monitor. */ - public quantity(quantity: bigint): Result_NoneBolt12SemanticErrorZ { - const ret: bigint = bindings.InvoiceRequestWithExplicitPayerIdBuilder_quantity(this.ptr, quantity); - const ret_hu_conv: Result_NoneBolt12SemanticErrorZ = Result_NoneBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_new(name: string): Result_MonitorNameIOErrorZ { + const ret: bigint = bindings.MonitorName_new(bindings.encodeString(name)); + const ret_hu_conv: Result_MonitorNameIOErrorZ = Result_MonitorNameIOErrorZ.constr_from_ptr(ret); return ret_hu_conv; } /** - * Sets the [`InvoiceRequest::payer_note`]. - * - * Successive calls to this method will override the previous setting. + * Convert this monitor name to a str. + * This method is particularly useful when you need to use the monitor name + * as a key in a key-value store or when logging. */ - public payer_note(payer_note: string): void { - bindings.InvoiceRequestWithExplicitPayerIdBuilder_payer_note(this.ptr, bindings.encodeString(payer_note)); + public as_str(): string { + const ret: number = bindings.MonitorName_as_str(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; } } diff --git a/ts/structs/MonitorUpdatingPersister.mts b/ts/structs/MonitorUpdatingPersister.mts index 1f5088d1..31aa9221 100644 --- a/ts/structs/MonitorUpdatingPersister.mts +++ b/ts/structs/MonitorUpdatingPersister.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MultiThreadedLockableScore.mts b/ts/structs/MultiThreadedLockableScore.mts index 9a994185..decf7ace 100644 --- a/ts/structs/MultiThreadedLockableScore.mts +++ b/ts/structs/MultiThreadedLockableScore.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MultiThreadedScoreLockRead.mts b/ts/structs/MultiThreadedScoreLockRead.mts index 6a5b2215..a888a6b4 100644 --- a/ts/structs/MultiThreadedScoreLockRead.mts +++ b/ts/structs/MultiThreadedScoreLockRead.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/MultiThreadedScoreLockWrite.mts b/ts/structs/MultiThreadedScoreLockWrite.mts index bfafca14..59392c59 100644 --- a/ts/structs/MultiThreadedScoreLockWrite.mts +++ b/ts/structs/MultiThreadedScoreLockWrite.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NetworkGraph.mts b/ts/structs/NetworkGraph.mts index 18e86244..1afe5404 100644 --- a/ts/structs/NetworkGraph.mts +++ b/ts/structs/NetworkGraph.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -923,9 +955,6 @@ export class NetworkGraph extends CommonBase { * * This method will also cause us to stop tracking removed nodes and channels if they have been * in the map for a while so that these can be resynced from gossip in the future. - * - * This function takes the current unix time as an argument. For users with the `std` feature - * enabled, [`NetworkGraph::remove_stale_channels_and_tracking`] may be preferable. */ public remove_stale_channels_and_tracking_with_time(current_time_unix: bigint): void { bindings.NetworkGraph_remove_stale_channels_and_tracking_with_time(this.ptr, current_time_unix); @@ -939,7 +968,7 @@ export class NetworkGraph extends CommonBase { * [`RoutingMessageHandler`] implementation to call it indirectly. This may be useful to accept * routing messages from a source using a protocol other than the lightning P2P protocol. * - * If built with `no-std`, any updates with a timestamp more than two weeks in the past or + * If not built with `std`, any updates with a timestamp more than two weeks in the past or * materially in the future will be rejected. */ public update_channel(msg: ChannelUpdate): Result_NoneLightningErrorZ { @@ -954,7 +983,7 @@ export class NetworkGraph extends CommonBase { * of the channel without verifying the associated signatures. Because we aren't given the * associated signatures here we cannot relay the channel update to any of our peers. * - * If built with `no-std`, any updates with a timestamp more than two weeks in the past or + * If not built with `std`, any updates with a timestamp more than two weeks in the past or * materially in the future will be rejected. */ public update_channel_unsigned(msg: UnsignedChannelUpdate): Result_NoneLightningErrorZ { @@ -969,7 +998,7 @@ export class NetworkGraph extends CommonBase { * * This checks whether the update currently is applicable by [`Self::update_channel`]. * - * If built with `no-std`, any updates with a timestamp more than two weeks in the past or + * If not built with `std`, any updates with a timestamp more than two weeks in the past or * materially in the future will be rejected. */ public verify_channel_update(msg: ChannelUpdate): Result_NoneLightningErrorZ { diff --git a/ts/structs/NetworkUpdate.mts b/ts/structs/NetworkUpdate.mts index 4184371a..d8cb6ee5 100644 --- a/ts/structs/NetworkUpdate.mts +++ b/ts/structs/NetworkUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NextMessageHop.mts b/ts/structs/NextMessageHop.mts index 64a361db..48e401aa 100644 --- a/ts/structs/NextMessageHop.mts +++ b/ts/structs/NextMessageHop.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeAlias.mts b/ts/structs/NodeAlias.mts index b73261f0..fa75d508 100644 --- a/ts/structs/NodeAlias.mts +++ b/ts/structs/NodeAlias.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeAnnouncement.mts b/ts/structs/NodeAnnouncement.mts index bd16b18e..cd947a81 100644 --- a/ts/structs/NodeAnnouncement.mts +++ b/ts/structs/NodeAnnouncement.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeAnnouncementDetails.mts b/ts/structs/NodeAnnouncementDetails.mts index 9f551be1..b445c4df 100644 --- a/ts/structs/NodeAnnouncementDetails.mts +++ b/ts/structs/NodeAnnouncementDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeAnnouncementInfo.mts b/ts/structs/NodeAnnouncementInfo.mts index 679a13e5..dcca74d3 100644 --- a/ts/structs/NodeAnnouncementInfo.mts +++ b/ts/structs/NodeAnnouncementInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeFeatures.mts b/ts/structs/NodeFeatures.mts index 754b814f..bb7210ca 100644 --- a/ts/structs/NodeFeatures.mts +++ b/ts/structs/NodeFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -1304,6 +1336,36 @@ export class NodeFeatures extends CommonBase { return ret; } + /** + * Set this feature as optional. + */ + public set_dual_fund_optional(): void { + bindings.NodeFeatures_set_dual_fund_optional(this.ptr); + } + + /** + * Set this feature as required. + */ + public set_dual_fund_required(): void { + bindings.NodeFeatures_set_dual_fund_required(this.ptr); + } + + /** + * Checks if this feature is supported. + */ + public supports_dual_fund(): boolean { + const ret: boolean = bindings.NodeFeatures_supports_dual_fund(this.ptr); + return ret; + } + + /** + * Checks if this feature is required. + */ + public requires_dual_fund(): boolean { + const ret: boolean = bindings.NodeFeatures_requires_dual_fund(this.ptr); + return ret; + } + /** * Set this feature as optional. */ @@ -1514,4 +1576,34 @@ export class NodeFeatures extends CommonBase { return ret; } + /** + * Set this feature as optional. + */ + public set_dns_resolution_optional(): void { + bindings.NodeFeatures_set_dns_resolution_optional(this.ptr); + } + + /** + * Set this feature as required. + */ + public set_dns_resolution_required(): void { + bindings.NodeFeatures_set_dns_resolution_required(this.ptr); + } + + /** + * Checks if this feature is supported. + */ + public supports_dns_resolution(): boolean { + const ret: boolean = bindings.NodeFeatures_supports_dns_resolution(this.ptr); + return ret; + } + + /** + * Checks if this feature is required. + */ + public requires_dns_resolution(): boolean { + const ret: boolean = bindings.NodeFeatures_requires_dns_resolution(this.ptr); + return ret; + } + } diff --git a/ts/structs/NodeId.mts b/ts/structs/NodeId.mts index a6ca23f2..a309bffd 100644 --- a/ts/structs/NodeId.mts +++ b/ts/structs/NodeId.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeIdLookUp.mts b/ts/structs/NodeIdLookUp.mts index 57be6fe9..3190dab8 100644 --- a/ts/structs/NodeIdLookUp.mts +++ b/ts/structs/NodeIdLookUp.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeInfo.mts b/ts/structs/NodeInfo.mts index ef82e06d..d86dbc2c 100644 --- a/ts/structs/NodeInfo.mts +++ b/ts/structs/NodeInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/NodeSigner.mts b/ts/structs/NodeSigner.mts index a525c1ef..1f2f70f7 100644 --- a/ts/structs/NodeSigner.mts +++ b/ts/structs/NodeSigner.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -712,7 +744,7 @@ import * as bindings from '../bindings.mjs' /** An implementation of NodeSigner */ export interface NodeSignerInterface { - /**Get secret key material as bytes for use in encrypting and decrypting inbound payment data. + /**Get the [`ExpandedKey`] for use in encrypting and decrypting inbound payment data. * * If the implementor of this trait supports [phantom node payments], then every node that is * intended to be included in the phantom invoice route hints must return the same value from @@ -722,7 +754,7 @@ export interface NodeSignerInterface { * * [phantom node payments]: PhantomKeysManager */ - get_inbound_payment_key_material(): Uint8Array; + get_inbound_payment_key(): ExpandedKey; /**Get node id based on the provided [`Recipient`]. * * This method must return the same value each time it is called with a given [`Recipient`] @@ -754,23 +786,7 @@ export interface NodeSignerInterface { * Errors if the [`Recipient`] variant is not supported by the implementation. */ sign_invoice(invoice: RawBolt11Invoice, recipient: Recipient): Result_RecoverableSignatureNoneZ; - /**Signs the [`TaggedHash`] of a BOLT 12 invoice request. - * - * May be called by a function passed to [`UnsignedInvoiceRequest::sign`] where - * `invoice_request` is the callee. - * - * Implementors may check that the `invoice_request` is expected rather than blindly signing - * the tagged hash. An `Ok` result should sign `invoice_request.tagged_hash().as_digest()` with - * the node's signing key or an ephemeral key to preserve privacy, whichever is associated with - * [`UnsignedInvoiceRequest::payer_id`]. - * - * [`TaggedHash`]: crate::offers::merkle::TaggedHash - */ - sign_bolt12_invoice_request(invoice_request: UnsignedInvoiceRequest): Result_SchnorrSignatureNoneZ; /**Signs the [`TaggedHash`] of a BOLT 12 invoice. - * - * May be called by a function passed to [`UnsignedBolt12Invoice::sign`] where `invoice` is the - * callee. * * Implementors may check that the `invoice` is expected rather than blindly signing the tagged * hash. An `Ok` result should sign `invoice.tagged_hash().as_digest()` with the node's signing @@ -814,9 +830,9 @@ export class NodeSigner extends CommonBase { public static new_impl(arg: NodeSignerInterface): NodeSigner { const impl_holder: LDKNodeSignerHolder = new LDKNodeSignerHolder(); let structImplementation = { - get_inbound_payment_key_material (): number { - const ret: Uint8Array = arg.get_inbound_payment_key_material(); - const result: number = bindings.encodeUint8Array(bindings.check_arr_len(ret, 32)); + get_inbound_payment_key (): bigint { + const ret: ExpandedKey = arg.get_inbound_payment_key(); + const result: bigint = ret.clone_ptr(); return result; }, get_node_id (recipient: Recipient): bigint { @@ -838,12 +854,6 @@ export class NodeSigner extends CommonBase { const result: bigint = ret.clone_ptr(); return result; }, - sign_bolt12_invoice_request (invoice_request: bigint): bigint { - const invoice_request_hu_conv: UnsignedInvoiceRequest = new UnsignedInvoiceRequest(null, invoice_request); - const ret: Result_SchnorrSignatureNoneZ = arg.sign_bolt12_invoice_request(invoice_request_hu_conv); - const result: bigint = ret.clone_ptr(); - return result; - }, sign_bolt12_invoice (invoice: bigint): bigint { const invoice_hu_conv: UnsignedBolt12Invoice = new UnsignedBolt12Invoice(null, invoice); const ret: Result_SchnorrSignatureNoneZ = arg.sign_bolt12_invoice(invoice_hu_conv); @@ -867,7 +877,7 @@ export class NodeSigner extends CommonBase { } /** - * Get secret key material as bytes for use in encrypting and decrypting inbound payment data. + * Get the [`ExpandedKey`] for use in encrypting and decrypting inbound payment data. * * If the implementor of this trait supports [phantom node payments], then every node that is * intended to be included in the phantom invoice route hints must return the same value from @@ -877,10 +887,11 @@ export class NodeSigner extends CommonBase { * * [phantom node payments]: PhantomKeysManager */ - public get_inbound_payment_key_material(): Uint8Array { - const ret: number = bindings.NodeSigner_get_inbound_payment_key_material(this.ptr); - const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); - return ret_conv; + public get_inbound_payment_key(): ExpandedKey { + const ret: bigint = bindings.NodeSigner_get_inbound_payment_key(this.ptr); + const ret_hu_conv: ExpandedKey = new ExpandedKey(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; } /** @@ -933,32 +944,9 @@ export class NodeSigner extends CommonBase { return ret_hu_conv; } - /** - * Signs the [`TaggedHash`] of a BOLT 12 invoice request. - * - * May be called by a function passed to [`UnsignedInvoiceRequest::sign`] where - * `invoice_request` is the callee. - * - * Implementors may check that the `invoice_request` is expected rather than blindly signing - * the tagged hash. An `Ok` result should sign `invoice_request.tagged_hash().as_digest()` with - * the node's signing key or an ephemeral key to preserve privacy, whichever is associated with - * [`UnsignedInvoiceRequest::payer_id`]. - * - * [`TaggedHash`]: crate::offers::merkle::TaggedHash - */ - public sign_bolt12_invoice_request(invoice_request: UnsignedInvoiceRequest): Result_SchnorrSignatureNoneZ { - const ret: bigint = bindings.NodeSigner_sign_bolt12_invoice_request(this.ptr, CommonBase.get_ptr_of(invoice_request)); - const ret_hu_conv: Result_SchnorrSignatureNoneZ = Result_SchnorrSignatureNoneZ.constr_from_ptr(ret); - CommonBase.add_ref_from(this, invoice_request); - return ret_hu_conv; - } - /** * Signs the [`TaggedHash`] of a BOLT 12 invoice. * - * May be called by a function passed to [`UnsignedBolt12Invoice::sign`] where `invoice` is the - * callee. - * * Implementors may check that the `invoice` is expected rather than blindly signing the tagged * hash. An `Ok` result should sign `invoice.tagged_hash().as_digest()` with the node's signing * key or an ephemeral key to preserve privacy, whichever is associated with diff --git a/ts/structs/Nonce.mts b/ts/structs/Nonce.mts index 7c56a906..f2b11ee1 100644 --- a/ts/structs/Nonce.mts +++ b/ts/structs/Nonce.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -711,11 +743,11 @@ import * as bindings from '../bindings.mjs' /** * A 128-bit number used only once. * - * Needed when constructing [`Offer::metadata`] and deriving [`Offer::signing_pubkey`] from + * Needed when constructing [`Offer::metadata`] and deriving [`Offer::issuer_signing_pubkey`] from * [`ExpandedKey`]. Must not be reused for any other derivation without first hashing. * * [`Offer::metadata`]: crate::offers::offer::Offer::metadata - * [`Offer::signing_pubkey`]: crate::offers::offer::Offer::signing_pubkey + * [`Offer::issuer_signing_pubkey`]: crate::offers::offer::Offer::issuer_signing_pubkey * [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey */ export class Nonce extends CommonBase { diff --git a/ts/structs/OMNameResolver.mts b/ts/structs/OMNameResolver.mts new file mode 100644 index 00000000..60870a0d --- /dev/null +++ b/ts/structs/OMNameResolver.mts @@ -0,0 +1,832 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A stateful resolver which maps BIP 353 Human Readable Names to URIs and BOLT12 [`Offer`]s. + * + * It does not directly implement [`DNSResolverMessageHandler`] but implements all the core logic + * which is required in a client which intends to. + * + * It relies on being made aware of the passage of time with regular calls to + * [`Self::new_best_block`] in order to time out existing queries. Queries time out after two + * blocks. + */ +export class OMNameResolver extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.OMNameResolver_free); + } + + /** + * Builds a new [`OMNameResolver`]. + */ + public static constructor_new(latest_block_time: number, latest_block_height: number): OMNameResolver { + const ret: bigint = bindings.OMNameResolver_new(latest_block_time, latest_block_height); + const ret_hu_conv: OMNameResolver = new OMNameResolver(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Informs the [`OMNameResolver`] of the passage of time in the form of a new best Bitcoin + * block. + * + * This will call back to resolve some pending queries which have timed out. + */ + public new_best_block(height: number, time: number): void { + bindings.OMNameResolver_new_best_block(this.ptr, height, time); + } + + /** + * Begins the process of resolving a BIP 353 Human Readable Name. + * + * Returns a [`DNSSECQuery`] onion message and a [`DNSResolverContext`] which should be sent + * to a resolver (with the context used to generate the blinded response path) on success. + */ + public resolve_name(payment_id: Uint8Array, name: HumanReadableName, entropy_source: EntropySource): Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + const ret: bigint = bindings.OMNameResolver_resolve_name(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32)), CommonBase.get_ptr_of(name), CommonBase.get_ptr_of(entropy_source)); + const ret_hu_conv: Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ = Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.constr_from_ptr(ret); + CommonBase.add_ref_from(this, entropy_source); + return ret_hu_conv; + } + + /** + * Handles a [`DNSSECProof`] message, attempting to verify it and match it against a pending + * query. + * + * If verification succeeds, the resulting bitcoin: URI is parsed to find a contained + * [`Offer`]. + * + * Note that a single proof for a wildcard DNS entry may complete several requests for + * different [`HumanReadableName`]s. + * + * If an [`Offer`] is found, it, as well as the [`PaymentId`] and original `name` passed to + * [`Self::resolve_name`] are returned. + */ + public handle_dnssec_proof_for_offer(msg: DNSSECProof, context: DNSResolverContext): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + const ret: bigint = bindings.OMNameResolver_handle_dnssec_proof_for_offer(this.ptr, CommonBase.get_ptr_of(msg), CommonBase.get_ptr_of(context)); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Handles a [`DNSSECProof`] message, attempting to verify it and match it against any pending + * queries. + * + * If verification succeeds, all matching [`PaymentId`] and [`HumanReadableName`]s passed to + * [`Self::resolve_name`], as well as the resolved bitcoin: URI are returned. + * + * Note that a single proof for a wildcard DNS entry may complete several requests for + * different [`HumanReadableName`]s. + * + * This method is useful for those who handle bitcoin: URIs already, handling more than just + * BOLT12 [`Offer`]s. + */ + public handle_dnssec_proof_for_uri(msg: DNSSECProof, context: DNSResolverContext): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + const ret: bigint = bindings.OMNameResolver_handle_dnssec_proof_for_uri(this.ptr, CommonBase.get_ptr_of(msg), CommonBase.get_ptr_of(context)); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} diff --git a/ts/structs/Offer.mts b/ts/structs/Offer.mts index e21a56ff..1de21e20 100644 --- a/ts/structs/Offer.mts +++ b/ts/structs/Offer.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -860,12 +892,22 @@ export class Offer extends CommonBase { } /** - * The public key used by the recipient to sign invoices. + * The public key corresponding to the key used by the recipient to sign invoices. + * - If [`Offer::paths`] is empty, MUST be `Some` and contain the recipient's node id for + * sending an [`InvoiceRequest`]. + * - If [`Offer::paths`] is not empty, MAY be `Some` and contain a transient id. + * - If `None`, the signing pubkey will be the final blinded node id from the + * [`BlindedMessagePath`] in [`Offer::paths`] used to send the [`InvoiceRequest`]. + * + * See also [`Bolt12Invoice::signing_pubkey`]. + * + * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest + * [`Bolt12Invoice::signing_pubkey`]: crate::offers::invoice::Bolt12Invoice::signing_pubkey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public signing_pubkey(): Uint8Array { - const ret: number = bindings.Offer_signing_pubkey(this.ptr); + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.Offer_issuer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } @@ -915,66 +957,30 @@ export class Offer extends CommonBase { } /** - * Similar to [`Offer::request_invoice`] except it: - * - derives the [`InvoiceRequest::payer_id`] such that a different key can be used for each - * request, - * - sets [`InvoiceRequest::payer_metadata`] when [`InvoiceRequestBuilder::build`] is called - * such that it can be used by [`Bolt12Invoice::verify_using_metadata`] to determine if the - * invoice was requested using a base [`ExpandedKey`] from which the payer id was derived, - * and + * Creates an [`InvoiceRequestBuilder`] for the offer, which + * - derives the [`InvoiceRequest::payer_signing_pubkey`] such that a different key can be used + * for each request in order to protect the sender's privacy, + * - sets [`InvoiceRequest::payer_metadata`] when [`InvoiceRequestBuilder::build_and_sign`] is + * called such that it can be used by [`Bolt12Invoice::verify_using_metadata`] to determine + * if the invoice was requested using a base [`ExpandedKey`] from which the payer id was + * derived, and * - includes the [`PaymentId`] encrypted in [`InvoiceRequest::payer_metadata`] so that it can * be used when sending the payment for the requested invoice. * - * Useful to protect the sender's privacy. + * Errors if the offer contains unknown required features. * - * [`InvoiceRequest::payer_id`]: crate::offers::invoice_request::InvoiceRequest::payer_id + * [`InvoiceRequest::payer_signing_pubkey`]: crate::offers::invoice_request::InvoiceRequest::payer_signing_pubkey * [`InvoiceRequest::payer_metadata`]: crate::offers::invoice_request::InvoiceRequest::payer_metadata * [`Bolt12Invoice::verify_using_metadata`]: crate::offers::invoice::Bolt12Invoice::verify_using_metadata * [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey */ - public request_invoice_deriving_payer_id(expanded_key: ExpandedKey, nonce: Nonce, payment_id: Uint8Array): Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.Offer_request_invoice_deriving_payer_id(this.ptr, CommonBase.get_ptr_of(expanded_key), CommonBase.get_ptr_of(nonce), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); - const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); - CommonBase.add_ref_from(this, expanded_key); - return ret_hu_conv; - } - - /** - * Similar to [`Offer::request_invoice_deriving_payer_id`] except uses `payer_id` for the - * [`InvoiceRequest::payer_id`] instead of deriving a different key for each request. - * - * Useful for recurring payments using the same `payer_id` with different invoices. - * - * [`InvoiceRequest::payer_id`]: crate::offers::invoice_request::InvoiceRequest::payer_id - */ - public request_invoice_deriving_metadata(payer_id: Uint8Array, expanded_key: ExpandedKey, nonce: Nonce, payment_id: Uint8Array): Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.Offer_request_invoice_deriving_metadata(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(payer_id, 33)), CommonBase.get_ptr_of(expanded_key), CommonBase.get_ptr_of(nonce), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); - const ret_hu_conv: Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + public request_invoice(expanded_key: ExpandedKey, nonce: Nonce, payment_id: Uint8Array): Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + const ret: bigint = bindings.Offer_request_invoice(this.ptr, CommonBase.get_ptr_of(expanded_key), CommonBase.get_ptr_of(nonce), bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); + const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(this, expanded_key); return ret_hu_conv; } - /** - * Creates an [`InvoiceRequestBuilder`] for the offer with the given `metadata` and `payer_id`, - * which will be reflected in the `Bolt12Invoice` response. - * - * The `metadata` is useful for including information about the derivation of `payer_id` such - * that invoice response handling can be stateless. Also serves as payer-provided entropy while - * hashing in the signature calculation. - * - * This should not leak any information such as by using a simple BIP-32 derivation path. - * Otherwise, payments may be correlated. - * - * Errors if the offer contains unknown required features. - * - * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest - */ - public request_invoice(metadata: Uint8Array, payer_id: Uint8Array): Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.Offer_request_invoice(this.ptr, bindings.encodeUint8Array(metadata), bindings.encodeUint8Array(bindings.check_arr_len(payer_id, 33))); - const ret_hu_conv: Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); - return ret_hu_conv; - } - /** * Generates a non-cryptographic 64-bit hash of the Offer. */ diff --git a/ts/structs/OfferFeatures.mts b/ts/structs/OfferFeatures.mts index 9cd263c9..91bb1f5d 100644 --- a/ts/structs/OfferFeatures.mts +++ b/ts/structs/OfferFeatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OfferId.mts b/ts/structs/OfferId.mts index 10d61835..bb05d872 100644 --- a/ts/structs/OfferId.mts +++ b/ts/structs/OfferId.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,11 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OfferWithDerivedMetadataBuilder.mts b/ts/structs/OfferWithDerivedMetadataBuilder.mts index b5b3e41a..6040bfb3 100644 --- a/ts/structs/OfferWithDerivedMetadataBuilder.mts +++ b/ts/structs/OfferWithDerivedMetadataBuilder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -740,7 +772,7 @@ export class OfferWithDerivedMetadataBuilder extends CommonBase { * Similar to [`OfferBuilder::new`] except, if [`OfferBuilder::path`] is called, the signing * pubkey is derived from the given [`ExpandedKey`] and [`Nonce`]. This provides recipient * privacy by using a different signing pubkey for each offer. Otherwise, the provided - * `node_id` is used for the signing pubkey. + * `node_id` is used for [`Offer::issuer_signing_pubkey`]. * * Also, sets the metadata when [`OfferBuilder::build`] is called such that it can be used by * [`InvoiceRequest::verify_using_metadata`] to determine if the request was produced for the @@ -782,8 +814,7 @@ export class OfferWithDerivedMetadataBuilder extends CommonBase { } /** - * Sets the [`Offer::absolute_expiry`] as seconds since the Unix epoch. Any expiry that has - * already passed is valid and can be checked for using [`Offer::is_expired`]. + * Sets the [`Offer::absolute_expiry`] as seconds since the Unix epoch. * * Successive calls to this method will override the previous setting. */ @@ -811,7 +842,7 @@ export class OfferWithDerivedMetadataBuilder extends CommonBase { /** * Adds a blinded path to [`Offer::paths`]. Must include at least one path if only connected by - * private channels or if [`Offer::signing_pubkey`] is not a public node id. + * private channels or if [`Offer::issuer_signing_pubkey`] is not a public node id. * * Successive calls to this method will add another blinded path. Caller is responsible for not * adding duplicate paths. diff --git a/ts/structs/OfferWithExplicitMetadataBuilder.mts b/ts/structs/OfferWithExplicitMetadataBuilder.mts index 9ee5eac2..aac13c42 100644 --- a/ts/structs/OfferWithExplicitMetadataBuilder.mts +++ b/ts/structs/OfferWithExplicitMetadataBuilder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -737,8 +769,8 @@ export class OfferWithExplicitMetadataBuilder extends CommonBase { } /** - * Creates a new builder for an offer using the [`Offer::signing_pubkey`] for signing invoices. - * The associated secret key must be remembered while the offer is valid. + * Creates a new builder for an offer using the `signing_pubkey` for signing invoices. The + * associated secret key must be remembered while the offer is valid. * * Use a different pubkey per offer to avoid correlating offers. * @@ -790,8 +822,7 @@ export class OfferWithExplicitMetadataBuilder extends CommonBase { } /** - * Sets the [`Offer::absolute_expiry`] as seconds since the Unix epoch. Any expiry that has - * already passed is valid and can be checked for using [`Offer::is_expired`]. + * Sets the [`Offer::absolute_expiry`] as seconds since the Unix epoch. * * Successive calls to this method will override the previous setting. */ @@ -819,7 +850,7 @@ export class OfferWithExplicitMetadataBuilder extends CommonBase { /** * Adds a blinded path to [`Offer::paths`]. Must include at least one path if only connected by - * private channels or if [`Offer::signing_pubkey`] is not a public node id. + * private channels or if [`Offer::issuer_signing_pubkey`] is not a public node id. * * Successive calls to this method will add another blinded path. Caller is responsible for not * adding duplicate paths. diff --git a/ts/structs/OffersContext.mts b/ts/structs/OffersContext.mts index aa3f6a83..9750cbfb 100644 --- a/ts/structs/OffersContext.mts +++ b/ts/structs/OffersContext.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -764,8 +796,8 @@ export class OffersContext extends CommonBase { /** * Utility method to constructs a new InboundPayment-variant OffersContext */ - public static constructor_inbound_payment(payment_hash: Uint8Array): OffersContext { - const ret: bigint = bindings.OffersContext_inbound_payment(bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32))); + public static constructor_inbound_payment(payment_hash: Uint8Array, nonce: Nonce, hmac: Uint8Array): OffersContext { + const ret: bigint = bindings.OffersContext_inbound_payment(bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(nonce), bindings.encodeUint8Array(bindings.check_arr_len(hmac, 32))); const ret_hu_conv: OffersContext = OffersContext.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -868,11 +900,33 @@ export class OffersContext_InboundPayment extends OffersContext { * [`Bolt12Invoice::payment_hash`]: crate::offers::invoice::Bolt12Invoice::payment_hash */ public payment_hash: Uint8Array; + /** + * A nonce used for authenticating that a received [`InvoiceError`] is for a valid + * sent [`Bolt12Invoice`]. + * + * [`InvoiceError`]: crate::offers::invoice_error::InvoiceError + * [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice + */ + public nonce: Nonce; + /** + * Authentication code for the [`PaymentHash`], which should be checked when the context is + * used to log the received [`InvoiceError`]. + * + * [`InvoiceError`]: crate::offers::invoice_error::InvoiceError + */ + public hmac: Uint8Array; /* @internal */ public constructor(ptr: bigint) { super(null, ptr); const payment_hash: number = bindings.LDKOffersContext_InboundPayment_get_payment_hash(ptr); const payment_hash_conv: Uint8Array = bindings.decodeUint8Array(payment_hash); this.payment_hash = payment_hash_conv; + const nonce: bigint = bindings.LDKOffersContext_InboundPayment_get_nonce(ptr); + const nonce_hu_conv: Nonce = new Nonce(null, nonce); + CommonBase.add_ref_from(nonce_hu_conv, this); + this.nonce = nonce_hu_conv; + const hmac: number = bindings.LDKOffersContext_InboundPayment_get_hmac(ptr); + const hmac_conv: Uint8Array = bindings.decodeUint8Array(hmac); + this.hmac = hmac_conv; } } diff --git a/ts/structs/OffersMessage.mts b/ts/structs/OffersMessage.mts index ad0fc28b..e12e4daf 100644 --- a/ts/structs/OffersMessage.mts +++ b/ts/structs/OffersMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OffersMessageHandler.mts b/ts/structs/OffersMessageHandler.mts index 08023eeb..f618028d 100644 --- a/ts/structs/OffersMessageHandler.mts +++ b/ts/structs/OffersMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,14 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OneHopBlindedPathCandidate.mts b/ts/structs/OneHopBlindedPathCandidate.mts index 6cd034d3..067999c4 100644 --- a/ts/structs/OneHopBlindedPathCandidate.mts +++ b/ts/structs/OneHopBlindedPathCandidate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OnionMessage.mts b/ts/structs/OnionMessage.mts index 49620275..054abce2 100644 --- a/ts/structs/OnionMessage.mts +++ b/ts/structs/OnionMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OnionMessageContents.mts b/ts/structs/OnionMessageContents.mts index 293e4c9d..abbc0854 100644 --- a/ts/structs/OnionMessageContents.mts +++ b/ts/structs/OnionMessageContents.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OnionMessageHandler.mts b/ts/structs/OnionMessageHandler.mts index 4723c721..07c27233 100644 --- a/ts/structs/OnionMessageHandler.mts +++ b/ts/structs/OnionMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OnionMessagePath.mts b/ts/structs/OnionMessagePath.mts index 7b21caaa..dfeddbb4 100644 --- a/ts/structs/OnionMessagePath.mts +++ b/ts/structs/OnionMessagePath.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,11 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,11 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OnionMessenger.mts b/ts/structs/OnionMessenger.mts index e252f2ac..8c5f420c 100644 --- a/ts/structs/OnionMessenger.mts +++ b/ts/structs/OnionMessenger.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; @@ -779,14 +811,16 @@ import * as bindings from '../bindings.mjs' * # let custom_message_handler = IgnoringMessageHandler {}; * # let offers_message_handler = IgnoringMessageHandler {}; * # let async_payments_message_handler = IgnoringMessageHandler {}; + * # let dns_resolution_message_handler = IgnoringMessageHandler {}; * Create the onion messenger. This must use the same `keys_manager` as is passed to your * ChannelManager. * let onion_messenger = OnionMessenger::new( * &keys_manager, &keys_manager, logger, &node_id_lookup, message_router, - * &offers_message_handler, &async_payments_message_handler, &custom_message_handler + * &offers_message_handler, &async_payments_message_handler, &dns_resolution_message_handler, + * &custom_message_handler, * ); * - * # #[derive(Debug, Clone)] + * # #[derive(Clone, Debug)] * # struct YourCustomMessage {} * impl Writeable for YourCustomMessage { * \tfn write(&self, w: &mut W) -> Result<(), io::Error> { @@ -836,8 +870,8 @@ export class OnionMessenger extends CommonBase { * Constructs a new `OnionMessenger` to send, forward, and delegate received onion messages to * their respective handlers. */ - public static constructor_new(entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, node_id_lookup: NodeIdLookUp, message_router: MessageRouter, offers_handler: OffersMessageHandler, async_payments_handler: AsyncPaymentsMessageHandler, custom_handler: CustomOnionMessageHandler): OnionMessenger { - const ret: bigint = bindings.OnionMessenger_new(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(node_id_lookup), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(offers_handler), CommonBase.get_ptr_of(async_payments_handler), CommonBase.get_ptr_of(custom_handler)); + public static constructor_new(entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, node_id_lookup: NodeIdLookUp, message_router: MessageRouter, offers_handler: OffersMessageHandler, async_payments_handler: AsyncPaymentsMessageHandler, dns_resolver: DNSResolverMessageHandler, custom_handler: CustomOnionMessageHandler): OnionMessenger { + const ret: bigint = bindings.OnionMessenger_new(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(node_id_lookup), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(offers_handler), CommonBase.get_ptr_of(async_payments_handler), CommonBase.get_ptr_of(dns_resolver), CommonBase.get_ptr_of(custom_handler)); const ret_hu_conv: OnionMessenger = new OnionMessenger(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); CommonBase.add_ref_from(ret_hu_conv, entropy_source); @@ -847,6 +881,7 @@ export class OnionMessenger extends CommonBase { CommonBase.add_ref_from(ret_hu_conv, message_router); CommonBase.add_ref_from(ret_hu_conv, offers_handler); CommonBase.add_ref_from(ret_hu_conv, async_payments_handler); + CommonBase.add_ref_from(ret_hu_conv, dns_resolver); CommonBase.add_ref_from(ret_hu_conv, custom_handler); return ret_hu_conv; } @@ -874,8 +909,8 @@ export class OnionMessenger extends CommonBase { * onion messages are persisted and only persist onion messages for relevant * peers. */ - public static constructor_new_with_offline_peer_interception(entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, node_id_lookup: NodeIdLookUp, message_router: MessageRouter, offers_handler: OffersMessageHandler, async_payments_handler: AsyncPaymentsMessageHandler, custom_handler: CustomOnionMessageHandler): OnionMessenger { - const ret: bigint = bindings.OnionMessenger_new_with_offline_peer_interception(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(node_id_lookup), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(offers_handler), CommonBase.get_ptr_of(async_payments_handler), CommonBase.get_ptr_of(custom_handler)); + public static constructor_new_with_offline_peer_interception(entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, node_id_lookup: NodeIdLookUp, message_router: MessageRouter, offers_handler: OffersMessageHandler, async_payments_handler: AsyncPaymentsMessageHandler, dns_resolver: DNSResolverMessageHandler, custom_handler: CustomOnionMessageHandler): OnionMessenger { + const ret: bigint = bindings.OnionMessenger_new_with_offline_peer_interception(CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), CommonBase.get_ptr_of(node_id_lookup), CommonBase.get_ptr_of(message_router), CommonBase.get_ptr_of(offers_handler), CommonBase.get_ptr_of(async_payments_handler), CommonBase.get_ptr_of(dns_resolver), CommonBase.get_ptr_of(custom_handler)); const ret_hu_conv: OnionMessenger = new OnionMessenger(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); CommonBase.add_ref_from(ret_hu_conv, entropy_source); @@ -885,6 +920,7 @@ export class OnionMessenger extends CommonBase { CommonBase.add_ref_from(ret_hu_conv, message_router); CommonBase.add_ref_from(ret_hu_conv, offers_handler); CommonBase.add_ref_from(ret_hu_conv, async_payments_handler); + CommonBase.add_ref_from(ret_hu_conv, dns_resolver); CommonBase.add_ref_from(ret_hu_conv, custom_handler); return ret_hu_conv; } diff --git a/ts/structs/OnionPacket.mts b/ts/structs/OnionPacket.mts index 8882c5e9..77a41bc1 100644 --- a/ts/structs/OnionPacket.mts +++ b/ts/structs/OnionPacket.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OpenChannel.mts b/ts/structs/OpenChannel.mts index 9b57afcc..9bf50d15 100644 --- a/ts/structs/OpenChannel.mts +++ b/ts/structs/OpenChannel.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OpenChannelV2.mts b/ts/structs/OpenChannelV2.mts index bffd2226..4eb3b75e 100644 --- a/ts/structs/OpenChannelV2.mts +++ b/ts/structs/OpenChannelV2.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,9 +741,11 @@ import * as bindings from '../bindings.mjs' /** - * An open_channel2 message to be sent by or received from the channel initiator. + * An [`open_channel2`] message to be sent by or received from the channel initiator. * * Used in V2 channel establishment + * + * [`open_channel2`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel2-message */ export class OpenChannelV2 extends CommonBase { /* @internal */ diff --git a/ts/structs/Option_APIErrorZ.mts b/ts/structs/Option_APIErrorZ.mts index 595445e6..e96c9fab 100644 --- a/ts/structs/Option_APIErrorZ.mts +++ b/ts/structs/Option_APIErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_AmountZ.mts b/ts/structs/Option_AmountZ.mts index 6b2a0d75..2de30a1b 100644 --- a/ts/structs/Option_AmountZ.mts +++ b/ts/structs/Option_AmountZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Quantity } from '../structs/Quantity.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_BigEndianScalarZ.mts b/ts/structs/Option_BigEndianScalarZ.mts index a5a200d5..3db824c7 100644 --- a/ts/structs/Option_BigEndianScalarZ.mts +++ b/ts/structs/Option_BigEndianScalarZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mts b/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mts new file mode 100644 index 00000000..2f74fe5e --- /dev/null +++ b/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mts @@ -0,0 +1,813 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * An enum which can either contain a crate::c_types::derived::C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ or not + */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + const raw_ty: number = bindings.LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some(ptr); + case 1: return new Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_None(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + /** + * Constructs a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ containing a crate::c_types::derived::C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ + */ + public static constructor_some(o: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_some(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Constructs a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ containing nothing + */ + public static constructor_none(): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_none(); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_clone(this.ptr); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} +/** A Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ of type Some */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some extends Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + public some: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const some: bigint = bindings.LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_Some_get_some(ptr); + const some_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ(null, some); + CommonBase.add_ref_from(some_hu_conv, this); + this.some = some_hu_conv; + } +} +/** A Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ of type None */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ_None extends Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ { + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + } +} diff --git a/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mts b/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mts new file mode 100644 index 00000000..f06396f0 --- /dev/null +++ b/ts/structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mts @@ -0,0 +1,813 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * An enum which can either contain a crate::c_types::derived::C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ or not + */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + const raw_ty: number = bindings.LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some(ptr); + case 1: return new Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_None(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + /** + * Constructs a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ containing a crate::c_types::derived::C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ + */ + public static constructor_some(o: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_some(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Constructs a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ containing nothing + */ + public static constructor_none(): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_none(); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + const ret: bigint = bindings.COption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_clone(this.ptr); + const ret_hu_conv: Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ = Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} +/** A Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ of type Some */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some extends Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + public some: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const some: bigint = bindings.LDKCOption_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_Some_get_some(ptr); + const some_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ(null, some); + CommonBase.add_ref_from(some_hu_conv, this); + this.some = some_hu_conv; + } +} +/** A Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ of type None */ +export class Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ_None extends Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ { + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + } +} diff --git a/ts/structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mts b/ts/structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mts new file mode 100644 index 00000000..3257a5a7 --- /dev/null +++ b/ts/structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mts @@ -0,0 +1,813 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * An enum which can either contain a crate::c_types::derived::C2Tuple_DNSResolverMessageResponseInstructionZ or not + */ +export class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + const raw_ty: number = bindings.LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some(ptr); + case 1: return new Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_None(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + /** + * Constructs a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ containing a crate::c_types::derived::C2Tuple_DNSResolverMessageResponseInstructionZ + */ + public static constructor_some(o: TwoTuple_DNSResolverMessageResponseInstructionZ): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + const ret: bigint = bindings.COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_some(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Option_C2Tuple_DNSResolverMessageResponseInstructionZZ = Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Constructs a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ containing nothing + */ + public static constructor_none(): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + const ret: bigint = bindings.COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_none(); + const ret_hu_conv: Option_C2Tuple_DNSResolverMessageResponseInstructionZZ = Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + const ret: bigint = bindings.COption_C2Tuple_DNSResolverMessageResponseInstructionZZ_clone(this.ptr); + const ret_hu_conv: Option_C2Tuple_DNSResolverMessageResponseInstructionZZ = Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} +/** A Option_C2Tuple_DNSResolverMessageResponseInstructionZZ of type Some */ +export class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some extends Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + public some: TwoTuple_DNSResolverMessageResponseInstructionZ; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const some: bigint = bindings.LDKCOption_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some_get_some(ptr); + const some_hu_conv: TwoTuple_DNSResolverMessageResponseInstructionZ = new TwoTuple_DNSResolverMessageResponseInstructionZ(null, some); + CommonBase.add_ref_from(some_hu_conv, this); + this.some = some_hu_conv; + } +} +/** A Option_C2Tuple_DNSResolverMessageResponseInstructionZZ of type None */ +export class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_None extends Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + } +} diff --git a/ts/structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mts b/ts/structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mts index 0cd3406d..a309b7ed 100644 --- a/ts/structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mts +++ b/ts/structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mts b/ts/structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mts index 181ce7e7..f7d6858e 100644 --- a/ts/structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mts +++ b/ts/structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_PublicKeyChannelIdZZ.mts b/ts/structs/Option_C2Tuple_PublicKeyChannelIdZZ.mts new file mode 100644 index 00000000..f954c03a --- /dev/null +++ b/ts/structs/Option_C2Tuple_PublicKeyChannelIdZZ.mts @@ -0,0 +1,813 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + +/** + * An enum which can either contain a crate::c_types::derived::C2Tuple_PublicKeyChannelIdZ or not + */ +export class Option_C2Tuple_PublicKeyChannelIdZZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { super(ptr, bindings.COption_C2Tuple_PublicKeyChannelIdZZ_free); } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Option_C2Tuple_PublicKeyChannelIdZZ { + const raw_ty: number = bindings.LDKCOption_C2Tuple_PublicKeyChannelIdZZ_ty_from_ptr(ptr); + switch (raw_ty) { + case 0: return new Option_C2Tuple_PublicKeyChannelIdZZ_Some(ptr); + case 1: return new Option_C2Tuple_PublicKeyChannelIdZZ_None(ptr); + default: + throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface + } + } + + /** + * Constructs a new COption_C2Tuple_PublicKeyChannelIdZZ containing a crate::c_types::derived::C2Tuple_PublicKeyChannelIdZ + */ + public static constructor_some(o: TwoTuple_PublicKeyChannelIdZ): Option_C2Tuple_PublicKeyChannelIdZZ { + const ret: bigint = bindings.COption_C2Tuple_PublicKeyChannelIdZZ_some(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Option_C2Tuple_PublicKeyChannelIdZZ = Option_C2Tuple_PublicKeyChannelIdZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Constructs a new COption_C2Tuple_PublicKeyChannelIdZZ containing nothing + */ + public static constructor_none(): Option_C2Tuple_PublicKeyChannelIdZZ { + const ret: bigint = bindings.COption_C2Tuple_PublicKeyChannelIdZZ_none(); + const ret_hu_conv: Option_C2Tuple_PublicKeyChannelIdZZ = Option_C2Tuple_PublicKeyChannelIdZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.COption_C2Tuple_PublicKeyChannelIdZZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new COption_C2Tuple_PublicKeyChannelIdZZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Option_C2Tuple_PublicKeyChannelIdZZ { + const ret: bigint = bindings.COption_C2Tuple_PublicKeyChannelIdZZ_clone(this.ptr); + const ret_hu_conv: Option_C2Tuple_PublicKeyChannelIdZZ = Option_C2Tuple_PublicKeyChannelIdZZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + +} +/** A Option_C2Tuple_PublicKeyChannelIdZZ of type Some */ +export class Option_C2Tuple_PublicKeyChannelIdZZ_Some extends Option_C2Tuple_PublicKeyChannelIdZZ { + public some: TwoTuple_PublicKeyChannelIdZ; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const some: bigint = bindings.LDKCOption_C2Tuple_PublicKeyChannelIdZZ_Some_get_some(ptr); + const some_hu_conv: TwoTuple_PublicKeyChannelIdZ = new TwoTuple_PublicKeyChannelIdZ(null, some); + CommonBase.add_ref_from(some_hu_conv, this); + this.some = some_hu_conv; + } +} +/** A Option_C2Tuple_PublicKeyChannelIdZZ of type None */ +export class Option_C2Tuple_PublicKeyChannelIdZZ_None extends Option_C2Tuple_PublicKeyChannelIdZZ { + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + } +} diff --git a/ts/structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mts b/ts/structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mts index 27df68c4..3d072b6a 100644 --- a/ts/structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mts +++ b/ts/structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mts b/ts/structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mts index b56204ca..f3c27e17 100644 --- a/ts/structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mts +++ b/ts/structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_u64u16ZZ.mts b/ts/structs/Option_C2Tuple_u64u16ZZ.mts index 65bfc828..d21bfc4e 100644 --- a/ts/structs/Option_C2Tuple_u64u16ZZ.mts +++ b/ts/structs/Option_C2Tuple_u64u16ZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C2Tuple_u64u64ZZ.mts b/ts/structs/Option_C2Tuple_u64u64ZZ.mts index 67552e2f..683e6dd4 100644 --- a/ts/structs/Option_C2Tuple_u64u64ZZ.mts +++ b/ts/structs/Option_C2Tuple_u64u64ZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mts b/ts/structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mts index 957860eb..0973beb7 100644 --- a/ts/structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mts +++ b/ts/structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_CVec_SocketAddressZZ.mts b/ts/structs/Option_CVec_SocketAddressZZ.mts index cc6ebf36..bdc161dc 100644 --- a/ts/structs/Option_CVec_SocketAddressZZ.mts +++ b/ts/structs/Option_CVec_SocketAddressZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_CVec_ThirtyTwoBytesZZ.mts b/ts/structs/Option_CVec_ThirtyTwoBytesZZ.mts index ae9231f3..008a6574 100644 --- a/ts/structs/Option_CVec_ThirtyTwoBytesZZ.mts +++ b/ts/structs/Option_CVec_ThirtyTwoBytesZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; import { Quantity } from '../structs/Quantity.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_CVec_u8ZZ.mts b/ts/structs/Option_CVec_u8ZZ.mts index 1cf5c90a..8d7fc81a 100644 --- a/ts/structs/Option_CVec_u8ZZ.mts +++ b/ts/structs/Option_CVec_u8ZZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_ChannelShutdownStateZ.mts b/ts/structs/Option_ChannelShutdownStateZ.mts index 34f1a15c..bfc2f2fa 100644 --- a/ts/structs/Option_ChannelShutdownStateZ.mts +++ b/ts/structs/Option_ChannelShutdownStateZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_ClosureReasonZ.mts b/ts/structs/Option_ClosureReasonZ.mts index 6782b8c7..d9cf75bc 100644 --- a/ts/structs/Option_ClosureReasonZ.mts +++ b/ts/structs/Option_ClosureReasonZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_ECDSASignatureZ.mts b/ts/structs/Option_ECDSASignatureZ.mts index bd81deeb..15e27224 100644 --- a/ts/structs/Option_ECDSASignatureZ.mts +++ b/ts/structs/Option_ECDSASignatureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_i64Z } from '../structs/Option_i64Z.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_EventZ.mts b/ts/structs/Option_EventZ.mts index f985e75e..9010adb8 100644 --- a/ts/structs/Option_EventZ.mts +++ b/ts/structs/Option_EventZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_FilterZ.mts b/ts/structs/Option_FilterZ.mts index df204ba6..a70e6bdd 100644 --- a/ts/structs/Option_FilterZ.mts +++ b/ts/structs/Option_FilterZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_HTLCClaimZ.mts b/ts/structs/Option_HTLCClaimZ.mts index 9891e30d..9a1cae92 100644 --- a/ts/structs/Option_HTLCClaimZ.mts +++ b/ts/structs/Option_HTLCClaimZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_HTLCDestinationZ.mts b/ts/structs/Option_HTLCDestinationZ.mts index 463c7549..9d9b2377 100644 --- a/ts/structs/Option_HTLCDestinationZ.mts +++ b/ts/structs/Option_HTLCDestinationZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_InboundHTLCStateDetailsZ.mts b/ts/structs/Option_InboundHTLCStateDetailsZ.mts index 1d3fc66c..cca56a6f 100644 --- a/ts/structs/Option_InboundHTLCStateDetailsZ.mts +++ b/ts/structs/Option_InboundHTLCStateDetailsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_MaxDustHTLCExposureZ.mts b/ts/structs/Option_MaxDustHTLCExposureZ.mts index 1111d1c4..a69f4c60 100644 --- a/ts/structs/Option_MaxDustHTLCExposureZ.mts +++ b/ts/structs/Option_MaxDustHTLCExposureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_MessageContextZ.mts b/ts/structs/Option_MessageContextZ.mts index ec0e14d6..9f8898ee 100644 --- a/ts/structs/Option_MessageContextZ.mts +++ b/ts/structs/Option_MessageContextZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_MonitorEventZ.mts b/ts/structs/Option_MonitorEventZ.mts index 90f4f5cc..00fe5b06 100644 --- a/ts/structs/Option_MonitorEventZ.mts +++ b/ts/structs/Option_MonitorEventZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_NetworkUpdateZ.mts b/ts/structs/Option_NetworkUpdateZ.mts index 0cafd016..504c2a7d 100644 --- a/ts/structs/Option_NetworkUpdateZ.mts +++ b/ts/structs/Option_NetworkUpdateZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_NodeAnnouncementInfoZ.mts b/ts/structs/Option_NodeAnnouncementInfoZ.mts index 9866143f..9efbe15c 100644 --- a/ts/structs/Option_NodeAnnouncementInfoZ.mts +++ b/ts/structs/Option_NodeAnnouncementInfoZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_OffersContextZ.mts b/ts/structs/Option_OffersContextZ.mts index cb2b2f00..58e7c907 100644 --- a/ts/structs/Option_OffersContextZ.mts +++ b/ts/structs/Option_OffersContextZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_OnionMessageContentsZ.mts b/ts/structs/Option_OnionMessageContentsZ.mts index b8f02c84..735d1289 100644 --- a/ts/structs/Option_OnionMessageContentsZ.mts +++ b/ts/structs/Option_OnionMessageContentsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_OutboundHTLCStateDetailsZ.mts b/ts/structs/Option_OutboundHTLCStateDetailsZ.mts index 5c32fe68..3eae4cb0 100644 --- a/ts/structs/Option_OutboundHTLCStateDetailsZ.mts +++ b/ts/structs/Option_OutboundHTLCStateDetailsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_PathFailureZ.mts b/ts/structs/Option_PathFailureZ.mts index badafac8..4dd75084 100644 --- a/ts/structs/Option_PathFailureZ.mts +++ b/ts/structs/Option_PathFailureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_PaymentContextZ.mts b/ts/structs/Option_PaymentContextZ.mts index 9d99e206..a2effde0 100644 --- a/ts/structs/Option_PaymentContextZ.mts +++ b/ts/structs/Option_PaymentContextZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_PaymentFailureReasonZ.mts b/ts/structs/Option_PaymentFailureReasonZ.mts index 62826ac6..e1739fa5 100644 --- a/ts/structs/Option_PaymentFailureReasonZ.mts +++ b/ts/structs/Option_PaymentFailureReasonZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_C import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_QuantityZ.mts b/ts/structs/Option_QuantityZ.mts index 84a9f885..1f8d4b95 100644 --- a/ts/structs/Option_QuantityZ.mts +++ b/ts/structs/Option_QuantityZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_SocketAddressZ.mts b/ts/structs/Option_SocketAddressZ.mts index e5a40c9b..9c93175a 100644 --- a/ts/structs/Option_SocketAddressZ.mts +++ b/ts/structs/Option_SocketAddressZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_StrZ.mts b/ts/structs/Option_StrZ.mts index db1f73a0..8ed86dfa 100644 --- a/ts/structs/Option_StrZ.mts +++ b/ts/structs/Option_StrZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_ThirtyTwoBytesZ.mts b/ts/structs/Option_ThirtyTwoBytesZ.mts index 2bd94d8c..a7017683 100644 --- a/ts/structs/Option_ThirtyTwoBytesZ.mts +++ b/ts/structs/Option_ThirtyTwoBytesZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_TxOutZ.mts b/ts/structs/Option_TxOutZ.mts index 9a5f30a1..c4f1e555 100644 --- a/ts/structs/Option_TxOutZ.mts +++ b/ts/structs/Option_TxOutZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_TypeZ.mts b/ts/structs/Option_TypeZ.mts index f9e2f237..836ef4d8 100644 --- a/ts/structs/Option_TypeZ.mts +++ b/ts/structs/Option_TypeZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_U128Z.mts b/ts/structs/Option_U128Z.mts index 84602b7f..9dea8d4d 100644 --- a/ts/structs/Option_U128Z.mts +++ b/ts/structs/Option_U128Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_C import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_UtxoLookupZ.mts b/ts/structs/Option_UtxoLookupZ.mts index 09d6840a..6772dbb7 100644 --- a/ts/structs/Option_UtxoLookupZ.mts +++ b/ts/structs/Option_UtxoLookupZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_boolZ.mts b/ts/structs/Option_boolZ.mts index 098e658a..d8cf15ad 100644 --- a/ts/structs/Option_boolZ.mts +++ b/ts/structs/Option_boolZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_f64Z.mts b/ts/structs/Option_f64Z.mts index 2b0eb26d..5297f047 100644 --- a/ts/structs/Option_f64Z.mts +++ b/ts/structs/Option_f64Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_i64Z.mts b/ts/structs/Option_i64Z.mts index dcd776b4..6efdfab2 100644 --- a/ts/structs/Option_i64Z.mts +++ b/ts/structs/Option_i64Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_u16Z.mts b/ts/structs/Option_u16Z.mts index 0a9abf72..7e4266cc 100644 --- a/ts/structs/Option_u16Z.mts +++ b/ts/structs/Option_u16Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_u32Z.mts b/ts/structs/Option_u32Z.mts index 184af7c7..6ef3cab2 100644 --- a/ts/structs/Option_u32Z.mts +++ b/ts/structs/Option_u32Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_u64Z.mts b/ts/structs/Option_u64Z.mts index 9ada9add..a304cd1e 100644 --- a/ts/structs/Option_u64Z.mts +++ b/ts/structs/Option_u64Z.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Option_usizeZ.mts b/ts/structs/Option_usizeZ.mts index 0ed380c3..f405c3bb 100644 --- a/ts/structs/Option_usizeZ.mts +++ b/ts/structs/Option_usizeZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OutPoint.mts b/ts/structs/OutPoint.mts index 16cb24ad..440f2845 100644 --- a/ts/structs/OutPoint.mts +++ b/ts/structs/OutPoint.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OutboundHTLCDetails.mts b/ts/structs/OutboundHTLCDetails.mts index 77473671..87f572d4 100644 --- a/ts/structs/OutboundHTLCDetails.mts +++ b/ts/structs/OutboundHTLCDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OutputSpendStatus.mts b/ts/structs/OutputSpendStatus.mts index e595b393..41e8cf05 100644 --- a/ts/structs/OutputSpendStatus.mts +++ b/ts/structs/OutputSpendStatus.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OutputSpender.mts b/ts/structs/OutputSpender.mts index 9079024f..3bb15327 100644 --- a/ts/structs/OutputSpender.mts +++ b/ts/structs/OutputSpender.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/OutputSweeper.mts b/ts/structs/OutputSweeper.mts index f44c4af9..07fe7989 100644 --- a/ts/structs/OutputSweeper.mts +++ b/ts/structs/OutputSweeper.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/P2PGossipSync.mts b/ts/structs/P2PGossipSync.mts index 48f7b5e3..202d0c36 100644 --- a/ts/structs/P2PGossipSync.mts +++ b/ts/structs/P2PGossipSync.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Packet.mts b/ts/structs/Packet.mts index 4b132b52..4b522d47 100644 --- a/ts/structs/Packet.mts +++ b/ts/structs/Packet.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ParseOrSemanticError.mts b/ts/structs/ParseOrSemanticError.mts index 3961756d..8dadbafb 100644 --- a/ts/structs/ParseOrSemanticError.mts +++ b/ts/structs/ParseOrSemanticError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -786,7 +818,7 @@ export class ParseOrSemanticError_ParseError extends ParseOrSemanticError { public constructor(ptr: bigint) { super(null, ptr); const parse_error: bigint = bindings.LDKParseOrSemanticError_ParseError_get_parse_error(ptr); - const parse_error_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(parse_error); + const parse_error_hu_conv: Bolt11ParseError = new Bolt11ParseError(null, parse_error); CommonBase.add_ref_from(parse_error_hu_conv, this); this.parse_error = parse_error_hu_conv; } diff --git a/ts/structs/ParsedOnionMessageContents.mts b/ts/structs/ParsedOnionMessageContents.mts index f99a0279..d11205e2 100644 --- a/ts/structs/ParsedOnionMessageContents.mts +++ b/ts/structs/ParsedOnionMessageContents.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -719,7 +751,8 @@ export class ParsedOnionMessageContents extends CommonBase { const raw_ty: number = bindings.LDKParsedOnionMessageContents_ty_from_ptr(ptr); switch (raw_ty) { case 0: return new ParsedOnionMessageContents_Offers(ptr); - case 1: return new ParsedOnionMessageContents_Custom(ptr); + case 1: return new ParsedOnionMessageContents_DNSResolver(ptr); + case 2: return new ParsedOnionMessageContents_Custom(ptr); default: throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface } @@ -750,6 +783,16 @@ export class ParsedOnionMessageContents extends CommonBase { return ret_hu_conv; } + /** + * Utility method to constructs a new DNSResolver-variant ParsedOnionMessageContents + */ + public static constructor_dnsresolver(a: DNSResolverMessage): ParsedOnionMessageContents { + const ret: bigint = bindings.ParsedOnionMessageContents_dnsresolver(CommonBase.get_ptr_of(a)); + const ret_hu_conv: ParsedOnionMessageContents = ParsedOnionMessageContents.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + /** * Utility method to constructs a new Custom-variant ParsedOnionMessageContents */ @@ -794,6 +837,18 @@ export class ParsedOnionMessageContents_Offers extends ParsedOnionMessageContent this.offers = offers_hu_conv; } } +/** A ParsedOnionMessageContents of type DNSResolver */ +export class ParsedOnionMessageContents_DNSResolver extends ParsedOnionMessageContents { + public dns_resolver: DNSResolverMessage; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const dns_resolver: bigint = bindings.LDKParsedOnionMessageContents_DNSResolver_get_dns_resolver(ptr); + const dns_resolver_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(dns_resolver); + CommonBase.add_ref_from(dns_resolver_hu_conv, this); + this.dns_resolver = dns_resolver_hu_conv; + } +} /** A ParsedOnionMessageContents of type Custom */ export class ParsedOnionMessageContents_Custom extends ParsedOnionMessageContents { public custom: OnionMessageContents; diff --git a/ts/structs/Path.mts b/ts/structs/Path.mts index db564ebf..12fb1724 100644 --- a/ts/structs/Path.mts +++ b/ts/structs/Path.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PathFailure.mts b/ts/structs/PathFailure.mts index 15970ed7..6ba2d9a4 100644 --- a/ts/structs/PathFailure.mts +++ b/ts/structs/PathFailure.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Payee.mts b/ts/structs/Payee.mts index cf32a35f..df988635 100644 --- a/ts/structs/Payee.mts +++ b/ts/structs/Payee.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PayeePubKey.mts b/ts/structs/PayeePubKey.mts index e3243e83..063062a8 100644 --- a/ts/structs/PayeePubKey.mts +++ b/ts/structs/PayeePubKey.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PaymentConstraints.mts b/ts/structs/PaymentConstraints.mts index 231260d1..062eb1d3 100644 --- a/ts/structs/PaymentConstraints.mts +++ b/ts/structs/PaymentConstraints.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { PaymentRelay } from '../structs/PaymentRelay.mjs'; import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PaymentContext.mts b/ts/structs/PaymentContext.mts index 3447b119..e39016fd 100644 --- a/ts/structs/PaymentContext.mts +++ b/ts/structs/PaymentContext.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -719,9 +751,8 @@ export class PaymentContext extends CommonBase { public static constr_from_ptr(ptr: bigint): PaymentContext { const raw_ty: number = bindings.LDKPaymentContext_ty_from_ptr(ptr); switch (raw_ty) { - case 0: return new PaymentContext_Unknown(ptr); - case 1: return new PaymentContext_Bolt12Offer(ptr); - case 2: return new PaymentContext_Bolt12Refund(ptr); + case 0: return new PaymentContext_Bolt12Offer(ptr); + case 1: return new PaymentContext_Bolt12Refund(ptr); default: throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface } @@ -742,16 +773,6 @@ export class PaymentContext extends CommonBase { return ret_hu_conv; } - /** - * Utility method to constructs a new Unknown-variant PaymentContext - */ - public static constructor_unknown(a: UnknownPaymentContext): PaymentContext { - const ret: bigint = bindings.PaymentContext_unknown(CommonBase.get_ptr_of(a)); - const ret_hu_conv: PaymentContext = PaymentContext.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - /** * Utility method to constructs a new Bolt12Offer-variant PaymentContext */ @@ -800,18 +821,6 @@ export class PaymentContext extends CommonBase { } } -/** A PaymentContext of type Unknown */ -export class PaymentContext_Unknown extends PaymentContext { - public unknown: UnknownPaymentContext; - /* @internal */ - public constructor(ptr: bigint) { - super(null, ptr); - const unknown: bigint = bindings.LDKPaymentContext_Unknown_get_unknown(ptr); - const unknown_hu_conv: UnknownPaymentContext = new UnknownPaymentContext(null, unknown); - CommonBase.add_ref_from(unknown_hu_conv, this); - this.unknown = unknown_hu_conv; - } -} /** A PaymentContext of type Bolt12Offer */ export class PaymentContext_Bolt12Offer extends PaymentContext { public bolt12_offer: Bolt12OfferContext; diff --git a/ts/structs/PaymentForwardNode.mts b/ts/structs/PaymentForwardNode.mts index aef3a1a9..45d6d058 100644 --- a/ts/structs/PaymentForwardNode.mts +++ b/ts/structs/PaymentForwardNode.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PaymentParameters.mts b/ts/structs/PaymentParameters.mts index a40d31b7..2b59f0b7 100644 --- a/ts/structs/PaymentParameters.mts +++ b/ts/structs/PaymentParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PaymentPurpose.mts b/ts/structs/PaymentPurpose.mts index 8b4fbe94..fe40e763 100644 --- a/ts/structs/PaymentPurpose.mts +++ b/ts/structs/PaymentPurpose.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -877,6 +909,10 @@ export class PaymentPurpose_Bolt12OfferPayment extends PaymentPurpose { * The context of the payment such as information about the corresponding [`Offer`] and * [`InvoiceRequest`]. * + * This includes the Human Readable Name which the sender indicated they were paying to, + * for possible recipient disambiguation if you're using a single wildcard DNS entry to + * resolve to many recipients. + * * [`Offer`]: crate::offers::offer::Offer * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest */ diff --git a/ts/structs/PaymentRelay.mts b/ts/structs/PaymentRelay.mts index 6ec28026..9b4ca556 100644 --- a/ts/structs/PaymentRelay.mts +++ b/ts/structs/PaymentRelay.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PeeledOnion.mts b/ts/structs/PeeledOnion.mts index 8467d8e2..bee70209 100644 --- a/ts/structs/PeeledOnion.mts +++ b/ts/structs/PeeledOnion.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PeerDetails.mts b/ts/structs/PeerDetails.mts index 4f09cc34..47d84a2f 100644 --- a/ts/structs/PeerDetails.mts +++ b/ts/structs/PeerDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PeerHandleError.mts b/ts/structs/PeerHandleError.mts index bb0e69ac..7e8c99c2 100644 --- a/ts/structs/PeerHandleError.mts +++ b/ts/structs/PeerHandleError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PeerManager.mts b/ts/structs/PeerManager.mts index 85da4498..9b0378c1 100644 --- a/ts/structs/PeerManager.mts +++ b/ts/structs/PeerManager.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -892,8 +924,11 @@ export class PeerManager extends CommonBase { * May call [`send_data`] on [`SocketDescriptor`]s. Thus, be very careful with reentrancy * issues! * - * You don't have to call this function explicitly if you are using [`lightning-net-tokio`] - * or one of the other clients provided in our language bindings. + * This should be called any time we may have messages to send. It is automatically called by + * [`lightning-net-tokio`] after processing incoming messages, and by + * [`lightning-background-processor`] when channel state has changed. Therefore, If you are not + * using both [`lightning-net-tokio`] and [`lightning-background-processor`], you may need to call + * this function manually to prevent messages from being delayed. * * Note that if there are any other calls to this function waiting on lock(s) this may return * without doing any work. All available events that need handling will be handled before the diff --git a/ts/structs/PendingHTLCInfo.mts b/ts/structs/PendingHTLCInfo.mts index 8504b4d0..ff16696b 100644 --- a/ts/structs/PendingHTLCInfo.mts +++ b/ts/structs/PendingHTLCInfo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PendingHTLCRouting.mts b/ts/structs/PendingHTLCRouting.mts index b0f55b47..5e2b5e8c 100644 --- a/ts/structs/PendingHTLCRouting.mts +++ b/ts/structs/PendingHTLCRouting.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -762,8 +794,8 @@ export class PendingHTLCRouting extends CommonBase { /** * Utility method to constructs a new ReceiveKeysend-variant PendingHTLCRouting */ - public static constructor_receive_keysend(payment_data: FinalOnionHopData, payment_preimage: Uint8Array, payment_metadata: Option_CVec_u8ZZ, incoming_cltv_expiry: number, custom_tlvs: TwoTuple_u64CVec_u8ZZ[], requires_blinded_error: boolean): PendingHTLCRouting { - const ret: bigint = bindings.PendingHTLCRouting_receive_keysend(CommonBase.get_ptr_of(payment_data), bindings.encodeUint8Array(bindings.check_arr_len(payment_preimage, 32)), CommonBase.get_ptr_of(payment_metadata), incoming_cltv_expiry, bindings.encodeUint64Array(custom_tlvs.map(custom_tlvs_conv_23 => CommonBase.get_ptr_of(custom_tlvs_conv_23))), requires_blinded_error); + public static constructor_receive_keysend(payment_data: FinalOnionHopData, payment_preimage: Uint8Array, payment_metadata: Option_CVec_u8ZZ, incoming_cltv_expiry: number, custom_tlvs: TwoTuple_u64CVec_u8ZZ[], requires_blinded_error: boolean, has_recipient_created_payment_secret: boolean): PendingHTLCRouting { + const ret: bigint = bindings.PendingHTLCRouting_receive_keysend(CommonBase.get_ptr_of(payment_data), bindings.encodeUint8Array(bindings.check_arr_len(payment_preimage, 32)), CommonBase.get_ptr_of(payment_metadata), incoming_cltv_expiry, bindings.encodeUint64Array(custom_tlvs.map(custom_tlvs_conv_23 => CommonBase.get_ptr_of(custom_tlvs_conv_23))), requires_blinded_error, has_recipient_created_payment_secret); const ret_hu_conv: PendingHTLCRouting = PendingHTLCRouting.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -946,6 +978,12 @@ export class PendingHTLCRouting_ReceiveKeysend extends PendingHTLCRouting { * Set if this HTLC is the final hop in a multi-hop blinded path. */ public requires_blinded_error: boolean; + /** + * Set if we are receiving a keysend to a blinded path, meaning we created the + * [`PaymentSecret`] and should verify it using our + * [`NodeSigner::get_inbound_payment_key`]. + */ + public has_recipient_created_payment_secret: boolean; /* @internal */ public constructor(ptr: bigint) { super(null, ptr); @@ -973,5 +1011,6 @@ export class PendingHTLCRouting_ReceiveKeysend extends PendingHTLCRouting { bindings.freeWasmMemory(custom_tlvs) this.custom_tlvs = custom_tlvs_conv_23_arr; this.requires_blinded_error = bindings.LDKPendingHTLCRouting_ReceiveKeysend_get_requires_blinded_error(ptr); + this.has_recipient_created_payment_secret = bindings.LDKPendingHTLCRouting_ReceiveKeysend_get_has_recipient_created_payment_secret(ptr); } } diff --git a/ts/structs/Persist.mts b/ts/structs/Persist.mts index c5c1c271..432952e8 100644 --- a/ts/structs/Persist.mts +++ b/ts/structs/Persist.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -775,6 +807,13 @@ export interface PersistInterface { * * Archiving the data in a backup location (rather than deleting it fully) is useful for * hedging against data loss in case of unexpected failure. + * + * Note that if a crash occurs during the archiving process, and its implementation is not + * atomic, a state may emerge with the archival operation only being partially complete. In + * that scenario, the monitor may still be loaded on startup pending successful completion of + * the archive process. Additionally, because the archive operation could be retried on + * restart, this method must in that case be idempotent, ensuring it can handle scenarios where + * the monitor already exists in the archive. */ archive_persisted_channel(channel_funding_outpoint: OutPoint): void; } @@ -963,6 +1002,13 @@ export class Persist extends CommonBase { * * Archiving the data in a backup location (rather than deleting it fully) is useful for * hedging against data loss in case of unexpected failure. + * + * Note that if a crash occurs during the archiving process, and its implementation is not + * atomic, a state may emerge with the archival operation only being partially complete. In + * that scenario, the monitor may still be loaded on startup pending successful completion of + * the archive process. Additionally, because the archive operation could be retried on + * restart, this method must in that case be idempotent, ensuring it can handle scenarios where + * the monitor already exists in the archive. */ public archive_persisted_channel(channel_funding_outpoint: OutPoint): void { bindings.Persist_archive_persisted_channel(this.ptr, CommonBase.get_ptr_of(channel_funding_outpoint)); diff --git a/ts/structs/Persister.mts b/ts/structs/Persister.mts index 31744936..7f5639dc 100644 --- a/ts/structs/Persister.mts +++ b/ts/structs/Persister.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PhantomKeysManager.mts b/ts/structs/PhantomKeysManager.mts index 669606d0..12218c58 100644 --- a/ts/structs/PhantomKeysManager.mts +++ b/ts/structs/PhantomKeysManager.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWr import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; import { KeysManager } from '../structs/KeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PhantomRouteHints.mts b/ts/structs/PhantomRouteHints.mts index f8e51d61..f20414e1 100644 --- a/ts/structs/PhantomRouteHints.mts +++ b/ts/structs/PhantomRouteHints.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Ping.mts b/ts/structs/Ping.mts index 369fb59d..26177c80 100644 --- a/ts/structs/Ping.mts +++ b/ts/structs/Ping.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Pong.mts b/ts/structs/Pong.mts index 26f7a791..927ac9cd 100644 --- a/ts/structs/Pong.mts +++ b/ts/structs/Pong.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PositiveTimestamp.mts b/ts/structs/PositiveTimestamp.mts index 1bc127c1..2835a152 100644 --- a/ts/structs/PositiveTimestamp.mts +++ b/ts/structs/PositiveTimestamp.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PrintableString.mts b/ts/structs/PrintableString.mts index ec206647..58f15d04 100644 --- a/ts/structs/PrintableString.mts +++ b/ts/structs/PrintableString.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PrivateHopCandidate.mts b/ts/structs/PrivateHopCandidate.mts index 4d2dea0e..abcdf578 100644 --- a/ts/structs/PrivateHopCandidate.mts +++ b/ts/structs/PrivateHopCandidate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/PrivateRoute.mts b/ts/structs/PrivateRoute.mts index a85be3a5..a0dd12b7 100644 --- a/ts/structs/PrivateRoute.mts +++ b/ts/structs/PrivateRoute.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ProbabilisticScorer.mts b/ts/structs/ProbabilisticScorer.mts index 3a1a6d23..00771a0d 100644 --- a/ts/structs/ProbabilisticScorer.mts +++ b/ts/structs/ProbabilisticScorer.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -823,12 +855,34 @@ export class ProbabilisticScorer extends CommonBase { * with `scid` towards the given `target` node, based on the historical estimated liquidity * bounds. * + * Returns `None` if: + * - the given channel is not in the network graph, the provided `target` is not a party to + * the channel, or we don't have forwarding parameters for either direction in the channel. + * - `allow_fallback_estimation` is *not* set and there is no (or insufficient) historical + * data for the given channel. + * * These are the same bounds as returned by * [`Self::historical_estimated_channel_liquidity_probabilities`] (but not those returned by * [`Self::estimated_channel_liquidity_range`]). */ - public historical_estimated_payment_success_probability(scid: bigint, target: NodeId, amount_msat: bigint, params: ProbabilisticScoringFeeParameters): Option_f64Z { - const ret: bigint = bindings.ProbabilisticScorer_historical_estimated_payment_success_probability(this.ptr, scid, CommonBase.get_ptr_of(target), amount_msat, CommonBase.get_ptr_of(params)); + public historical_estimated_payment_success_probability(scid: bigint, target: NodeId, amount_msat: bigint, params: ProbabilisticScoringFeeParameters, allow_fallback_estimation: boolean): Option_f64Z { + const ret: bigint = bindings.ProbabilisticScorer_historical_estimated_payment_success_probability(this.ptr, scid, CommonBase.get_ptr_of(target), amount_msat, CommonBase.get_ptr_of(params), allow_fallback_estimation); + const ret_hu_conv: Option_f64Z = Option_f64Z.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + CommonBase.add_ref_from(this, target); + CommonBase.add_ref_from(this, params); + return ret_hu_conv; + } + + /** + * Query the probability of payment success sending the given `amount_msat` over the channel + * with `scid` towards the given `target` node, based on the live estimated liquidity bounds. + * + * This will return `Some` for any channel which is present in the [`NetworkGraph`], including + * if we have no bound information beside the channel's capacity. + */ + public live_estimated_payment_success_probability(scid: bigint, target: NodeId, amount_msat: bigint, params: ProbabilisticScoringFeeParameters): Option_f64Z { + const ret: bigint = bindings.ProbabilisticScorer_live_estimated_payment_success_probability(this.ptr, scid, CommonBase.get_ptr_of(target), amount_msat, CommonBase.get_ptr_of(params)); const ret_hu_conv: Option_f64Z = Option_f64Z.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, this); CommonBase.add_ref_from(this, target); diff --git a/ts/structs/ProbabilisticScoringDecayParameters.mts b/ts/structs/ProbabilisticScoringDecayParameters.mts index 42fd5c08..8388adb4 100644 --- a/ts/structs/ProbabilisticScoringDecayParameters.mts +++ b/ts/structs/ProbabilisticScoringDecayParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWr import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -770,11 +802,11 @@ export class ProbabilisticScoringDecayParameters extends CommonBase { * liquidity bounds are 200,000 sats and 600,000 sats, after this amount of time the upper * and lower liquidity bounds will be decayed to 100,000 and 800,000 sats. * - * Default value: 6 hours + * Default value: 30 minutes * * # Note * - * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * When not built with the `std` feature, time will never elapse. Therefore, the channel * liquidity knowledge will never decay except when the bounds cross. */ public get_liquidity_offset_half_life(): bigint { @@ -796,11 +828,11 @@ export class ProbabilisticScoringDecayParameters extends CommonBase { * liquidity bounds are 200,000 sats and 600,000 sats, after this amount of time the upper * and lower liquidity bounds will be decayed to 100,000 and 800,000 sats. * - * Default value: 6 hours + * Default value: 30 minutes * * # Note * - * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * When not built with the `std` feature, time will never elapse. Therefore, the channel * liquidity knowledge will never decay except when the bounds cross. */ public set_liquidity_offset_half_life(val: bigint): void { diff --git a/ts/structs/ProbabilisticScoringFeeParameters.mts b/ts/structs/ProbabilisticScoringFeeParameters.mts index 7e50a710..2786eb02 100644 --- a/ts/structs/ProbabilisticScoringFeeParameters.mts +++ b/ts/structs/ProbabilisticScoringFeeParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -726,7 +758,13 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { /** * A fixed penalty in msats to apply to each channel. * - * Default value: 500 msat + * In testing, a value of roughly 1/10th of [`historical_liquidity_penalty_multiplier_msat`] + * (implying scaling all estimated probabilities down by a factor of ~79%) resulted in the + * most accurate total success probabilities. + * + * Default value: 1,024 msat (i.e. we're willing to pay 1 sat to avoid each additional hop). + * + * [`historical_liquidity_penalty_multiplier_msat`]: Self::historical_liquidity_penalty_multiplier_msat */ public get_base_penalty_msat(): bigint { const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_base_penalty_msat(this.ptr); @@ -736,26 +774,38 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { /** * A fixed penalty in msats to apply to each channel. * - * Default value: 500 msat + * In testing, a value of roughly 1/10th of [`historical_liquidity_penalty_multiplier_msat`] + * (implying scaling all estimated probabilities down by a factor of ~79%) resulted in the + * most accurate total success probabilities. + * + * Default value: 1,024 msat (i.e. we're willing to pay 1 sat to avoid each additional hop). + * + * [`historical_liquidity_penalty_multiplier_msat`]: Self::historical_liquidity_penalty_multiplier_msat */ public set_base_penalty_msat(val: bigint): void { bindings.ProbabilisticScoringFeeParameters_set_base_penalty_msat(this.ptr, val); } /** - * A multiplier used with the total amount flowing over a channel to calculate a fixed penalty - * applied to each channel, in excess of the [`base_penalty_msat`]. + * A multiplier used with the payment amount to calculate a fixed penalty applied to each + * channel, in excess of the [`base_penalty_msat`]. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e., * fees plus penalty) for large payments. The penalty is computed as the product of this - * multiplier and `2^30`ths of the total amount flowing over a channel (i.e. the payment - * amount plus the amount of any other HTLCs flowing we sent over the same channel). + * multiplier and `2^30`ths of the payment amount. * * ie `base_penalty_amount_multiplier_msat * amount_msat / 2^30` * - * Default value: 8,192 msat + * In testing, a value of roughly ~100x (1/10th * 2^10) of + * [`historical_liquidity_penalty_amount_multiplier_msat`] (implying scaling all estimated + * probabilities down by a factor of ~79%) resulted in the most accurate total success + * probabilities. + * + * Default value: 131,072 msat (i.e. we're willing to pay 0.125bps to avoid each additional + * hop). * * [`base_penalty_msat`]: Self::base_penalty_msat + * [`historical_liquidity_penalty_amount_multiplier_msat`]: Self::historical_liquidity_penalty_amount_multiplier_msat */ public get_base_penalty_amount_multiplier_msat(): bigint { const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_base_penalty_amount_multiplier_msat(this.ptr); @@ -763,19 +813,25 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { } /** - * A multiplier used with the total amount flowing over a channel to calculate a fixed penalty - * applied to each channel, in excess of the [`base_penalty_msat`]. + * A multiplier used with the payment amount to calculate a fixed penalty applied to each + * channel, in excess of the [`base_penalty_msat`]. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e., * fees plus penalty) for large payments. The penalty is computed as the product of this - * multiplier and `2^30`ths of the total amount flowing over a channel (i.e. the payment - * amount plus the amount of any other HTLCs flowing we sent over the same channel). + * multiplier and `2^30`ths of the payment amount. * * ie `base_penalty_amount_multiplier_msat * amount_msat / 2^30` * - * Default value: 8,192 msat + * In testing, a value of roughly ~100x (1/10th * 2^10) of + * [`historical_liquidity_penalty_amount_multiplier_msat`] (implying scaling all estimated + * probabilities down by a factor of ~79%) resulted in the most accurate total success + * probabilities. + * + * Default value: 131,072 msat (i.e. we're willing to pay 0.125bps to avoid each additional + * hop). * * [`base_penalty_msat`]: Self::base_penalty_msat + * [`historical_liquidity_penalty_amount_multiplier_msat`]: Self::historical_liquidity_penalty_amount_multiplier_msat */ public set_base_penalty_amount_multiplier_msat(val: bigint): void { bindings.ProbabilisticScoringFeeParameters_set_base_penalty_amount_multiplier_msat(this.ptr, val); @@ -795,9 +851,14 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * * `-log10(success_probability) * liquidity_penalty_multiplier_msat` * - * Default value: 30,000 msat + * In testing, this scoring model performs much worse than the historical scoring model + * configured with the [`historical_liquidity_penalty_multiplier_msat`] and thus is disabled + * by default. + * + * Default value: 0 msat * * [`liquidity_offset_half_life`]: ProbabilisticScoringDecayParameters::liquidity_offset_half_life + * [`historical_liquidity_penalty_multiplier_msat`]: Self::historical_liquidity_penalty_multiplier_msat */ public get_liquidity_penalty_multiplier_msat(): bigint { const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_liquidity_penalty_multiplier_msat(this.ptr); @@ -818,23 +879,28 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * * `-log10(success_probability) * liquidity_penalty_multiplier_msat` * - * Default value: 30,000 msat + * In testing, this scoring model performs much worse than the historical scoring model + * configured with the [`historical_liquidity_penalty_multiplier_msat`] and thus is disabled + * by default. + * + * Default value: 0 msat * * [`liquidity_offset_half_life`]: ProbabilisticScoringDecayParameters::liquidity_offset_half_life + * [`historical_liquidity_penalty_multiplier_msat`]: Self::historical_liquidity_penalty_multiplier_msat */ public set_liquidity_penalty_multiplier_msat(val: bigint): void { bindings.ProbabilisticScoringFeeParameters_set_liquidity_penalty_multiplier_msat(this.ptr, val); } /** - * A multiplier used in conjunction with the total amount flowing over a channel and the - * negative `log10` of the channel's success probability for the payment, as determined by our - * latest estimates of the channel's liquidity, to determine the amount penalty. + * A multiplier used in conjunction with the payment amount and the negative `log10` of the + * channel's success probability for the total amount flowing over a channel, as determined by + * our latest estimates of the channel's liquidity, to determine the amount penalty. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e., * fees plus penalty) for large payments. The penalty is computed as the product of this - * multiplier and `2^20`ths of the amount flowing over this channel, weighted by the negative - * `log10` of the success probability. + * multiplier and `2^20`ths of the payment amount, weighted by the negative `log10` of the + * success probability. * * `-log10(success_probability) * liquidity_penalty_amount_multiplier_msat * amount_msat / 2^20` * @@ -844,7 +910,13 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * probabilities, the multiplier will have a decreasing effect as the negative `log10` will * fall below `1`. * - * Default value: 192 msat + * In testing, this scoring model performs much worse than the historical scoring model + * configured with the [`historical_liquidity_penalty_amount_multiplier_msat`] and thus is + * disabled by default. + * + * Default value: 0 msat + * + * [`historical_liquidity_penalty_amount_multiplier_msat`]: Self::historical_liquidity_penalty_amount_multiplier_msat */ public get_liquidity_penalty_amount_multiplier_msat(): bigint { const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_liquidity_penalty_amount_multiplier_msat(this.ptr); @@ -852,14 +924,14 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { } /** - * A multiplier used in conjunction with the total amount flowing over a channel and the - * negative `log10` of the channel's success probability for the payment, as determined by our - * latest estimates of the channel's liquidity, to determine the amount penalty. + * A multiplier used in conjunction with the payment amount and the negative `log10` of the + * channel's success probability for the total amount flowing over a channel, as determined by + * our latest estimates of the channel's liquidity, to determine the amount penalty. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e., * fees plus penalty) for large payments. The penalty is computed as the product of this - * multiplier and `2^20`ths of the amount flowing over this channel, weighted by the negative - * `log10` of the success probability. + * multiplier and `2^20`ths of the payment amount, weighted by the negative `log10` of the + * success probability. * * `-log10(success_probability) * liquidity_penalty_amount_multiplier_msat * amount_msat / 2^20` * @@ -869,7 +941,13 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * probabilities, the multiplier will have a decreasing effect as the negative `log10` will * fall below `1`. * - * Default value: 192 msat + * In testing, this scoring model performs much worse than the historical scoring model + * configured with the [`historical_liquidity_penalty_amount_multiplier_msat`] and thus is + * disabled by default. + * + * Default value: 0 msat + * + * [`historical_liquidity_penalty_amount_multiplier_msat`]: Self::historical_liquidity_penalty_amount_multiplier_msat */ public set_liquidity_penalty_amount_multiplier_msat(val: bigint): void { bindings.ProbabilisticScoringFeeParameters_set_liquidity_penalty_amount_multiplier_msat(this.ptr, val); @@ -887,7 +965,8 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * track which of several buckets those bounds fall into, exponentially decaying the * probability of each bucket as new samples are added. * - * Default value: 10,000 msat + * Default value: 10,000 msat (i.e. willing to pay 1 sat to avoid an 80% probability channel, + * or 6 sats to avoid a 25% probability channel). * * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat */ @@ -908,7 +987,8 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * track which of several buckets those bounds fall into, exponentially decaying the * probability of each bucket as new samples are added. * - * Default value: 10,000 msat + * Default value: 10,000 msat (i.e. willing to pay 1 sat to avoid an 80% probability channel, + * or 6 sats to avoid a 25% probability channel). * * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat */ @@ -917,15 +997,14 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { } /** - * A multiplier used in conjunction with the total amount flowing over a channel and the - * negative `log10` of the channel's success probability for the payment, as determined based - * on the history of our estimates of the channel's available liquidity, to determine a + * A multiplier used in conjunction with the payment amount and the negative `log10` of the + * channel's success probability for the total amount flowing over a channel, as determined + * based on the history of our estimates of the channel's available liquidity, to determine a * penalty. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost for * large payments. The penalty is computed as the product of this multiplier and `2^20`ths - * of the amount flowing over this channel, weighted by the negative `log10` of the success - * probability. + * of the payment amount, weighted by the negative `log10` of the success probability. * * This penalty is similar to [`liquidity_penalty_amount_multiplier_msat`], however, instead * of using only our latest estimate for the current liquidity available in the channel, it @@ -934,7 +1013,9 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * channel, we track which of several buckets those bounds fall into, exponentially decaying * the probability of each bucket as new samples are added. * - * Default value: 64 msat + * Default value: 1,250 msat (i.e. willing to pay about 0.125 bps per hop to avoid 78% + * probability channels, or 0.5bps to avoid a 38% probability + * channel). * * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat */ @@ -944,15 +1025,14 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { } /** - * A multiplier used in conjunction with the total amount flowing over a channel and the - * negative `log10` of the channel's success probability for the payment, as determined based - * on the history of our estimates of the channel's available liquidity, to determine a + * A multiplier used in conjunction with the payment amount and the negative `log10` of the + * channel's success probability for the total amount flowing over a channel, as determined + * based on the history of our estimates of the channel's available liquidity, to determine a * penalty. * * The purpose of the amount penalty is to avoid having fees dominate the channel cost for * large payments. The penalty is computed as the product of this multiplier and `2^20`ths - * of the amount flowing over this channel, weighted by the negative `log10` of the success - * probability. + * of the payment amount, weighted by the negative `log10` of the success probability. * * This penalty is similar to [`liquidity_penalty_amount_multiplier_msat`], however, instead * of using only our latest estimate for the current liquidity available in the channel, it @@ -961,7 +1041,9 @@ export class ProbabilisticScoringFeeParameters extends CommonBase { * channel, we track which of several buckets those bounds fall into, exponentially decaying * the probability of each bucket as new samples are added. * - * Default value: 64 msat + * Default value: 1,250 msat (i.e. willing to pay about 0.125 bps per hop to avoid 78% + * probability channels, or 0.5bps to avoid a 38% probability + * channel). * * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat */ diff --git a/ts/structs/ProbeSendFailure.mts b/ts/structs/ProbeSendFailure.mts index 9aa2183b..2790ab30 100644 --- a/ts/structs/ProbeSendFailure.mts +++ b/ts/structs/ProbeSendFailure.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -720,7 +752,8 @@ export class ProbeSendFailure extends CommonBase { const raw_ty: number = bindings.LDKProbeSendFailure_ty_from_ptr(ptr); switch (raw_ty) { case 0: return new ProbeSendFailure_RouteNotFound(ptr); - case 1: return new ProbeSendFailure_SendingFailed(ptr); + case 1: return new ProbeSendFailure_ParameterError(ptr); + case 2: return new ProbeSendFailure_DuplicateProbe(ptr); default: throw new Error('oops, this should be unreachable'); // Unreachable without extending the (internal) bindings interface } @@ -752,10 +785,20 @@ export class ProbeSendFailure extends CommonBase { } /** - * Utility method to constructs a new SendingFailed-variant ProbeSendFailure + * Utility method to constructs a new ParameterError-variant ProbeSendFailure + */ + public static constructor_parameter_error(a: APIError): ProbeSendFailure { + const ret: bigint = bindings.ProbeSendFailure_parameter_error(CommonBase.get_ptr_of(a)); + const ret_hu_conv: ProbeSendFailure = ProbeSendFailure.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + /** + * Utility method to constructs a new DuplicateProbe-variant ProbeSendFailure */ - public static constructor_sending_failed(a: PaymentSendFailure): ProbeSendFailure { - const ret: bigint = bindings.ProbeSendFailure_sending_failed(CommonBase.get_ptr_of(a)); + public static constructor_duplicate_probe(): ProbeSendFailure { + const ret: bigint = bindings.ProbeSendFailure_duplicate_probe(); const ret_hu_conv: ProbeSendFailure = ProbeSendFailure.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; @@ -778,15 +821,22 @@ export class ProbeSendFailure_RouteNotFound extends ProbeSendFailure { super(null, ptr); } } -/** A ProbeSendFailure of type SendingFailed */ -export class ProbeSendFailure_SendingFailed extends ProbeSendFailure { - public sending_failed: PaymentSendFailure; +/** A ProbeSendFailure of type ParameterError */ +export class ProbeSendFailure_ParameterError extends ProbeSendFailure { + public parameter_error: APIError; + /* @internal */ + public constructor(ptr: bigint) { + super(null, ptr); + const parameter_error: bigint = bindings.LDKProbeSendFailure_ParameterError_get_parameter_error(ptr); + const parameter_error_hu_conv: APIError = APIError.constr_from_ptr(parameter_error); + CommonBase.add_ref_from(parameter_error_hu_conv, this); + this.parameter_error = parameter_error_hu_conv; + } +} +/** A ProbeSendFailure of type DuplicateProbe */ +export class ProbeSendFailure_DuplicateProbe extends ProbeSendFailure { /* @internal */ public constructor(ptr: bigint) { super(null, ptr); - const sending_failed: bigint = bindings.LDKProbeSendFailure_SendingFailed_get_sending_failed(ptr); - const sending_failed_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(sending_failed); - CommonBase.add_ref_from(sending_failed_hu_conv, this); - this.sending_failed = sending_failed_hu_conv; } } diff --git a/ts/structs/PublicHopCandidate.mts b/ts/structs/PublicHopCandidate.mts index 61ae83d9..9d26afee 100644 --- a/ts/structs/PublicHopCandidate.mts +++ b/ts/structs/PublicHopCandidate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Quantity.mts b/ts/structs/Quantity.mts index 8e73c389..1aa36e0a 100644 --- a/ts/structs/Quantity.mts +++ b/ts/structs/Quantity.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/QueryChannelRange.mts b/ts/structs/QueryChannelRange.mts index 1a798aa5..33d9708e 100644 --- a/ts/structs/QueryChannelRange.mts +++ b/ts/structs/QueryChannelRange.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/QueryShortChannelIds.mts b/ts/structs/QueryShortChannelIds.mts index ab21e426..dd664a4f 100644 --- a/ts/structs/QueryShortChannelIds.mts +++ b/ts/structs/QueryShortChannelIds.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RandomBytes.mts b/ts/structs/RandomBytes.mts index 7629b1f8..99acd955 100644 --- a/ts/structs/RandomBytes.mts +++ b/ts/structs/RandomBytes.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWr import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RapidGossipSync.mts b/ts/structs/RapidGossipSync.mts index 9e357042..4a3432ff 100644 --- a/ts/structs/RapidGossipSync.mts +++ b/ts/structs/RapidGossipSync.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RawBolt11Invoice.mts b/ts/structs/RawBolt11Invoice.mts index a28438f1..c6d4ac7c 100644 --- a/ts/structs/RawBolt11Invoice.mts +++ b/ts/structs/RawBolt11Invoice.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,7 +319,7 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RawDataPart.mts b/ts/structs/RawDataPart.mts index 6d863d3e..e5790cd3 100644 --- a/ts/structs/RawDataPart.mts +++ b/ts/structs/RawDataPart.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ReadOnlyNetworkGraph.mts b/ts/structs/ReadOnlyNetworkGraph.mts index 05499e1a..9e6f4085 100644 --- a/ts/structs/ReadOnlyNetworkGraph.mts +++ b/ts/structs/ReadOnlyNetworkGraph.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ReceiveTlvs.mts b/ts/structs/ReceiveTlvs.mts index c623e1c0..a2e66479 100644 --- a/ts/structs/ReceiveTlvs.mts +++ b/ts/structs/ReceiveTlvs.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -711,6 +743,8 @@ import * as bindings from '../bindings.mjs' /** * Data to construct a [`BlindedHop`] for receiving a payment. This payload is custom to LDK and * may not be valid if received by another lightning implementation. + * + * Can only be constructed by calling [`UnauthenticatedReceiveTlvs::authenticate`]. */ export class ReceiveTlvs extends CommonBase { /* @internal */ @@ -718,66 +752,6 @@ export class ReceiveTlvs extends CommonBase { super(ptr, bindings.ReceiveTlvs_free); } - /** - * Used to authenticate the sender of a payment to the receiver and tie MPP HTLCs together. - */ - public get_payment_secret(): Uint8Array { - const ret: number = bindings.ReceiveTlvs_get_payment_secret(this.ptr); - const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); - return ret_conv; - } - - /** - * Used to authenticate the sender of a payment to the receiver and tie MPP HTLCs together. - */ - public set_payment_secret(val: Uint8Array): void { - bindings.ReceiveTlvs_set_payment_secret(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 32))); - } - - /** - * Constraints for the receiver of this payment. - */ - public get_payment_constraints(): PaymentConstraints { - const ret: bigint = bindings.ReceiveTlvs_get_payment_constraints(this.ptr); - const ret_hu_conv: PaymentConstraints = new PaymentConstraints(null, ret); - CommonBase.add_ref_from(ret_hu_conv, this); - return ret_hu_conv; - } - - /** - * Constraints for the receiver of this payment. - */ - public set_payment_constraints(val: PaymentConstraints): void { - bindings.ReceiveTlvs_set_payment_constraints(this.ptr, CommonBase.get_ptr_of(val)); - } - - /** - * Context for the receiver of this payment. - */ - public get_payment_context(): PaymentContext { - const ret: bigint = bindings.ReceiveTlvs_get_payment_context(this.ptr); - const ret_hu_conv: PaymentContext = PaymentContext.constr_from_ptr(ret); - CommonBase.add_ref_from(ret_hu_conv, this); - return ret_hu_conv; - } - - /** - * Context for the receiver of this payment. - */ - public set_payment_context(val: PaymentContext): void { - bindings.ReceiveTlvs_set_payment_context(this.ptr, CommonBase.get_ptr_of(val)); - } - - /** - * Constructs a new ReceiveTlvs given each field - */ - public static constructor_new(payment_secret_arg: Uint8Array, payment_constraints_arg: PaymentConstraints, payment_context_arg: PaymentContext): ReceiveTlvs { - const ret: bigint = bindings.ReceiveTlvs_new(bindings.encodeUint8Array(bindings.check_arr_len(payment_secret_arg, 32)), CommonBase.get_ptr_of(payment_constraints_arg), CommonBase.get_ptr_of(payment_context_arg)); - const ret_hu_conv: ReceiveTlvs = new ReceiveTlvs(null, ret); - CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); - return ret_hu_conv; - } - public clone_ptr(): bigint { const ret: bigint = bindings.ReceiveTlvs_clone_ptr(this.ptr); return ret; @@ -793,6 +767,16 @@ export class ReceiveTlvs extends CommonBase { return ret_hu_conv; } + /** + * Returns the underlying TLVs. + */ + public tlvs(): UnauthenticatedReceiveTlvs { + const ret: bigint = bindings.ReceiveTlvs_tlvs(this.ptr); + const ret_hu_conv: UnauthenticatedReceiveTlvs = new UnauthenticatedReceiveTlvs(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Serialize the ReceiveTlvs object into a byte array which can be read by ReceiveTlvs_read */ diff --git a/ts/structs/RecentPaymentDetails.mts b/ts/structs/RecentPaymentDetails.mts index f2ff0e6f..5de7baf6 100644 --- a/ts/structs/RecentPaymentDetails.mts +++ b/ts/structs/RecentPaymentDetails.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -785,8 +817,8 @@ export class RecentPaymentDetails extends CommonBase { /** A RecentPaymentDetails of type AwaitingInvoice */ export class RecentPaymentDetails_AwaitingInvoice extends RecentPaymentDetails { /** - * A user-provided identifier in [`ChannelManager::send_payment`] used to uniquely identify - * a payment and ensure idempotency in LDK. + * A user-provided identifier in [`ChannelManager::pay_for_offer`] used to uniquely identify a + * payment and ensure idempotency in LDK. */ public payment_id: Uint8Array; /* @internal */ @@ -800,8 +832,11 @@ export class RecentPaymentDetails_AwaitingInvoice extends RecentPaymentDetails { /** A RecentPaymentDetails of type Pending */ export class RecentPaymentDetails_Pending extends RecentPaymentDetails { /** - * A user-provided identifier in [`ChannelManager::send_payment`] used to uniquely identify - * a payment and ensure idempotency in LDK. + * A user-provided identifier in [`send_payment`] or [`pay_for_offer`] used to uniquely + * identify a payment and ensure idempotency in LDK. + * + * [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment + * [`pay_for_offer`]: crate::ln::channelmanager::ChannelManager::pay_for_offer */ public payment_id: Uint8Array; /** @@ -829,8 +864,11 @@ export class RecentPaymentDetails_Pending extends RecentPaymentDetails { /** A RecentPaymentDetails of type Fulfilled */ export class RecentPaymentDetails_Fulfilled extends RecentPaymentDetails { /** - * A user-provided identifier in [`ChannelManager::send_payment`] used to uniquely identify - * a payment and ensure idempotency in LDK. + * A user-provided identifier in [`send_payment`] or [`pay_for_offer`] used to uniquely + * identify a payment and ensure idempotency in LDK. + * + * [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment + * [`pay_for_offer`]: crate::ln::channelmanager::ChannelManager::pay_for_offer */ public payment_id: Uint8Array; /** @@ -853,8 +891,11 @@ export class RecentPaymentDetails_Fulfilled extends RecentPaymentDetails { /** A RecentPaymentDetails of type Abandoned */ export class RecentPaymentDetails_Abandoned extends RecentPaymentDetails { /** - * A user-provided identifier in [`ChannelManager::send_payment`] used to uniquely identify - * a payment and ensure idempotency in LDK. + * A user-provided identifier in [`send_payment`] or [`pay_for_offer`] used to uniquely + * identify a payment and ensure idempotency in LDK. + * + * [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment + * [`pay_for_offer`]: crate::ln::channelmanager::ChannelManager::pay_for_offer */ public payment_id: Uint8Array; /** diff --git a/ts/structs/RecipientOnionFields.mts b/ts/structs/RecipientOnionFields.mts index 6c7f0d83..03ee674f 100644 --- a/ts/structs/RecipientOnionFields.mts +++ b/ts/structs/RecipientOnionFields.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Record.mts b/ts/structs/Record.mts index bbaae90d..40e5d25c 100644 --- a/ts/structs/Record.mts +++ b/ts/structs/Record.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Refund.mts b/ts/structs/Refund.mts index 3b7a93ae..ff7671bb 100644 --- a/ts/structs/Refund.mts +++ b/ts/structs/Refund.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -803,9 +835,9 @@ export class Refund extends CommonBase { /** * An unpredictable series of bytes, typically containing information about the derivation of - * [`payer_id`]. + * [`payer_signing_pubkey`]. * - * [`payer_id`]: Self::payer_id + * [`payer_signing_pubkey`]: Self::payer_signing_pubkey */ public payer_metadata(): Uint8Array { const ret: number = bindings.Refund_payer_metadata(this.ptr); @@ -858,8 +890,8 @@ export class Refund extends CommonBase { * * [`paths`]: Self::paths */ - public payer_id(): Uint8Array { - const ret: number = bindings.Refund_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.Refund_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } diff --git a/ts/structs/RefundMaybeWithDerivedMetadataBuilder.mts b/ts/structs/RefundMaybeWithDerivedMetadataBuilder.mts index 47d1c0f1..bc6da467 100644 --- a/ts/structs/RefundMaybeWithDerivedMetadataBuilder.mts +++ b/ts/structs/RefundMaybeWithDerivedMetadataBuilder.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -737,8 +769,8 @@ export class RefundMaybeWithDerivedMetadataBuilder extends CommonBase { } /** - * Creates a new builder for a refund using the [`Refund::payer_id`] for the public node id to - * send to if no [`Refund::paths`] are set. Otherwise, it may be a transient pubkey. + * Creates a new builder for a refund using the `signing_pubkey` for the public node id to send + * to if no [`Refund::paths`] are set. Otherwise, `signing_pubkey` may be a transient pubkey. * * Additionally, sets the required (empty) [`Refund::description`], [`Refund::payer_metadata`], * and [`Refund::amount_msats`]. @@ -751,8 +783,8 @@ export class RefundMaybeWithDerivedMetadataBuilder extends CommonBase { * [`ChannelManager`]: crate::ln::channelmanager::ChannelManager * [`ChannelManager::create_refund_builder`]: crate::ln::channelmanager::ChannelManager::create_refund_builder */ - public static constructor_new(metadata: Uint8Array, payer_id: Uint8Array, amount_msats: bigint): Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.RefundMaybeWithDerivedMetadataBuilder_new(bindings.encodeUint8Array(metadata), bindings.encodeUint8Array(bindings.check_arr_len(payer_id, 33)), amount_msats); + public static constructor_new(metadata: Uint8Array, signing_pubkey: Uint8Array, amount_msats: bigint): Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ { + const ret: bigint = bindings.RefundMaybeWithDerivedMetadataBuilder_new(bindings.encodeUint8Array(metadata), bindings.encodeUint8Array(bindings.check_arr_len(signing_pubkey, 33)), amount_msats); const ret_hu_conv: Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ = Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -776,8 +808,8 @@ export class RefundMaybeWithDerivedMetadataBuilder extends CommonBase { * [`Bolt12Invoice::verify_using_payer_data`]: crate::offers::invoice::Bolt12Invoice::verify_using_payer_data * [`ExpandedKey`]: crate::ln::inbound_payment::ExpandedKey */ - public static constructor_deriving_payer_id(node_id: Uint8Array, expanded_key: ExpandedKey, nonce: Nonce, amount_msats: bigint, payment_id: Uint8Array): Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.RefundMaybeWithDerivedMetadataBuilder_deriving_payer_id(bindings.encodeUint8Array(bindings.check_arr_len(node_id, 33)), CommonBase.get_ptr_of(expanded_key), CommonBase.get_ptr_of(nonce), amount_msats, bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); + public static constructor_deriving_signing_pubkey(node_id: Uint8Array, expanded_key: ExpandedKey, nonce: Nonce, amount_msats: bigint, payment_id: Uint8Array): Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ { + const ret: bigint = bindings.RefundMaybeWithDerivedMetadataBuilder_deriving_signing_pubkey(bindings.encodeUint8Array(bindings.check_arr_len(node_id, 33)), CommonBase.get_ptr_of(expanded_key), CommonBase.get_ptr_of(nonce), amount_msats, bindings.encodeUint8Array(bindings.check_arr_len(payment_id, 32))); const ret_hu_conv: Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ = Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, expanded_key); return ret_hu_conv; @@ -793,8 +825,7 @@ export class RefundMaybeWithDerivedMetadataBuilder extends CommonBase { } /** - * Sets the [`Refund::absolute_expiry`] as seconds since the Unix epoch. Any expiry that has - * already passed is valid and can be checked for using [`Refund::is_expired`]. + * Sets the [`Refund::absolute_expiry`] as seconds since the Unix epoch. * * Successive calls to this method will override the previous setting. */ @@ -813,7 +844,7 @@ export class RefundMaybeWithDerivedMetadataBuilder extends CommonBase { /** * Adds a blinded path to [`Refund::paths`]. Must include at least one path if only connected - * by private channels or if [`Refund::payer_id`] is not a public node id. + * by private channels or if [`Refund::payer_signing_pubkey`] is not a public node id. * * Successive calls to this method will add another blinded path. Caller is responsible for not * adding duplicate paths. diff --git a/ts/structs/ReleaseHeldHtlc.mts b/ts/structs/ReleaseHeldHtlc.mts index fee8ef7a..4fb66b8c 100644 --- a/ts/structs/ReleaseHeldHtlc.mts +++ b/ts/structs/ReleaseHeldHtlc.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -717,29 +749,11 @@ export class ReleaseHeldHtlc extends CommonBase { super(ptr, bindings.ReleaseHeldHtlc_free); } - /** - * Used to release the HTLC held upstream if it matches the corresponding - * [`HeldHtlcAvailable::payment_release_secret`]. - */ - public get_payment_release_secret(): Uint8Array { - const ret: number = bindings.ReleaseHeldHtlc_get_payment_release_secret(this.ptr); - const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); - return ret_conv; - } - - /** - * Used to release the HTLC held upstream if it matches the corresponding - * [`HeldHtlcAvailable::payment_release_secret`]. - */ - public set_payment_release_secret(val: Uint8Array): void { - bindings.ReleaseHeldHtlc_set_payment_release_secret(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 32))); - } - /** * Constructs a new ReleaseHeldHtlc given each field */ - public static constructor_new(payment_release_secret_arg: Uint8Array): ReleaseHeldHtlc { - const ret: bigint = bindings.ReleaseHeldHtlc_new(bindings.encodeUint8Array(bindings.check_arr_len(payment_release_secret_arg, 32))); + public static constructor_new(): ReleaseHeldHtlc { + const ret: bigint = bindings.ReleaseHeldHtlc_new(); const ret_hu_conv: ReleaseHeldHtlc = new ReleaseHeldHtlc(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; diff --git a/ts/structs/ReplayEvent.mts b/ts/structs/ReplayEvent.mts index 518986f8..492ebd23 100644 --- a/ts/structs/ReplayEvent.mts +++ b/ts/structs/ReplayEvent.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/T import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ReplyChannelRange.mts b/ts/structs/ReplyChannelRange.mts index b0a9f403..a80958cf 100644 --- a/ts/structs/ReplyChannelRange.mts +++ b/ts/structs/ReplyChannelRange.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ReplyShortChannelIdsEnd.mts b/ts/structs/ReplyShortChannelIdsEnd.mts index 08c8c9ef..daec379a 100644 --- a/ts/structs/ReplyShortChannelIdsEnd.mts +++ b/ts/structs/ReplyShortChannelIdsEnd.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Responder.mts b/ts/structs/Responder.mts index a00ad269..0158d421 100644 --- a/ts/structs/Responder.mts +++ b/ts/structs/Responder.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_C import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ResponseInstruction.mts b/ts/structs/ResponseInstruction.mts index 35685fa4..1c6a8a33 100644 --- a/ts/structs/ResponseInstruction.mts +++ b/ts/structs/ResponseInstruction.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -732,4 +764,15 @@ export class ResponseInstruction extends CommonBase { return ret_hu_conv; } + /** + * Converts this [`ResponseInstruction`] into a [`MessageSendInstructions`] so that it can be + * used to send the response via a normal message sending method. + */ + public into_instructions(): MessageSendInstructions { + const ret: bigint = bindings.ResponseInstruction_into_instructions(this.ptr); + const ret_hu_conv: MessageSendInstructions = MessageSendInstructions.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + } diff --git a/ts/structs/Result_AcceptChannelDecodeErrorZ.mts b/ts/structs/Result_AcceptChannelDecodeErrorZ.mts index 094abd93..78cf57ba 100644 --- a/ts/structs/Result_AcceptChannelDecodeErrorZ.mts +++ b/ts/structs/Result_AcceptChannelDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_AcceptChannelV2DecodeErrorZ.mts b/ts/structs/Result_AcceptChannelV2DecodeErrorZ.mts index af132159..c3fdb4b5 100644 --- a/ts/structs/Result_AcceptChannelV2DecodeErrorZ.mts +++ b/ts/structs/Result_AcceptChannelV2DecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_AnnouncementSignaturesDecodeErrorZ.mts b/ts/structs/Result_AnnouncementSignaturesDecodeErrorZ.mts index a8f4a366..eb690443 100644 --- a/ts/structs/Result_AnnouncementSignaturesDecodeErrorZ.mts +++ b/ts/structs/Result_AnnouncementSignaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_AsyncPaymentsContextDecodeErrorZ.mts b/ts/structs/Result_AsyncPaymentsContextDecodeErrorZ.mts new file mode 100644 index 00000000..33da5c76 --- /dev/null +++ b/ts/structs/Result_AsyncPaymentsContextDecodeErrorZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_AsyncPaymentsContextDecodeErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_AsyncPaymentsContextDecodeErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_AsyncPaymentsContextDecodeErrorZ { + if (bindings.CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(ptr)) { + return new Result_AsyncPaymentsContextDecodeErrorZ_OK(null, ptr); + } else { + return new Result_AsyncPaymentsContextDecodeErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_AsyncPaymentsContextDecodeErrorZ in the success state. + */ + public static constructor_ok(o: AsyncPaymentsContext): Result_AsyncPaymentsContextDecodeErrorZ { + const ret: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_AsyncPaymentsContextDecodeErrorZ = Result_AsyncPaymentsContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_AsyncPaymentsContextDecodeErrorZ in the error state. + */ + public static constructor_err(e: DecodeError): Result_AsyncPaymentsContextDecodeErrorZ { + const ret: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_AsyncPaymentsContextDecodeErrorZ = Result_AsyncPaymentsContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_AsyncPaymentsContextDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_AsyncPaymentsContextDecodeErrorZ { + const ret: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_clone(this.ptr); + const ret_hu_conv: Result_AsyncPaymentsContextDecodeErrorZ = Result_AsyncPaymentsContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_AsyncPaymentsContextDecodeErrorZ_OK extends Result_AsyncPaymentsContextDecodeErrorZ { + public res: AsyncPaymentsContext; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_get_ok(ptr); + const res_hu_conv: AsyncPaymentsContext = AsyncPaymentsContext.constr_from_ptr(res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_AsyncPaymentsContextDecodeErrorZ_Err extends Result_AsyncPaymentsContextDecodeErrorZ { + public err: DecodeError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_AsyncPaymentsContextDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_AsyncPaymentsMessageDecodeErrorZ.mts b/ts/structs/Result_AsyncPaymentsMessageDecodeErrorZ.mts index 8b2cc569..b9be7248 100644 --- a/ts/structs/Result_AsyncPaymentsMessageDecodeErrorZ.mts +++ b/ts/structs/Result_AsyncPaymentsMessageDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BestBlockDecodeErrorZ.mts b/ts/structs/Result_BestBlockDecodeErrorZ.mts index fc4d2bc0..65807c6a 100644 --- a/ts/structs/Result_BestBlockDecodeErrorZ.mts +++ b/ts/structs/Result_BestBlockDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BigSizeDecodeErrorZ.mts b/ts/structs/Result_BigSizeDecodeErrorZ.mts index ae45716e..7a29d235 100644 --- a/ts/structs/Result_BigSizeDecodeErrorZ.mts +++ b/ts/structs/Result_BigSizeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedFailureDecodeErrorZ.mts b/ts/structs/Result_BlindedFailureDecodeErrorZ.mts index af5e8ba2..b555f086 100644 --- a/ts/structs/Result_BlindedFailureDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedFailureDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedForwardDecodeErrorZ.mts b/ts/structs/Result_BlindedForwardDecodeErrorZ.mts index e579e526..819583cf 100644 --- a/ts/structs/Result_BlindedForwardDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedForwardDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedHopDecodeErrorZ.mts b/ts/structs/Result_BlindedHopDecodeErrorZ.mts index 6bbcd8e1..2c0e7dfc 100644 --- a/ts/structs/Result_BlindedHopDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedHopDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs' import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedHopFeaturesDecodeErrorZ.mts b/ts/structs/Result_BlindedHopFeaturesDecodeErrorZ.mts index 7610d4ef..2fbb0741 100644 --- a/ts/structs/Result_BlindedHopFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedHopFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedMessagePathDecodeErrorZ.mts b/ts/structs/Result_BlindedMessagePathDecodeErrorZ.mts index 0086a3c9..c7e538c2 100644 --- a/ts/structs/Result_BlindedMessagePathDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedMessagePathDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u6 import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedMessagePathNoneZ.mts b/ts/structs/Result_BlindedMessagePathNoneZ.mts index 3cc2eaf7..2e0c8150 100644 --- a/ts/structs/Result_BlindedMessagePathNoneZ.mts +++ b/ts/structs/Result_BlindedMessagePathNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u6 import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedPayInfoDecodeErrorZ.mts b/ts/structs/Result_BlindedPayInfoDecodeErrorZ.mts index 9d292d22..c955d041 100644 --- a/ts/structs/Result_BlindedPayInfoDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedPayInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedPaymentPathNoneZ.mts b/ts/structs/Result_BlindedPaymentPathNoneZ.mts index 9fa1ea03..f7a40024 100644 --- a/ts/structs/Result_BlindedPaymentPathNoneZ.mts +++ b/ts/structs/Result_BlindedPaymentPathNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BlindedTailDecodeErrorZ.mts b/ts/structs/Result_BlindedTailDecodeErrorZ.mts index 4095fd6a..0b0f1da2 100644 --- a/ts/structs/Result_BlindedTailDecodeErrorZ.mts +++ b/ts/structs/Result_BlindedTailDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mts b/ts/structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mts index 3da26884..9f939e95 100644 --- a/ts/structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mts +++ b/ts/structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mts b/ts/structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mts index edce1fce..dc4caaca 100644 --- a/ts/structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mts b/ts/structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mts index 2a20c270..278a5bc0 100644 --- a/ts/structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mts +++ b/ts/structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mts b/ts/structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mts index 51692e2b..03103e00 100644 --- a/ts/structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mts +++ b/ts/structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,7 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mts b/ts/structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mts index 7606a977..927d1cc6 100644 --- a/ts/structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt12InvoiceDecodeErrorZ.mts b/ts/structs/Result_Bolt12InvoiceDecodeErrorZ.mts index b3071e55..e53e3359 100644 --- a/ts/structs/Result_Bolt12InvoiceDecodeErrorZ.mts +++ b/ts/structs/Result_Bolt12InvoiceDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mts b/ts/structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mts index 2b8a1fbb..62b77923 100644 --- a/ts/structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt12OfferContextDecodeErrorZ.mts b/ts/structs/Result_Bolt12OfferContextDecodeErrorZ.mts index ec11f94c..35b344b2 100644 --- a/ts/structs/Result_Bolt12OfferContextDecodeErrorZ.mts +++ b/ts/structs/Result_Bolt12OfferContextDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_Bolt12RefundContextDecodeErrorZ.mts b/ts/structs/Result_Bolt12RefundContextDecodeErrorZ.mts index 23cb7e91..7266850c 100644 --- a/ts/structs/Result_Bolt12RefundContextDecodeErrorZ.mts +++ b/ts/structs/Result_Bolt12RefundContextDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mts b/ts/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mts index 664f39af..dc9a0166 100644 --- a/ts/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mts +++ b/ts/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mts b/ts/structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mts index 7ce57d41..fbf1ed55 100644 --- a/ts/structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mts +++ b/ts/structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mts b/ts/structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mts index ee6b1c66..9190c2b1 100644 --- a/ts/structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mts +++ b/ts/structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mts b/ts/structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mts new file mode 100644 index 00000000..a0c7eeaa --- /dev/null +++ b/ts/structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mts @@ -0,0 +1,816 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + if (bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(ptr)) { + return new Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_OK(null, ptr); + } else { + return new Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ in the success state. + */ + public static constructor_ok(o: TwoTuple_DNSSECQueryDNSResolverContextZ): Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + const ret: bigint = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ = Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ in the error state. + */ + public static constructor_err(): Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + const ret: bigint = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_err(); + const ret_hu_conv: Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ = Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + const ret: bigint = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_clone(this.ptr); + const ret_hu_conv: Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ = Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_OK extends Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + public res: TwoTuple_DNSSECQueryDNSResolverContextZ; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_get_ok(ptr); + const res_hu_conv: TwoTuple_DNSSECQueryDNSResolverContextZ = new TwoTuple_DNSSECQueryDNSResolverContextZ(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ_Err extends Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ { + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + } +} \ No newline at end of file diff --git a/ts/structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mts b/ts/structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mts index 8fa44f92..1650adb7 100644 --- a/ts/structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mts +++ b/ts/structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mts b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mts index 2fe1bc9d..ab81f39a 100644 --- a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mts +++ b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mts b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mts index d895d7ca..f629697a 100644 --- a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mts +++ b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Type, TypeInterface } from '../structs/Type.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mts b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mts index e5abe7db..825fde81 100644 --- a/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mts +++ b/ts/structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,8 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mts b/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mts index 3389b507..4429b063 100644 --- a/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mts +++ b/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mts b/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mts new file mode 100644 index 00000000..ffa7043e --- /dev/null +++ b/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + if (bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(ptr)) { + return new Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_OK(null, ptr); + } else { + return new Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ in the success state. + */ + public static constructor_ok(o: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ in the error state. + */ + public static constructor_err(e: ProbeSendFailure): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_clone(this.ptr); + const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_OK extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + public res: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_ok(ptr); + const res_hu_conv: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ = new TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_Err extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { + public err: ProbeSendFailure; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_get_err(ptr); + const err_hu_conv: ProbeSendFailure = ProbeSendFailure.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mts b/ts/structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mts index 36f4ab2b..8ec3d3e0 100644 --- a/ts/structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mts +++ b/ts/structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mts b/ts/structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mts index d2005bbd..6a0382e3 100644 --- a/ts/structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mts +++ b/ts/structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_APIErrorZDecodeErrorZ.mts b/ts/structs/Result_COption_APIErrorZDecodeErrorZ.mts index ca8ed149..ab609d0c 100644 --- a/ts/structs/Result_COption_APIErrorZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_APIErrorZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_ClosureReasonZDecodeErrorZ.mts b/ts/structs/Result_COption_ClosureReasonZDecodeErrorZ.mts index 70e95fbb..fddac647 100644 --- a/ts/structs/Result_COption_ClosureReasonZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_ClosureReasonZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_EventZDecodeErrorZ.mts b/ts/structs/Result_COption_EventZDecodeErrorZ.mts index 26bbda05..a24afd2b 100644 --- a/ts/structs/Result_COption_EventZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_EventZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Option_EventZ } from '../structs/Option_EventZ.mjs'; import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_HTLCDestinationZDecodeErrorZ.mts b/ts/structs/Result_COption_HTLCDestinationZDecodeErrorZ.mts index 163761df..34ca9763 100644 --- a/ts/structs/Result_COption_HTLCDestinationZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_HTLCDestinationZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mts b/ts/structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mts index d60036f5..a01d2f94 100644 --- a/ts/structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_MonitorEventZDecodeErrorZ.mts b/ts/structs/Result_COption_MonitorEventZDecodeErrorZ.mts index 5155f7db..f6a604a9 100644 --- a/ts/structs/Result_COption_MonitorEventZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_MonitorEventZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_NetworkUpdateZDecodeErrorZ.mts b/ts/structs/Result_COption_NetworkUpdateZDecodeErrorZ.mts index 9f3ede54..30efdfe4 100644 --- a/ts/structs/Result_COption_NetworkUpdateZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_NetworkUpdateZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mts b/ts/structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mts index 2b8b45f7..d5b2c974 100644 --- a/ts/structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mts b/ts/structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mts index a3b0dcf3..2f602304 100644 --- a/ts/structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_PathFailureZDecodeErrorZ.mts b/ts/structs/Result_COption_PathFailureZDecodeErrorZ.mts index d7c2dbc2..181fe4d9 100644 --- a/ts/structs/Result_COption_PathFailureZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_PathFailureZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mts b/ts/structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mts index 90e2812e..2a30f538 100644 --- a/ts/structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_C import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_COption_TypeZDecodeErrorZ.mts b/ts/structs/Result_COption_TypeZDecodeErrorZ.mts index a1e54833..a25c1961 100644 --- a/ts/structs/Result_COption_TypeZDecodeErrorZ.mts +++ b/ts/structs/Result_COption_TypeZDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_BlindedMessagePathZNoneZ.mts b/ts/structs/Result_CVec_BlindedMessagePathZNoneZ.mts index 4e81e5fd..402ef61c 100644 --- a/ts/structs/Result_CVec_BlindedMessagePathZNoneZ.mts +++ b/ts/structs/Result_CVec_BlindedMessagePathZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,11 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,11 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_BlindedPaymentPathZNoneZ.mts b/ts/structs/Result_CVec_BlindedPaymentPathZNoneZ.mts index 4409b504..db980eb0 100644 --- a/ts/structs/Result_CVec_BlindedPaymentPathZNoneZ.mts +++ b/ts/structs/Result_CVec_BlindedPaymentPathZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,11 +133,6 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mts b/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mts index 4f9e63be..adc9aa2c 100644 --- a/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mts +++ b/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,8 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mts b/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mts index 185e327b..4e2709c3 100644 --- a/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mts +++ b/ts/structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mts b/ts/structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mts new file mode 100644 index 00000000..018d272e --- /dev/null +++ b/ts/structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mts @@ -0,0 +1,825 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + if (bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(ptr)) { + return new Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_OK(null, ptr); + } else { + return new Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ in the success state. + */ + public static constructor_ok(o: ThreeTuple_StrStrStrZ[]): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + const ret: bigint = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_ok(bindings.encodeUint64Array(o.map(o_conv_23 => CommonBase.get_ptr_of(o_conv_23)))); + const ret_hu_conv: Result_CVec_C3Tuple_StrStrStrZZIOErrorZ = Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ in the error state. + */ + public static constructor_err(e: IOError): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + const ret: bigint = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_err(e); + const ret_hu_conv: Result_CVec_C3Tuple_StrStrStrZZIOErrorZ = Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + const ret: bigint = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_clone(this.ptr); + const ret_hu_conv: Result_CVec_C3Tuple_StrStrStrZZIOErrorZ = Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_OK extends Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + public res: ThreeTuple_StrStrStrZ[]; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: number = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_ok(ptr); + const res_conv_23_len: number = bindings.getArrayLength(res); + const res_conv_23_arr: ThreeTuple_StrStrStrZ[] = new Array(res_conv_23_len).fill(null); + for (var x = 0; x < res_conv_23_len; x++) { + const res_conv_23: bigint = bindings.getU64ArrayElem(res, x); + const res_conv_23_hu_conv: ThreeTuple_StrStrStrZ = new ThreeTuple_StrStrStrZ(null, res_conv_23); + CommonBase.add_ref_from(res_conv_23_hu_conv, this); + res_conv_23_arr[x] = res_conv_23_hu_conv; + } + bindings.freeWasmMemory(res) + this.res = res_conv_23_arr; + } +} +export class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_Err extends Result_CVec_C3Tuple_StrStrStrZZIOErrorZ { + public err: IOError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + this.err = bindings.CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ_get_err(ptr); + } +} \ No newline at end of file diff --git a/ts/structs/Result_CVec_ECDSASignatureZNoneZ.mts b/ts/structs/Result_CVec_ECDSASignatureZNoneZ.mts index 53bca287..eee62eb1 100644 --- a/ts/structs/Result_CVec_ECDSASignatureZNoneZ.mts +++ b/ts/structs/Result_CVec_ECDSASignatureZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_StrZIOErrorZ.mts b/ts/structs/Result_CVec_StrZIOErrorZ.mts index 057e1ab6..6145d10c 100644 --- a/ts/structs/Result_CVec_StrZIOErrorZ.mts +++ b/ts/structs/Result_CVec_StrZIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { GraphSyncError } from '../structs/GraphSyncError.mjs'; import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_UtxoZNoneZ.mts b/ts/structs/Result_CVec_UtxoZNoneZ.mts index 8464044e..d59b5bb8 100644 --- a/ts/structs/Result_CVec_UtxoZNoneZ.mts +++ b/ts/structs/Result_CVec_UtxoZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_u8ZIOErrorZ.mts b/ts/structs/Result_CVec_u8ZIOErrorZ.mts index e944b5b4..93e38558 100644 --- a/ts/structs/Result_CVec_u8ZIOErrorZ.mts +++ b/ts/structs/Result_CVec_u8ZIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { GraphSyncError } from '../structs/GraphSyncError.mjs'; import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_u8ZNoneZ.mts b/ts/structs/Result_CVec_u8ZNoneZ.mts index dbde5ba4..e86160ba 100644 --- a/ts/structs/Result_CVec_u8ZNoneZ.mts +++ b/ts/structs/Result_CVec_u8ZNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelTransactionParameters } from '../structs/ChannelTransactionParam import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.mts b/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.mts index 0fd41270..16e3f6b8 100644 --- a/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.mts +++ b/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelAnnouncementDecodeErrorZ.mts b/ts/structs/Result_ChannelAnnouncementDecodeErrorZ.mts index ce9c7e53..2bb5088c 100644 --- a/ts/structs/Result_ChannelAnnouncementDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelAnnouncementDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelConfigDecodeErrorZ.mts b/ts/structs/Result_ChannelConfigDecodeErrorZ.mts index 4639de55..08b1e8f7 100644 --- a/ts/structs/Result_ChannelConfigDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelConfigDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelCounterpartyDecodeErrorZ.mts b/ts/structs/Result_ChannelCounterpartyDecodeErrorZ.mts index 971b7bd6..7783b101 100644 --- a/ts/structs/Result_ChannelCounterpartyDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelCounterpartyDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelDerivationParametersDecodeErrorZ.mts b/ts/structs/Result_ChannelDerivationParametersDecodeErrorZ.mts index 263cb042..7931e973 100644 --- a/ts/structs/Result_ChannelDerivationParametersDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelDerivationParametersDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelDetailsDecodeErrorZ.mts b/ts/structs/Result_ChannelDetailsDecodeErrorZ.mts index 11ced6b3..4726bdf1 100644 --- a/ts/structs/Result_ChannelDetailsDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelDetailsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelFeaturesDecodeErrorZ.mts b/ts/structs/Result_ChannelFeaturesDecodeErrorZ.mts index 4996ceba..1c552bc0 100644 --- a/ts/structs/Result_ChannelFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelIdAPIErrorZ.mts b/ts/structs/Result_ChannelIdAPIErrorZ.mts index e84daf56..8d9d37ea 100644 --- a/ts/structs/Result_ChannelIdAPIErrorZ.mts +++ b/ts/structs/Result_ChannelIdAPIErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelIdDecodeErrorZ.mts b/ts/structs/Result_ChannelIdDecodeErrorZ.mts index d8dd2005..e394cd47 100644 --- a/ts/structs/Result_ChannelIdDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelIdDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErr import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelInfoDecodeErrorZ.mts b/ts/structs/Result_ChannelInfoDecodeErrorZ.mts index a0d06d94..806360fb 100644 --- a/ts/structs/Result_ChannelInfoDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.mts b/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.mts index 972bebe5..c09da697 100644 --- a/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelMonitorUpdateStatusNoneZ.mts b/ts/structs/Result_ChannelMonitorUpdateStatusNoneZ.mts index 6544c215..d4c163b1 100644 --- a/ts/structs/Result_ChannelMonitorUpdateStatusNoneZ.mts +++ b/ts/structs/Result_ChannelMonitorUpdateStatusNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelPublicKeysDecodeErrorZ.mts b/ts/structs/Result_ChannelPublicKeysDecodeErrorZ.mts index c0a66386..5cd67707 100644 --- a/ts/structs/Result_ChannelPublicKeysDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelPublicKeysDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelReadyDecodeErrorZ.mts b/ts/structs/Result_ChannelReadyDecodeErrorZ.mts index d5d09e06..2eb83773 100644 --- a/ts/structs/Result_ChannelReadyDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelReadyDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelReestablishDecodeErrorZ.mts b/ts/structs/Result_ChannelReestablishDecodeErrorZ.mts index 0005f8ff..aeee2ac6 100644 --- a/ts/structs/Result_ChannelReestablishDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelReestablishDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelShutdownStateDecodeErrorZ.mts b/ts/structs/Result_ChannelShutdownStateDecodeErrorZ.mts index 92e4c456..48d2e806 100644 --- a/ts/structs/Result_ChannelShutdownStateDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelShutdownStateDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelTransactionParametersDecodeErrorZ.mts b/ts/structs/Result_ChannelTransactionParametersDecodeErrorZ.mts index 82a958dd..1658fdd0 100644 --- a/ts/structs/Result_ChannelTransactionParametersDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelTransactionParametersDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelTypeFeaturesDecodeErrorZ.mts b/ts/structs/Result_ChannelTypeFeaturesDecodeErrorZ.mts index 88c97c30..6ac56615 100644 --- a/ts/structs/Result_ChannelTypeFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelTypeFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelUpdateDecodeErrorZ.mts b/ts/structs/Result_ChannelUpdateDecodeErrorZ.mts index 93bf013d..bd058bfb 100644 --- a/ts/structs/Result_ChannelUpdateDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelUpdateDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ChannelUpdateInfoDecodeErrorZ.mts b/ts/structs/Result_ChannelUpdateInfoDecodeErrorZ.mts index f0b7a2e1..6ffed5f7 100644 --- a/ts/structs/Result_ChannelUpdateInfoDecodeErrorZ.mts +++ b/ts/structs/Result_ChannelUpdateInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ClaimedHTLCDecodeErrorZ.mts b/ts/structs/Result_ClaimedHTLCDecodeErrorZ.mts index 0c93a0bf..38497071 100644 --- a/ts/structs/Result_ClaimedHTLCDecodeErrorZ.mts +++ b/ts/structs/Result_ClaimedHTLCDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ClosingSignedDecodeErrorZ.mts b/ts/structs/Result_ClosingSignedDecodeErrorZ.mts index 38114767..88eac6ab 100644 --- a/ts/structs/Result_ClosingSignedDecodeErrorZ.mts +++ b/ts/structs/Result_ClosingSignedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mts b/ts/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mts index fa07ae0b..5a59239f 100644 --- a/ts/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mts +++ b/ts/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CoinSelectionNoneZ.mts b/ts/structs/Result_CoinSelectionNoneZ.mts index 054ba09d..0ac77d87 100644 --- a/ts/structs/Result_CoinSelectionNoneZ.mts +++ b/ts/structs/Result_CoinSelectionNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CommitmentSignedBatchDecodeErrorZ.mts b/ts/structs/Result_CommitmentSignedBatchDecodeErrorZ.mts index ac2227ef..88ab3f40 100644 --- a/ts/structs/Result_CommitmentSignedBatchDecodeErrorZ.mts +++ b/ts/structs/Result_CommitmentSignedBatchDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CommitmentSignedDecodeErrorZ.mts b/ts/structs/Result_CommitmentSignedDecodeErrorZ.mts index 09b1f1ae..5d56b620 100644 --- a/ts/structs/Result_CommitmentSignedDecodeErrorZ.mts +++ b/ts/structs/Result_CommitmentSignedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CommitmentTransactionDecodeErrorZ.mts b/ts/structs/Result_CommitmentTransactionDecodeErrorZ.mts index 75f59170..de1c9b6c 100644 --- a/ts/structs/Result_CommitmentTransactionDecodeErrorZ.mts +++ b/ts/structs/Result_CommitmentTransactionDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mts b/ts/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mts index a66a2304..cd734dba 100644 --- a/ts/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mts +++ b/ts/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mts b/ts/structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mts index 8eb5fd8d..57685f1c 100644 --- a/ts/structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mts +++ b/ts/structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mts b/ts/structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mts index db34b376..0c7d42c4 100644 --- a/ts/structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mts +++ b/ts/structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_DNSResolverContextDecodeErrorZ.mts b/ts/structs/Result_DNSResolverContextDecodeErrorZ.mts new file mode 100644 index 00000000..d69f2a2b --- /dev/null +++ b/ts/structs/Result_DNSResolverContextDecodeErrorZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_DNSResolverContextDecodeErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_DNSResolverContextDecodeErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_DNSResolverContextDecodeErrorZ { + if (bindings.CResult_DNSResolverContextDecodeErrorZ_is_ok(ptr)) { + return new Result_DNSResolverContextDecodeErrorZ_OK(null, ptr); + } else { + return new Result_DNSResolverContextDecodeErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_DNSResolverContextDecodeErrorZ in the success state. + */ + public static constructor_ok(o: DNSResolverContext): Result_DNSResolverContextDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_DNSResolverContextDecodeErrorZ = Result_DNSResolverContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_DNSResolverContextDecodeErrorZ in the error state. + */ + public static constructor_err(e: DecodeError): Result_DNSResolverContextDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_DNSResolverContextDecodeErrorZ = Result_DNSResolverContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_DNSResolverContextDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_DNSResolverContextDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_DNSResolverContextDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_clone(this.ptr); + const ret_hu_conv: Result_DNSResolverContextDecodeErrorZ = Result_DNSResolverContextDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_DNSResolverContextDecodeErrorZ_OK extends Result_DNSResolverContextDecodeErrorZ { + public res: DNSResolverContext; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_get_ok(ptr); + const res_hu_conv: DNSResolverContext = new DNSResolverContext(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_DNSResolverContextDecodeErrorZ_Err extends Result_DNSResolverContextDecodeErrorZ { + public err: DecodeError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_DNSResolverContextDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_DNSResolverMessageDecodeErrorZ.mts b/ts/structs/Result_DNSResolverMessageDecodeErrorZ.mts new file mode 100644 index 00000000..819ef0fb --- /dev/null +++ b/ts/structs/Result_DNSResolverMessageDecodeErrorZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_DNSResolverMessageDecodeErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_DNSResolverMessageDecodeErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_DNSResolverMessageDecodeErrorZ { + if (bindings.CResult_DNSResolverMessageDecodeErrorZ_is_ok(ptr)) { + return new Result_DNSResolverMessageDecodeErrorZ_OK(null, ptr); + } else { + return new Result_DNSResolverMessageDecodeErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_DNSResolverMessageDecodeErrorZ in the success state. + */ + public static constructor_ok(o: DNSResolverMessage): Result_DNSResolverMessageDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_DNSResolverMessageDecodeErrorZ = Result_DNSResolverMessageDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_DNSResolverMessageDecodeErrorZ in the error state. + */ + public static constructor_err(e: DecodeError): Result_DNSResolverMessageDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_DNSResolverMessageDecodeErrorZ = Result_DNSResolverMessageDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_DNSResolverMessageDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_DNSResolverMessageDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_DNSResolverMessageDecodeErrorZ { + const ret: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_clone(this.ptr); + const ret_hu_conv: Result_DNSResolverMessageDecodeErrorZ = Result_DNSResolverMessageDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_DNSResolverMessageDecodeErrorZ_OK extends Result_DNSResolverMessageDecodeErrorZ { + public res: DNSResolverMessage; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_get_ok(ptr); + const res_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_DNSResolverMessageDecodeErrorZ_Err extends Result_DNSResolverMessageDecodeErrorZ { + public err: DecodeError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_DNSResolverMessageDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_DelayedPaymentBasepointDecodeErrorZ.mts b/ts/structs/Result_DelayedPaymentBasepointDecodeErrorZ.mts index 35103a6f..9d604b15 100644 --- a/ts/structs/Result_DelayedPaymentBasepointDecodeErrorZ.mts +++ b/ts/structs/Result_DelayedPaymentBasepointDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_DelayedPaymentKeyDecodeErrorZ.mts b/ts/structs/Result_DelayedPaymentKeyDecodeErrorZ.mts index 4dfa06f1..edc88e62 100644 --- a/ts/structs/Result_DelayedPaymentKeyDecodeErrorZ.mts +++ b/ts/structs/Result_DelayedPaymentKeyDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mts b/ts/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mts index 07454b1d..528f82b2 100644 --- a/ts/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mts +++ b/ts/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_DescriptionCreationErrorZ.mts b/ts/structs/Result_DescriptionCreationErrorZ.mts index bfbab786..6eb0fb69 100644 --- a/ts/structs/Result_DescriptionCreationErrorZ.mts +++ b/ts/structs/Result_DescriptionCreationErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ECDSASignatureNoneZ.mts b/ts/structs/Result_ECDSASignatureNoneZ.mts index a31ddcf5..5e03719e 100644 --- a/ts/structs/Result_ECDSASignatureNoneZ.mts +++ b/ts/structs/Result_ECDSASignatureNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_EcdsaChannelSignerDecodeErrorZ.mts b/ts/structs/Result_EcdsaChannelSignerDecodeErrorZ.mts index 40c0752b..d355b116 100644 --- a/ts/structs/Result_EcdsaChannelSignerDecodeErrorZ.mts +++ b/ts/structs/Result_EcdsaChannelSignerDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelTransactionParameters } from '../structs/ChannelTransactionParam import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ErrorMessageDecodeErrorZ.mts b/ts/structs/Result_ErrorMessageDecodeErrorZ.mts index c28e70a1..418f4495 100644 --- a/ts/structs/Result_ErrorMessageDecodeErrorZ.mts +++ b/ts/structs/Result_ErrorMessageDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_FinalOnionHopDataDecodeErrorZ.mts b/ts/structs/Result_FinalOnionHopDataDecodeErrorZ.mts index fe8331ca..c8bec90c 100644 --- a/ts/structs/Result_FinalOnionHopDataDecodeErrorZ.mts +++ b/ts/structs/Result_FinalOnionHopDataDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_FixedPenaltyScorerDecodeErrorZ.mts b/ts/structs/Result_FixedPenaltyScorerDecodeErrorZ.mts index 2ceb036e..2e72af55 100644 --- a/ts/structs/Result_FixedPenaltyScorerDecodeErrorZ.mts +++ b/ts/structs/Result_FixedPenaltyScorerDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_FundingCreatedDecodeErrorZ.mts b/ts/structs/Result_FundingCreatedDecodeErrorZ.mts index 70ecbdf0..4a422728 100644 --- a/ts/structs/Result_FundingCreatedDecodeErrorZ.mts +++ b/ts/structs/Result_FundingCreatedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_FundingInfoDecodeErrorZ.mts b/ts/structs/Result_FundingInfoDecodeErrorZ.mts index ff9d69f5..1b50ec09 100644 --- a/ts/structs/Result_FundingInfoDecodeErrorZ.mts +++ b/ts/structs/Result_FundingInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_FundingSignedDecodeErrorZ.mts b/ts/structs/Result_FundingSignedDecodeErrorZ.mts index 523299e8..d9a1ec9b 100644 --- a/ts/structs/Result_FundingSignedDecodeErrorZ.mts +++ b/ts/structs/Result_FundingSignedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_GossipTimestampFilterDecodeErrorZ.mts b/ts/structs/Result_GossipTimestampFilterDecodeErrorZ.mts index de16b064..f73db4e2 100644 --- a/ts/structs/Result_GossipTimestampFilterDecodeErrorZ.mts +++ b/ts/structs/Result_GossipTimestampFilterDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HTLCDescriptorDecodeErrorZ.mts b/ts/structs/Result_HTLCDescriptorDecodeErrorZ.mts index a9086a7b..6d15820e 100644 --- a/ts/structs/Result_HTLCDescriptorDecodeErrorZ.mts +++ b/ts/structs/Result_HTLCDescriptorDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mts b/ts/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mts index b81be6a7..05224682 100644 --- a/ts/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mts +++ b/ts/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HTLCUpdateDecodeErrorZ.mts b/ts/structs/Result_HTLCUpdateDecodeErrorZ.mts index 0d69b048..f5ca661e 100644 --- a/ts/structs/Result_HTLCUpdateDecodeErrorZ.mts +++ b/ts/structs/Result_HTLCUpdateDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HeldHtlcAvailableDecodeErrorZ.mts b/ts/structs/Result_HeldHtlcAvailableDecodeErrorZ.mts index 85d6a189..ab66de20 100644 --- a/ts/structs/Result_HeldHtlcAvailableDecodeErrorZ.mts +++ b/ts/structs/Result_HeldHtlcAvailableDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HolderCommitmentTransactionDecodeErrorZ.mts b/ts/structs/Result_HolderCommitmentTransactionDecodeErrorZ.mts index 33ad3d9f..a097ac63 100644 --- a/ts/structs/Result_HolderCommitmentTransactionDecodeErrorZ.mts +++ b/ts/structs/Result_HolderCommitmentTransactionDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HostnameDecodeErrorZ.mts b/ts/structs/Result_HostnameDecodeErrorZ.mts index 86de96c0..e825e2dc 100644 --- a/ts/structs/Result_HostnameDecodeErrorZ.mts +++ b/ts/structs/Result_HostnameDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HtlcBasepointDecodeErrorZ.mts b/ts/structs/Result_HtlcBasepointDecodeErrorZ.mts index 9c7bca2d..d8d3c02b 100644 --- a/ts/structs/Result_HtlcBasepointDecodeErrorZ.mts +++ b/ts/structs/Result_HtlcBasepointDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HtlcKeyDecodeErrorZ.mts b/ts/structs/Result_HtlcKeyDecodeErrorZ.mts index 402c90ef..e739b13d 100644 --- a/ts/structs/Result_HtlcKeyDecodeErrorZ.mts +++ b/ts/structs/Result_HtlcKeyDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_HumanReadableNameDecodeErrorZ.mts b/ts/structs/Result_HumanReadableNameDecodeErrorZ.mts new file mode 100644 index 00000000..9479e630 --- /dev/null +++ b/ts/structs/Result_HumanReadableNameDecodeErrorZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_HumanReadableNameDecodeErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_HumanReadableNameDecodeErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_HumanReadableNameDecodeErrorZ { + if (bindings.CResult_HumanReadableNameDecodeErrorZ_is_ok(ptr)) { + return new Result_HumanReadableNameDecodeErrorZ_OK(null, ptr); + } else { + return new Result_HumanReadableNameDecodeErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_HumanReadableNameDecodeErrorZ in the success state. + */ + public static constructor_ok(o: HumanReadableName): Result_HumanReadableNameDecodeErrorZ { + const ret: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_HumanReadableNameDecodeErrorZ = Result_HumanReadableNameDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_HumanReadableNameDecodeErrorZ in the error state. + */ + public static constructor_err(e: DecodeError): Result_HumanReadableNameDecodeErrorZ { + const ret: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_HumanReadableNameDecodeErrorZ = Result_HumanReadableNameDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_HumanReadableNameDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_HumanReadableNameDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_HumanReadableNameDecodeErrorZ { + const ret: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_clone(this.ptr); + const ret_hu_conv: Result_HumanReadableNameDecodeErrorZ = Result_HumanReadableNameDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_HumanReadableNameDecodeErrorZ_OK extends Result_HumanReadableNameDecodeErrorZ { + public res: HumanReadableName; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_get_ok(ptr); + const res_hu_conv: HumanReadableName = new HumanReadableName(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_HumanReadableNameDecodeErrorZ_Err extends Result_HumanReadableNameDecodeErrorZ { + public err: DecodeError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_HumanReadableNameDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mts b/ts/structs/Result_HumanReadableNameNoneZ.mts similarity index 90% rename from ts/structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mts rename to ts/structs/Result_HumanReadableNameNoneZ.mts index 7d028916..2981d92b 100644 --- a/ts/structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_HumanReadableNameNoneZ.mts @@ -40,20 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,8 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,33 +741,33 @@ import * as bindings from '../bindings.mjs' -export class Result_UnsignedInvoiceRequestBolt12SemanticErrorZ extends CommonBase { +export class Result_HumanReadableNameNoneZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_free); + super(ptr, bindings.CResult_HumanReadableNameNoneZ_free); } /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - if (bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(ptr)) { - return new Result_UnsignedInvoiceRequestBolt12SemanticErrorZ_OK(null, ptr); + public static constr_from_ptr(ptr: bigint): Result_HumanReadableNameNoneZ { + if (bindings.CResult_HumanReadableNameNoneZ_is_ok(ptr)) { + return new Result_HumanReadableNameNoneZ_OK(null, ptr); } else { - return new Result_UnsignedInvoiceRequestBolt12SemanticErrorZ_Err(null, ptr); + return new Result_HumanReadableNameNoneZ_Err(null, ptr); } } /** - * Creates a new CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ in the success state. + * Creates a new CResult_HumanReadableNameNoneZ in the success state. */ - public static constructor_ok(o: UnsignedInvoiceRequest): Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_ok(CommonBase.get_ptr_of(o)); - const ret_hu_conv: Result_UnsignedInvoiceRequestBolt12SemanticErrorZ = Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_ok(o: HumanReadableName): Result_HumanReadableNameNoneZ { + const ret: bigint = bindings.CResult_HumanReadableNameNoneZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_HumanReadableNameNoneZ = Result_HumanReadableNameNoneZ.constr_from_ptr(ret); return ret_hu_conv; } /** - * Creates a new CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ in the error state. + * Creates a new CResult_HumanReadableNameNoneZ in the error state. */ - public static constructor_err(e: Bolt12SemanticError): Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_err(e); - const ret_hu_conv: Result_UnsignedInvoiceRequestBolt12SemanticErrorZ = Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_err(): Result_HumanReadableNameNoneZ { + const ret: bigint = bindings.CResult_HumanReadableNameNoneZ_err(); + const ret_hu_conv: Result_HumanReadableNameNoneZ = Result_HumanReadableNameNoneZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -743,44 +775,42 @@ export class Result_UnsignedInvoiceRequestBolt12SemanticErrorZ extends CommonBas * Checks if the given object is currently in the success state */ public is_ok(): boolean { - const ret: boolean = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_is_ok(this.ptr); + const ret: boolean = bindings.CResult_HumanReadableNameNoneZ_is_ok(this.ptr); return ret; } public clone_ptr(): bigint { - const ret: bigint = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone_ptr(this.ptr); + const ret: bigint = bindings.CResult_HumanReadableNameNoneZ_clone_ptr(this.ptr); return ret; } /** - * Creates a new CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ which has the same data as `orig` + * Creates a new CResult_HumanReadableNameNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ - public clone(): Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_clone(this.ptr); - const ret_hu_conv: Result_UnsignedInvoiceRequestBolt12SemanticErrorZ = Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.constr_from_ptr(ret); + public clone(): Result_HumanReadableNameNoneZ { + const ret: bigint = bindings.CResult_HumanReadableNameNoneZ_clone(this.ptr); + const ret_hu_conv: Result_HumanReadableNameNoneZ = Result_HumanReadableNameNoneZ.constr_from_ptr(ret); return ret_hu_conv; } } -export class Result_UnsignedInvoiceRequestBolt12SemanticErrorZ_OK extends Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - public res: UnsignedInvoiceRequest; +export class Result_HumanReadableNameNoneZ_OK extends Result_HumanReadableNameNoneZ { + public res: HumanReadableName; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - const res: bigint = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_ok(ptr); - const res_hu_conv: UnsignedInvoiceRequest = new UnsignedInvoiceRequest(null, res); + const res: bigint = bindings.CResult_HumanReadableNameNoneZ_get_ok(ptr); + const res_hu_conv: HumanReadableName = new HumanReadableName(null, res); CommonBase.add_ref_from(res_hu_conv, this); this.res = res_hu_conv; } } -export class Result_UnsignedInvoiceRequestBolt12SemanticErrorZ_Err extends Result_UnsignedInvoiceRequestBolt12SemanticErrorZ { - public err: Bolt12SemanticError; +export class Result_HumanReadableNameNoneZ_Err extends Result_HumanReadableNameNoneZ { /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - this.err = bindings.CResult_UnsignedInvoiceRequestBolt12SemanticErrorZ_get_err(ptr); } } \ No newline at end of file diff --git a/ts/structs/Result_InFlightHtlcsDecodeErrorZ.mts b/ts/structs/Result_InFlightHtlcsDecodeErrorZ.mts index 70b58ac9..4cbf1963 100644 --- a/ts/structs/Result_InFlightHtlcsDecodeErrorZ.mts +++ b/ts/structs/Result_InFlightHtlcsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InMemorySignerDecodeErrorZ.mts b/ts/structs/Result_InMemorySignerDecodeErrorZ.mts index cb766d23..cd6efb90 100644 --- a/ts/structs/Result_InMemorySignerDecodeErrorZ.mts +++ b/ts/structs/Result_InMemorySignerDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InboundHTLCDetailsDecodeErrorZ.mts b/ts/structs/Result_InboundHTLCDetailsDecodeErrorZ.mts index 450c4388..2ed31b36 100644 --- a/ts/structs/Result_InboundHTLCDetailsDecodeErrorZ.mts +++ b/ts/structs/Result_InboundHTLCDetailsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InitDecodeErrorZ.mts b/ts/structs/Result_InitDecodeErrorZ.mts index 9d29aeca..a1e8f599 100644 --- a/ts/structs/Result_InitDecodeErrorZ.mts +++ b/ts/structs/Result_InitDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InitFeaturesDecodeErrorZ.mts b/ts/structs/Result_InitFeaturesDecodeErrorZ.mts index 9245ec24..c93d8fe6 100644 --- a/ts/structs/Result_InitFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_InitFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceErrorDecodeErrorZ.mts b/ts/structs/Result_InvoiceErrorDecodeErrorZ.mts index ead476b4..6f86cc01 100644 --- a/ts/structs/Result_InvoiceErrorDecodeErrorZ.mts +++ b/ts/structs/Result_InvoiceErrorDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceRequestBolt12SemanticErrorZ.mts b/ts/structs/Result_InvoiceRequestBolt12SemanticErrorZ.mts index b9f77444..5de8b15e 100644 --- a/ts/structs/Result_InvoiceRequestBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_InvoiceRequestBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceRequestDecodeErrorZ.mts b/ts/structs/Result_InvoiceRequestDecodeErrorZ.mts new file mode 100644 index 00000000..8ca53e89 --- /dev/null +++ b/ts/structs/Result_InvoiceRequestDecodeErrorZ.mts @@ -0,0 +1,821 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_InvoiceRequestDecodeErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_InvoiceRequestDecodeErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_InvoiceRequestDecodeErrorZ { + if (bindings.CResult_InvoiceRequestDecodeErrorZ_is_ok(ptr)) { + return new Result_InvoiceRequestDecodeErrorZ_OK(null, ptr); + } else { + return new Result_InvoiceRequestDecodeErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_InvoiceRequestDecodeErrorZ in the success state. + */ + public static constructor_ok(o: InvoiceRequest): Result_InvoiceRequestDecodeErrorZ { + const ret: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_InvoiceRequestDecodeErrorZ = Result_InvoiceRequestDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Creates a new CResult_InvoiceRequestDecodeErrorZ in the error state. + */ + public static constructor_err(e: DecodeError): Result_InvoiceRequestDecodeErrorZ { + const ret: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_InvoiceRequestDecodeErrorZ = Result_InvoiceRequestDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_InvoiceRequestDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new CResult_InvoiceRequestDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): Result_InvoiceRequestDecodeErrorZ { + const ret: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_clone(this.ptr); + const ret_hu_conv: Result_InvoiceRequestDecodeErrorZ = Result_InvoiceRequestDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + +} +export class Result_InvoiceRequestDecodeErrorZ_OK extends Result_InvoiceRequestDecodeErrorZ { + public res: InvoiceRequest; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_get_ok(ptr); + const res_hu_conv: InvoiceRequest = new InvoiceRequest(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_InvoiceRequestDecodeErrorZ_Err extends Result_InvoiceRequestDecodeErrorZ { + public err: DecodeError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const err: bigint = bindings.CResult_InvoiceRequestDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); + CommonBase.add_ref_from(err_hu_conv, this); + this.err = err_hu_conv; + } +} \ No newline at end of file diff --git a/ts/structs/Result_InvoiceRequestFieldsDecodeErrorZ.mts b/ts/structs/Result_InvoiceRequestFieldsDecodeErrorZ.mts index 14359210..0eb4f607 100644 --- a/ts/structs/Result_InvoiceRequestFieldsDecodeErrorZ.mts +++ b/ts/structs/Result_InvoiceRequestFieldsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; import { Option_i64Z } from '../structs/Option_i64Z.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mts new file mode 100644 index 00000000..93259eaa --- /dev/null +++ b/ts/structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mts @@ -0,0 +1,812 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +export class Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ extends CommonBase { + protected constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_free); + } + /* @internal */ + public static constr_from_ptr(ptr: bigint): Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + if (bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(ptr)) { + return new Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_OK(null, ptr); + } else { + return new Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_Err(null, ptr); + } + } + /** + * Creates a new CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ in the success state. + */ + public static constructor_ok(o: InvoiceRequestWithDerivedPayerSigningPubkeyBuilder): Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + const ret: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, o); + // Due to rust's strict-ownership memory model, in some cases we need to "move" + // an object to pass exclusive ownership to the function being called. + // In most cases, we avoid ret_hu_conv being visible in GC'd languages by cloning the object + // at the FFI layer, creating a new object which Rust can claim ownership of + // However, in some cases (eg here), there is no way to clone an object, and thus + // we actually have to pass full ownership to Rust. + // Thus, after ret_hu_conv call, o is reset to null and is now a dummy object. + CommonBase.set_null_skip_free(o);; + return ret_hu_conv; + } + + /** + * Creates a new CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ in the error state. + */ + public static constructor_err(e: Bolt12SemanticError): Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + const ret: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_err(e); + const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Checks if the given object is currently in the success state + */ + public is_ok(): boolean { + const ret: boolean = bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_is_ok(this.ptr); + return ret; + } + +} +export class Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_OK extends Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + public res: InvoiceRequestWithDerivedPayerSigningPubkeyBuilder; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + const res: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_ok(ptr); + const res_hu_conv: InvoiceRequestWithDerivedPayerSigningPubkeyBuilder = new InvoiceRequestWithDerivedPayerSigningPubkeyBuilder(null, res); + CommonBase.add_ref_from(res_hu_conv, this); + this.res = res_hu_conv; + } +} +export class Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_Err extends Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ { + public err: Bolt12SemanticError; + + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(_dummy, ptr); + this.err = bindings.CResult_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ_get_err(ptr); + } +} \ No newline at end of file diff --git a/ts/structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mts index c38f17b9..f6481de8 100644 --- a/ts/structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mts index a510781a..6b107992 100644 --- a/ts/structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_LockedChannelMonitorNoneZ.mts b/ts/structs/Result_LockedChannelMonitorNoneZ.mts index 49536778..d2ac7520 100644 --- a/ts/structs/Result_LockedChannelMonitorNoneZ.mts +++ b/ts/structs/Result_LockedChannelMonitorNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_MaxDustHTLCExposureDecodeErrorZ.mts b/ts/structs/Result_MaxDustHTLCExposureDecodeErrorZ.mts index a59833e9..e9523541 100644 --- a/ts/structs/Result_MaxDustHTLCExposureDecodeErrorZ.mts +++ b/ts/structs/Result_MaxDustHTLCExposureDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_MessageContextDecodeErrorZ.mts b/ts/structs/Result_MessageContextDecodeErrorZ.mts index b951a3fc..6765523f 100644 --- a/ts/structs/Result_MessageContextDecodeErrorZ.mts +++ b/ts/structs/Result_MessageContextDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u6 import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_MonitorNameIOErrorZ.mts similarity index 91% rename from ts/structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mts rename to ts/structs/Result_MonitorNameIOErrorZ.mts index 23104712..827984cd 100644 --- a/ts/structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_MonitorNameIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,24 +741,24 @@ import * as bindings from '../bindings.mjs' -export class Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ extends CommonBase { +export class Result_MonitorNameIOErrorZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_free); + super(ptr, bindings.CResult_MonitorNameIOErrorZ_free); } /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - if (bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(ptr)) { - return new Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_OK(null, ptr); + public static constr_from_ptr(ptr: bigint): Result_MonitorNameIOErrorZ { + if (bindings.CResult_MonitorNameIOErrorZ_is_ok(ptr)) { + return new Result_MonitorNameIOErrorZ_OK(null, ptr); } else { - return new Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_Err(null, ptr); + return new Result_MonitorNameIOErrorZ_Err(null, ptr); } } /** - * Creates a new CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ in the success state. + * Creates a new CResult_MonitorNameIOErrorZ in the success state. */ - public static constructor_ok(o: InvoiceRequestWithDerivedPayerIdBuilder): Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_ok(CommonBase.get_ptr_of(o)); - const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_ok(o: MonitorName): Result_MonitorNameIOErrorZ { + const ret: bigint = bindings.CResult_MonitorNameIOErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_MonitorNameIOErrorZ = Result_MonitorNameIOErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, o); // Due to rust's strict-ownership memory model, in some cases we need to "move" // an object to pass exclusive ownership to the function being called. @@ -740,11 +772,11 @@ export class Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } /** - * Creates a new CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ in the error state. + * Creates a new CResult_MonitorNameIOErrorZ in the error state. */ - public static constructor_err(e: Bolt12SemanticError): Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_err(e); - const ret_hu_conv: Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_err(e: IOError): Result_MonitorNameIOErrorZ { + const ret: bigint = bindings.CResult_MonitorNameIOErrorZ_err(e); + const ret_hu_conv: Result_MonitorNameIOErrorZ = Result_MonitorNameIOErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -752,29 +784,29 @@ export class Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ * Checks if the given object is currently in the success state */ public is_ok(): boolean { - const ret: boolean = bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_is_ok(this.ptr); + const ret: boolean = bindings.CResult_MonitorNameIOErrorZ_is_ok(this.ptr); return ret; } } -export class Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_OK extends Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - public res: InvoiceRequestWithDerivedPayerIdBuilder; +export class Result_MonitorNameIOErrorZ_OK extends Result_MonitorNameIOErrorZ { + public res: MonitorName; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - const res: bigint = bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_ok(ptr); - const res_hu_conv: InvoiceRequestWithDerivedPayerIdBuilder = new InvoiceRequestWithDerivedPayerIdBuilder(null, res); + const res: bigint = bindings.CResult_MonitorNameIOErrorZ_get_ok(ptr); + const res_hu_conv: MonitorName = new MonitorName(null, res); CommonBase.add_ref_from(res_hu_conv, this); this.res = res_hu_conv; } } -export class Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_Err extends Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ { - public err: Bolt12SemanticError; +export class Result_MonitorNameIOErrorZ_Err extends Result_MonitorNameIOErrorZ { + public err: IOError; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - this.err = bindings.CResult_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ_get_err(ptr); + this.err = bindings.CResult_MonitorNameIOErrorZ_get_err(ptr); } } \ No newline at end of file diff --git a/ts/structs/Result_NetworkGraphDecodeErrorZ.mts b/ts/structs/Result_NetworkGraphDecodeErrorZ.mts index 37e2bacd..83190dfd 100644 --- a/ts/structs/Result_NetworkGraphDecodeErrorZ.mts +++ b/ts/structs/Result_NetworkGraphDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeAliasDecodeErrorZ.mts b/ts/structs/Result_NodeAliasDecodeErrorZ.mts index 9927a0c9..b621bcfc 100644 --- a/ts/structs/Result_NodeAliasDecodeErrorZ.mts +++ b/ts/structs/Result_NodeAliasDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeAnnouncementDecodeErrorZ.mts b/ts/structs/Result_NodeAnnouncementDecodeErrorZ.mts index 45140419..46311cab 100644 --- a/ts/structs/Result_NodeAnnouncementDecodeErrorZ.mts +++ b/ts/structs/Result_NodeAnnouncementDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeAnnouncementInfoDecodeErrorZ.mts b/ts/structs/Result_NodeAnnouncementInfoDecodeErrorZ.mts index 11bc80ec..adf0610a 100644 --- a/ts/structs/Result_NodeAnnouncementInfoDecodeErrorZ.mts +++ b/ts/structs/Result_NodeAnnouncementInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeFeaturesDecodeErrorZ.mts b/ts/structs/Result_NodeFeaturesDecodeErrorZ.mts index d0a2cafd..887afad6 100644 --- a/ts/structs/Result_NodeFeaturesDecodeErrorZ.mts +++ b/ts/structs/Result_NodeFeaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,18 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeIdDecodeErrorZ.mts b/ts/structs/Result_NodeIdDecodeErrorZ.mts index 5d661571..1a8599f4 100644 --- a/ts/structs/Result_NodeIdDecodeErrorZ.mts +++ b/ts/structs/Result_NodeIdDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NodeInfoDecodeErrorZ.mts b/ts/structs/Result_NodeInfoDecodeErrorZ.mts index b074b716..30a59c16 100644 --- a/ts/structs/Result_NodeInfoDecodeErrorZ.mts +++ b/ts/structs/Result_NodeInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NonceDecodeErrorZ.mts b/ts/structs/Result_NonceDecodeErrorZ.mts index ffbf788e..c0e10164 100644 --- a/ts/structs/Result_NonceDecodeErrorZ.mts +++ b/ts/structs/Result_NonceDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Option_EventZ } from '../structs/Option_EventZ.mjs'; import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneAPIErrorZ.mts b/ts/structs/Result_NoneAPIErrorZ.mts index b11e0851..98f68fd2 100644 --- a/ts/structs/Result_NoneAPIErrorZ.mts +++ b/ts/structs/Result_NoneAPIErrorZ.mts @@ -40,19 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneBolt11SemanticErrorZ.mts b/ts/structs/Result_NoneBolt11SemanticErrorZ.mts index f37f774c..feb6fe1a 100644 --- a/ts/structs/Result_NoneBolt11SemanticErrorZ.mts +++ b/ts/structs/Result_NoneBolt11SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mts b/ts/structs/Result_NoneBolt12PaymentErrorZ.mts similarity index 90% rename from ts/structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mts rename to ts/structs/Result_NoneBolt12PaymentErrorZ.mts index c2361cce..5a48110e 100644 --- a/ts/structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mts +++ b/ts/structs/Result_NoneBolt12PaymentErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,33 +741,33 @@ import * as bindings from '../bindings.mjs' -export class Result_ThirtyTwoBytesPaymentSendFailureZ extends CommonBase { +export class Result_NoneBolt12PaymentErrorZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_free); + super(ptr, bindings.CResult_NoneBolt12PaymentErrorZ_free); } /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_ThirtyTwoBytesPaymentSendFailureZ { - if (bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(ptr)) { - return new Result_ThirtyTwoBytesPaymentSendFailureZ_OK(null, ptr); + public static constr_from_ptr(ptr: bigint): Result_NoneBolt12PaymentErrorZ { + if (bindings.CResult_NoneBolt12PaymentErrorZ_is_ok(ptr)) { + return new Result_NoneBolt12PaymentErrorZ_OK(null, ptr); } else { - return new Result_ThirtyTwoBytesPaymentSendFailureZ_Err(null, ptr); + return new Result_NoneBolt12PaymentErrorZ_Err(null, ptr); } } /** - * Creates a new CResult_ThirtyTwoBytesPaymentSendFailureZ in the success state. + * Creates a new CResult_NoneBolt12PaymentErrorZ in the success state. */ - public static constructor_ok(o: Uint8Array): Result_ThirtyTwoBytesPaymentSendFailureZ { - const ret: bigint = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_ok(bindings.encodeUint8Array(bindings.check_arr_len(o, 32))); - const ret_hu_conv: Result_ThirtyTwoBytesPaymentSendFailureZ = Result_ThirtyTwoBytesPaymentSendFailureZ.constr_from_ptr(ret); + public static constructor_ok(): Result_NoneBolt12PaymentErrorZ { + const ret: bigint = bindings.CResult_NoneBolt12PaymentErrorZ_ok(); + const ret_hu_conv: Result_NoneBolt12PaymentErrorZ = Result_NoneBolt12PaymentErrorZ.constr_from_ptr(ret); return ret_hu_conv; } /** - * Creates a new CResult_ThirtyTwoBytesPaymentSendFailureZ in the error state. + * Creates a new CResult_NoneBolt12PaymentErrorZ in the error state. */ - public static constructor_err(e: PaymentSendFailure): Result_ThirtyTwoBytesPaymentSendFailureZ { - const ret: bigint = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_err(CommonBase.get_ptr_of(e)); - const ret_hu_conv: Result_ThirtyTwoBytesPaymentSendFailureZ = Result_ThirtyTwoBytesPaymentSendFailureZ.constr_from_ptr(ret); + public static constructor_err(e: Bolt12PaymentError): Result_NoneBolt12PaymentErrorZ { + const ret: bigint = bindings.CResult_NoneBolt12PaymentErrorZ_err(CommonBase.get_ptr_of(e)); + const ret_hu_conv: Result_NoneBolt12PaymentErrorZ = Result_NoneBolt12PaymentErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -743,45 +775,41 @@ export class Result_ThirtyTwoBytesPaymentSendFailureZ extends CommonBase { * Checks if the given object is currently in the success state */ public is_ok(): boolean { - const ret: boolean = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_is_ok(this.ptr); + const ret: boolean = bindings.CResult_NoneBolt12PaymentErrorZ_is_ok(this.ptr); return ret; } public clone_ptr(): bigint { - const ret: bigint = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_clone_ptr(this.ptr); + const ret: bigint = bindings.CResult_NoneBolt12PaymentErrorZ_clone_ptr(this.ptr); return ret; } /** - * Creates a new CResult_ThirtyTwoBytesPaymentSendFailureZ which has the same data as `orig` + * Creates a new CResult_NoneBolt12PaymentErrorZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ - public clone(): Result_ThirtyTwoBytesPaymentSendFailureZ { - const ret: bigint = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_clone(this.ptr); - const ret_hu_conv: Result_ThirtyTwoBytesPaymentSendFailureZ = Result_ThirtyTwoBytesPaymentSendFailureZ.constr_from_ptr(ret); + public clone(): Result_NoneBolt12PaymentErrorZ { + const ret: bigint = bindings.CResult_NoneBolt12PaymentErrorZ_clone(this.ptr); + const ret_hu_conv: Result_NoneBolt12PaymentErrorZ = Result_NoneBolt12PaymentErrorZ.constr_from_ptr(ret); return ret_hu_conv; } } -export class Result_ThirtyTwoBytesPaymentSendFailureZ_OK extends Result_ThirtyTwoBytesPaymentSendFailureZ { - public res: Uint8Array; +export class Result_NoneBolt12PaymentErrorZ_OK extends Result_NoneBolt12PaymentErrorZ { /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - const res: number = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_get_ok(ptr); - const res_conv: Uint8Array = bindings.decodeUint8Array(res); - this.res = res_conv; } } -export class Result_ThirtyTwoBytesPaymentSendFailureZ_Err extends Result_ThirtyTwoBytesPaymentSendFailureZ { - public err: PaymentSendFailure; +export class Result_NoneBolt12PaymentErrorZ_Err extends Result_NoneBolt12PaymentErrorZ { + public err: Bolt12PaymentError; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - const err: bigint = bindings.CResult_ThirtyTwoBytesPaymentSendFailureZ_get_err(ptr); - const err_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(err); + const err: bigint = bindings.CResult_NoneBolt12PaymentErrorZ_get_err(ptr); + const err_hu_conv: Bolt12PaymentError = Bolt12PaymentError.constr_from_ptr(err); CommonBase.add_ref_from(err_hu_conv, this); this.err = err_hu_conv; } diff --git a/ts/structs/Result_NoneBolt12SemanticErrorZ.mts b/ts/structs/Result_NoneBolt12SemanticErrorZ.mts index 0978e660..388858da 100644 --- a/ts/structs/Result_NoneBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_NoneBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,11 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneIOErrorZ.mts b/ts/structs/Result_NoneIOErrorZ.mts index a335bb7b..537721ec 100644 --- a/ts/structs/Result_NoneIOErrorZ.mts +++ b/ts/structs/Result_NoneIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { GraphSyncError } from '../structs/GraphSyncError.mjs'; import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneLightningErrorZ.mts b/ts/structs/Result_NoneLightningErrorZ.mts index b905eca6..ce36f3c7 100644 --- a/ts/structs/Result_NoneLightningErrorZ.mts +++ b/ts/structs/Result_NoneLightningErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneNoneZ.mts b/ts/structs/Result_NoneNoneZ.mts index f3b09f4d..b9d512f8 100644 --- a/ts/structs/Result_NoneNoneZ.mts +++ b/ts/structs/Result_NoneNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NonePeerHandleErrorZ.mts b/ts/structs/Result_NonePeerHandleErrorZ.mts index e15a94f8..91cf6225 100644 --- a/ts/structs/Result_NonePeerHandleErrorZ.mts +++ b/ts/structs/Result_NonePeerHandleErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneReplayEventZ.mts b/ts/structs/Result_NoneReplayEventZ.mts index 838d5e64..4a85e5e5 100644 --- a/ts/structs/Result_NoneReplayEventZ.mts +++ b/ts/structs/Result_NoneReplayEventZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/T import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneRetryableSendFailureZ.mts b/ts/structs/Result_NoneRetryableSendFailureZ.mts index 101579a5..ce2c28af 100644 --- a/ts/structs/Result_NoneRetryableSendFailureZ.mts +++ b/ts/structs/Result_NoneRetryableSendFailureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NoneSendErrorZ.mts b/ts/structs/Result_NoneSendErrorZ.mts index 51ab445d..49b32c01 100644 --- a/ts/structs/Result_NoneSendErrorZ.mts +++ b/ts/structs/Result_NoneSendErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs' import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OfferBolt12ParseErrorZ.mts b/ts/structs/Result_OfferBolt12ParseErrorZ.mts index 6b1d05fc..2d373382 100644 --- a/ts/structs/Result_OfferBolt12ParseErrorZ.mts +++ b/ts/structs/Result_OfferBolt12ParseErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OfferBolt12SemanticErrorZ.mts b/ts/structs/Result_OfferBolt12SemanticErrorZ.mts index 2ea4c6dc..eddef7ac 100644 --- a/ts/structs/Result_OfferBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_OfferBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,11 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OfferDecodeErrorZ.mts b/ts/structs/Result_OfferDecodeErrorZ.mts index da543dbf..9b164831 100644 --- a/ts/structs/Result_OfferDecodeErrorZ.mts +++ b/ts/structs/Result_OfferDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OfferIdDecodeErrorZ.mts b/ts/structs/Result_OfferIdDecodeErrorZ.mts index 6fbe0924..ffd49df4 100644 --- a/ts/structs/Result_OfferIdDecodeErrorZ.mts +++ b/ts/structs/Result_OfferIdDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,11 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts index d40a1d27..bf6f6e28 100644 --- a/ts/structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OffersContextDecodeErrorZ.mts b/ts/structs/Result_OffersContextDecodeErrorZ.mts index ce9809cd..05c891fd 100644 --- a/ts/structs/Result_OffersContextDecodeErrorZ.mts +++ b/ts/structs/Result_OffersContextDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u6 import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OffersMessageDecodeErrorZ.mts b/ts/structs/Result_OffersMessageDecodeErrorZ.mts index 18ed6c83..821d97cd 100644 --- a/ts/structs/Result_OffersMessageDecodeErrorZ.mts +++ b/ts/structs/Result_OffersMessageDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OnionMessageDecodeErrorZ.mts b/ts/structs/Result_OnionMessageDecodeErrorZ.mts index 84e9f65e..e805bb1c 100644 --- a/ts/structs/Result_OnionMessageDecodeErrorZ.mts +++ b/ts/structs/Result_OnionMessageDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OnionMessagePathNoneZ.mts b/ts/structs/Result_OnionMessagePathNoneZ.mts index c24ebb03..bf00816f 100644 --- a/ts/structs/Result_OnionMessagePathNoneZ.mts +++ b/ts/structs/Result_OnionMessagePathNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,11 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,11 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OnionPacketDecodeErrorZ.mts b/ts/structs/Result_OnionPacketDecodeErrorZ.mts index 94387e5c..bb75172d 100644 --- a/ts/structs/Result_OnionPacketDecodeErrorZ.mts +++ b/ts/structs/Result_OnionPacketDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OpenChannelDecodeErrorZ.mts b/ts/structs/Result_OpenChannelDecodeErrorZ.mts index 3b7b33e7..0c402b56 100644 --- a/ts/structs/Result_OpenChannelDecodeErrorZ.mts +++ b/ts/structs/Result_OpenChannelDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OpenChannelV2DecodeErrorZ.mts b/ts/structs/Result_OpenChannelV2DecodeErrorZ.mts index cb590573..464c3d46 100644 --- a/ts/structs/Result_OpenChannelV2DecodeErrorZ.mts +++ b/ts/structs/Result_OpenChannelV2DecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OutPointDecodeErrorZ.mts b/ts/structs/Result_OutPointDecodeErrorZ.mts index 5419cc16..32129fda 100644 --- a/ts/structs/Result_OutPointDecodeErrorZ.mts +++ b/ts/structs/Result_OutPointDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OutboundHTLCDetailsDecodeErrorZ.mts b/ts/structs/Result_OutboundHTLCDetailsDecodeErrorZ.mts index 36a4c893..c45b6f52 100644 --- a/ts/structs/Result_OutboundHTLCDetailsDecodeErrorZ.mts +++ b/ts/structs/Result_OutboundHTLCDetailsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OutputSpendStatusDecodeErrorZ.mts b/ts/structs/Result_OutputSpendStatusDecodeErrorZ.mts index 362790e6..a44d2b09 100644 --- a/ts/structs/Result_OutputSpendStatusDecodeErrorZ.mts +++ b/ts/structs/Result_OutputSpendStatusDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_OutputSweeperDecodeErrorZ.mts b/ts/structs/Result_OutputSweeperDecodeErrorZ.mts index 6f3406bb..588d3efd 100644 --- a/ts/structs/Result_OutputSweeperDecodeErrorZ.mts +++ b/ts/structs/Result_OutputSweeperDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PayeePubKeySecp256k1ErrorZ.mts b/ts/structs/Result_PayeePubKeySecp256k1ErrorZ.mts index 98feaf21..c1304577 100644 --- a/ts/structs/Result_PayeePubKeySecp256k1ErrorZ.mts +++ b/ts/structs/Result_PayeePubKeySecp256k1ErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PaymentConstraintsDecodeErrorZ.mts b/ts/structs/Result_PaymentConstraintsDecodeErrorZ.mts index 0788b57f..45f409bb 100644 --- a/ts/structs/Result_PaymentConstraintsDecodeErrorZ.mts +++ b/ts/structs/Result_PaymentConstraintsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { PaymentRelay } from '../structs/PaymentRelay.mjs'; import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PaymentContextDecodeErrorZ.mts b/ts/structs/Result_PaymentContextDecodeErrorZ.mts index 34dfa9b2..9dab4f96 100644 --- a/ts/structs/Result_PaymentContextDecodeErrorZ.mts +++ b/ts/structs/Result_PaymentContextDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { PaymentRelay } from '../structs/PaymentRelay.mjs'; import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PaymentParametersDecodeErrorZ.mts b/ts/structs/Result_PaymentParametersDecodeErrorZ.mts index d450b801..461da69f 100644 --- a/ts/structs/Result_PaymentParametersDecodeErrorZ.mts +++ b/ts/structs/Result_PaymentParametersDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PaymentPurposeDecodeErrorZ.mts b/ts/structs/Result_PaymentPurposeDecodeErrorZ.mts index a1703fb5..7cdde61d 100644 --- a/ts/structs/Result_PaymentPurposeDecodeErrorZ.mts +++ b/ts/structs/Result_PaymentPurposeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PaymentRelayDecodeErrorZ.mts b/ts/structs/Result_PaymentRelayDecodeErrorZ.mts index fdb52c19..6107ddcd 100644 --- a/ts/structs/Result_PaymentRelayDecodeErrorZ.mts +++ b/ts/structs/Result_PaymentRelayDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { PaymentRelay } from '../structs/PaymentRelay.mjs'; import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PeeledOnionNoneZ.mts b/ts/structs/Result_PeeledOnionNoneZ.mts index bb4d2541..151e86ce 100644 --- a/ts/structs/Result_PeeledOnionNoneZ.mts +++ b/ts/structs/Result_PeeledOnionNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PendingHTLCInfoDecodeErrorZ.mts b/ts/structs/Result_PendingHTLCInfoDecodeErrorZ.mts index ca75e3d7..3060b5a2 100644 --- a/ts/structs/Result_PendingHTLCInfoDecodeErrorZ.mts +++ b/ts/structs/Result_PendingHTLCInfoDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PendingHTLCInfoInboundHTLCErrZ.mts b/ts/structs/Result_PendingHTLCInfoInboundHTLCErrZ.mts index c9f626e7..a48ce468 100644 --- a/ts/structs/Result_PendingHTLCInfoInboundHTLCErrZ.mts +++ b/ts/structs/Result_PendingHTLCInfoInboundHTLCErrZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PendingHTLCRoutingDecodeErrorZ.mts b/ts/structs/Result_PendingHTLCRoutingDecodeErrorZ.mts index dcbaf1f7..44115ae3 100644 --- a/ts/structs/Result_PendingHTLCRoutingDecodeErrorZ.mts +++ b/ts/structs/Result_PendingHTLCRoutingDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PhantomRouteHintsDecodeErrorZ.mts b/ts/structs/Result_PhantomRouteHintsDecodeErrorZ.mts index 042a94a0..680a8463 100644 --- a/ts/structs/Result_PhantomRouteHintsDecodeErrorZ.mts +++ b/ts/structs/Result_PhantomRouteHintsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PingDecodeErrorZ.mts b/ts/structs/Result_PingDecodeErrorZ.mts index 0e707c36..1a8a077a 100644 --- a/ts/structs/Result_PingDecodeErrorZ.mts +++ b/ts/structs/Result_PingDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PongDecodeErrorZ.mts b/ts/structs/Result_PongDecodeErrorZ.mts index 982c2edf..184b68f0 100644 --- a/ts/structs/Result_PongDecodeErrorZ.mts +++ b/ts/structs/Result_PongDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PositiveTimestampCreationErrorZ.mts b/ts/structs/Result_PositiveTimestampCreationErrorZ.mts index 459a4af7..62432d10 100644 --- a/ts/structs/Result_PositiveTimestampCreationErrorZ.mts +++ b/ts/structs/Result_PositiveTimestampCreationErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PrivateRouteCreationErrorZ.mts b/ts/structs/Result_PrivateRouteCreationErrorZ.mts index 5d320e02..e8308ce3 100644 --- a/ts/structs/Result_PrivateRouteCreationErrorZ.mts +++ b/ts/structs/Result_PrivateRouteCreationErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ProbabilisticScorerDecodeErrorZ.mts b/ts/structs/Result_ProbabilisticScorerDecodeErrorZ.mts index 9e66c929..90ee804d 100644 --- a/ts/structs/Result_ProbabilisticScorerDecodeErrorZ.mts +++ b/ts/structs/Result_ProbabilisticScorerDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PublicKeyNoneZ.mts b/ts/structs/Result_PublicKeyNoneZ.mts index 77ce1d4b..65f63282 100644 --- a/ts/structs/Result_PublicKeyNoneZ.mts +++ b/ts/structs/Result_PublicKeyNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_PublicKeySecp256k1ErrorZ.mts b/ts/structs/Result_PublicKeySecp256k1ErrorZ.mts index 946e18cd..b2aa57fe 100644 --- a/ts/structs/Result_PublicKeySecp256k1ErrorZ.mts +++ b/ts/structs/Result_PublicKeySecp256k1ErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_QueryChannelRangeDecodeErrorZ.mts b/ts/structs/Result_QueryChannelRangeDecodeErrorZ.mts index 6b156557..829690c4 100644 --- a/ts/structs/Result_QueryChannelRangeDecodeErrorZ.mts +++ b/ts/structs/Result_QueryChannelRangeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_QueryShortChannelIdsDecodeErrorZ.mts b/ts/structs/Result_QueryShortChannelIdsDecodeErrorZ.mts index 91011cf8..1fecaf3e 100644 --- a/ts/structs/Result_QueryShortChannelIdsDecodeErrorZ.mts +++ b/ts/structs/Result_QueryShortChannelIdsDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RecipientOnionFieldsDecodeErrorZ.mts b/ts/structs/Result_RecipientOnionFieldsDecodeErrorZ.mts index 14d8ad4b..b2ec52a5 100644 --- a/ts/structs/Result_RecipientOnionFieldsDecodeErrorZ.mts +++ b/ts/structs/Result_RecipientOnionFieldsDecodeErrorZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RecipientOnionFieldsNoneZ.mts b/ts/structs/Result_RecipientOnionFieldsNoneZ.mts index 6eae8efa..4c057248 100644 --- a/ts/structs/Result_RecipientOnionFieldsNoneZ.mts +++ b/ts/structs/Result_RecipientOnionFieldsNoneZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RecoverableSignatureNoneZ.mts b/ts/structs/Result_RecoverableSignatureNoneZ.mts index 83180d25..3fef4fa7 100644 --- a/ts/structs/Result_RecoverableSignatureNoneZ.mts +++ b/ts/structs/Result_RecoverableSignatureNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RefundBolt12ParseErrorZ.mts b/ts/structs/Result_RefundBolt12ParseErrorZ.mts index 6024b67e..fa851f1c 100644 --- a/ts/structs/Result_RefundBolt12ParseErrorZ.mts +++ b/ts/structs/Result_RefundBolt12ParseErrorZ.mts @@ -39,20 +39,44 @@ import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ. import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RefundBolt12SemanticErrorZ.mts b/ts/structs/Result_RefundBolt12SemanticErrorZ.mts index 19fe79eb..4b8f1f25 100644 --- a/ts/structs/Result_RefundBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_RefundBolt12SemanticErrorZ.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RefundDecodeErrorZ.mts b/ts/structs/Result_RefundDecodeErrorZ.mts index 5b59cca6..464ffa66 100644 --- a/ts/structs/Result_RefundDecodeErrorZ.mts +++ b/ts/structs/Result_RefundDecodeErrorZ.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts index 4fa92c10..a5b3fbc3 100644 --- a/ts/structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ReleaseHeldHtlcDecodeErrorZ.mts b/ts/structs/Result_ReleaseHeldHtlcDecodeErrorZ.mts index 850488f4..1e577312 100644 --- a/ts/structs/Result_ReleaseHeldHtlcDecodeErrorZ.mts +++ b/ts/structs/Result_ReleaseHeldHtlcDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ReplyChannelRangeDecodeErrorZ.mts b/ts/structs/Result_ReplyChannelRangeDecodeErrorZ.mts index caa1e52d..c345f17e 100644 --- a/ts/structs/Result_ReplyChannelRangeDecodeErrorZ.mts +++ b/ts/structs/Result_ReplyChannelRangeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mts b/ts/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mts index 80063f78..d202dc0f 100644 --- a/ts/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mts +++ b/ts/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ResponderDecodeErrorZ.mts b/ts/structs/Result_ResponderDecodeErrorZ.mts index 9b4f6875..2fb95d9f 100644 --- a/ts/structs/Result_ResponderDecodeErrorZ.mts +++ b/ts/structs/Result_ResponderDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RetryDecodeErrorZ.mts b/ts/structs/Result_RetryDecodeErrorZ.mts index 35d976cb..2fcbef40 100644 --- a/ts/structs/Result_RetryDecodeErrorZ.mts +++ b/ts/structs/Result_RetryDecodeErrorZ.mts @@ -39,20 +39,44 @@ import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ. import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RevocationBasepointDecodeErrorZ.mts b/ts/structs/Result_RevocationBasepointDecodeErrorZ.mts index d09734aa..f08df144 100644 --- a/ts/structs/Result_RevocationBasepointDecodeErrorZ.mts +++ b/ts/structs/Result_RevocationBasepointDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RevocationKeyDecodeErrorZ.mts b/ts/structs/Result_RevocationKeyDecodeErrorZ.mts index f755e009..55e80497 100644 --- a/ts/structs/Result_RevocationKeyDecodeErrorZ.mts +++ b/ts/structs/Result_RevocationKeyDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RevokeAndACKDecodeErrorZ.mts b/ts/structs/Result_RevokeAndACKDecodeErrorZ.mts index 4e1996b9..96579a9e 100644 --- a/ts/structs/Result_RevokeAndACKDecodeErrorZ.mts +++ b/ts/structs/Result_RevokeAndACKDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteDecodeErrorZ.mts b/ts/structs/Result_RouteDecodeErrorZ.mts index 8f7add63..938a591c 100644 --- a/ts/structs/Result_RouteDecodeErrorZ.mts +++ b/ts/structs/Result_RouteDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteHintDecodeErrorZ.mts b/ts/structs/Result_RouteHintDecodeErrorZ.mts index 5795c0d3..de71a4c3 100644 --- a/ts/structs/Result_RouteHintDecodeErrorZ.mts +++ b/ts/structs/Result_RouteHintDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteHintHopDecodeErrorZ.mts b/ts/structs/Result_RouteHintHopDecodeErrorZ.mts index 963c6383..4e812b63 100644 --- a/ts/structs/Result_RouteHintHopDecodeErrorZ.mts +++ b/ts/structs/Result_RouteHintHopDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteHopDecodeErrorZ.mts b/ts/structs/Result_RouteHopDecodeErrorZ.mts index 110a55db..4ce0442e 100644 --- a/ts/structs/Result_RouteHopDecodeErrorZ.mts +++ b/ts/structs/Result_RouteHopDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteLightningErrorZ.mts b/ts/structs/Result_RouteLightningErrorZ.mts index bfa37eea..02cec7fa 100644 --- a/ts/structs/Result_RouteLightningErrorZ.mts +++ b/ts/structs/Result_RouteLightningErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RouteParametersDecodeErrorZ.mts b/ts/structs/Result_RouteParametersDecodeErrorZ.mts index 637565be..e9a2bbf8 100644 --- a/ts/structs/Result_RouteParametersDecodeErrorZ.mts +++ b/ts/structs/Result_RouteParametersDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_RoutingFeesDecodeErrorZ.mts b/ts/structs/Result_RoutingFeesDecodeErrorZ.mts index 3fc348b3..18a6e072 100644 --- a/ts/structs/Result_RoutingFeesDecodeErrorZ.mts +++ b/ts/structs/Result_RoutingFeesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SchnorrSignatureNoneZ.mts b/ts/structs/Result_SchnorrSignatureNoneZ.mts index 26dbf31e..4dcfc0fd 100644 --- a/ts/structs/Result_SchnorrSignatureNoneZ.mts +++ b/ts/structs/Result_SchnorrSignatureNoneZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SendSuccessSendErrorZ.mts b/ts/structs/Result_SendSuccessSendErrorZ.mts index 52df0979..805fbc7a 100644 --- a/ts/structs/Result_SendSuccessSendErrorZ.mts +++ b/ts/structs/Result_SendSuccessSendErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs' import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ShutdownDecodeErrorZ.mts b/ts/structs/Result_ShutdownDecodeErrorZ.mts index 3b2f9a75..67088b69 100644 --- a/ts/structs/Result_ShutdownDecodeErrorZ.mts +++ b/ts/structs/Result_ShutdownDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ShutdownScriptDecodeErrorZ.mts b/ts/structs/Result_ShutdownScriptDecodeErrorZ.mts index 6f012390..ccfc92fd 100644 --- a/ts/structs/Result_ShutdownScriptDecodeErrorZ.mts +++ b/ts/structs/Result_ShutdownScriptDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ShutdownScriptInvalidShutdownScriptZ.mts b/ts/structs/Result_ShutdownScriptInvalidShutdownScriptZ.mts index be282659..b6e2962d 100644 --- a/ts/structs/Result_ShutdownScriptInvalidShutdownScriptZ.mts +++ b/ts/structs/Result_ShutdownScriptInvalidShutdownScriptZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ShutdownScriptNoneZ.mts b/ts/structs/Result_ShutdownScriptNoneZ.mts index cbf4700f..7dc96e43 100644 --- a/ts/structs/Result_ShutdownScriptNoneZ.mts +++ b/ts/structs/Result_ShutdownScriptNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SiPrefixBolt11ParseErrorZ.mts b/ts/structs/Result_SiPrefixBolt11ParseErrorZ.mts index 65130f4e..b1add0bf 100644 --- a/ts/structs/Result_SiPrefixBolt11ParseErrorZ.mts +++ b/ts/structs/Result_SiPrefixBolt11ParseErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Option_EventZ } from '../structs/Option_EventZ.mjs'; import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -779,7 +811,7 @@ export class Result_SiPrefixBolt11ParseErrorZ_Err extends Result_SiPrefixBolt11P public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); const err: bigint = bindings.CResult_SiPrefixBolt11ParseErrorZ_get_err(ptr); - const err_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(err); + const err_hu_conv: Bolt11ParseError = new Bolt11ParseError(null, err); CommonBase.add_ref_from(err_hu_conv, this); this.err = err_hu_conv; } diff --git a/ts/structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mts b/ts/structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mts index 0645e12e..88055a3e 100644 --- a/ts/structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mts +++ b/ts/structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -782,7 +814,7 @@ export class Result_SignedRawBolt11InvoiceBolt11ParseErrorZ_Err extends Result_S public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); const err: bigint = bindings.CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ_get_err(ptr); - const err_hu_conv: Bolt11ParseError = Bolt11ParseError.constr_from_ptr(err); + const err_hu_conv: Bolt11ParseError = new Bolt11ParseError(null, err); CommonBase.add_ref_from(err_hu_conv, this); this.err = err_hu_conv; } diff --git a/ts/structs/Result_SocketAddressDecodeErrorZ.mts b/ts/structs/Result_SocketAddressDecodeErrorZ.mts index a88a5ef4..9273b330 100644 --- a/ts/structs/Result_SocketAddressDecodeErrorZ.mts +++ b/ts/structs/Result_SocketAddressDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SocketAddressSocketAddressParseErrorZ.mts b/ts/structs/Result_SocketAddressSocketAddressParseErrorZ.mts index 840e8188..288532d2 100644 --- a/ts/structs/Result_SocketAddressSocketAddressParseErrorZ.mts +++ b/ts/structs/Result_SocketAddressSocketAddressParseErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.mts b/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.mts index 623d5ef0..7dc23b76 100644 --- a/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.mts +++ b/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SpliceAckDecodeErrorZ.mts b/ts/structs/Result_SpliceAckDecodeErrorZ.mts index 5c6d80d2..43e7bc1f 100644 --- a/ts/structs/Result_SpliceAckDecodeErrorZ.mts +++ b/ts/structs/Result_SpliceAckDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SpliceInitDecodeErrorZ.mts b/ts/structs/Result_SpliceInitDecodeErrorZ.mts index 1739ae91..c597009a 100644 --- a/ts/structs/Result_SpliceInitDecodeErrorZ.mts +++ b/ts/structs/Result_SpliceInitDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_SpliceLockedDecodeErrorZ.mts b/ts/structs/Result_SpliceLockedDecodeErrorZ.mts index d0ba167d..4edd5b17 100644 --- a/ts/structs/Result_SpliceLockedDecodeErrorZ.mts +++ b/ts/structs/Result_SpliceLockedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mts b/ts/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mts index e54e88ca..cd4ccfa7 100644 --- a/ts/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mts +++ b/ts/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_StfuDecodeErrorZ.mts b/ts/structs/Result_StfuDecodeErrorZ.mts index 995c0539..f9c05353 100644 --- a/ts/structs/Result_StfuDecodeErrorZ.mts +++ b/ts/structs/Result_StfuDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ThirtyTwoBytesAPIErrorZ.mts b/ts/structs/Result_ThirtyTwoBytesAPIErrorZ.mts index 380d9835..563f6e50 100644 --- a/ts/structs/Result_ThirtyTwoBytesAPIErrorZ.mts +++ b/ts/structs/Result_ThirtyTwoBytesAPIErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ThirtyTwoBytesNoneZ.mts b/ts/structs/Result_ThirtyTwoBytesNoneZ.mts index 4f901946..129e93c9 100644 --- a/ts/structs/Result_ThirtyTwoBytesNoneZ.mts +++ b/ts/structs/Result_ThirtyTwoBytesNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mts b/ts/structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mts index 86d1a88d..665b0aaf 100644 --- a/ts/structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mts +++ b/ts/structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TrackedSpendableOutputDecodeErrorZ.mts b/ts/structs/Result_TrackedSpendableOutputDecodeErrorZ.mts index 6a9f61e0..b3bb98fb 100644 --- a/ts/structs/Result_TrackedSpendableOutputDecodeErrorZ.mts +++ b/ts/structs/Result_TrackedSpendableOutputDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TransactionNoneZ.mts b/ts/structs/Result_TransactionNoneZ.mts index c7316d95..99cbe0c9 100644 --- a/ts/structs/Result_TransactionNoneZ.mts +++ b/ts/structs/Result_TransactionNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TransactionU16LenLimitedDecodeErrorZ.mts b/ts/structs/Result_TransactionU16LenLimitedDecodeErrorZ.mts index e2d86458..290fed71 100644 --- a/ts/structs/Result_TransactionU16LenLimitedDecodeErrorZ.mts +++ b/ts/structs/Result_TransactionU16LenLimitedDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErr import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TransactionU16LenLimitedNoneZ.mts b/ts/structs/Result_TransactionU16LenLimitedNoneZ.mts index 20356b15..15722f3a 100644 --- a/ts/structs/Result_TransactionU16LenLimitedNoneZ.mts +++ b/ts/structs/Result_TransactionU16LenLimitedNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErr import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TrustedClosingTransactionNoneZ.mts b/ts/structs/Result_TrustedClosingTransactionNoneZ.mts index 0ef97697..a664dade 100644 --- a/ts/structs/Result_TrustedClosingTransactionNoneZ.mts +++ b/ts/structs/Result_TrustedClosingTransactionNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TrustedCommitmentTransactionNoneZ.mts b/ts/structs/Result_TrustedCommitmentTransactionNoneZ.mts index 7eca5173..6df9167d 100644 --- a/ts/structs/Result_TrustedCommitmentTransactionNoneZ.mts +++ b/ts/structs/Result_TrustedCommitmentTransactionNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxAbortDecodeErrorZ.mts b/ts/structs/Result_TxAbortDecodeErrorZ.mts index d19d75f3..be799c3f 100644 --- a/ts/structs/Result_TxAbortDecodeErrorZ.mts +++ b/ts/structs/Result_TxAbortDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxAckRbfDecodeErrorZ.mts b/ts/structs/Result_TxAckRbfDecodeErrorZ.mts index 964b8e91..9549ff9e 100644 --- a/ts/structs/Result_TxAckRbfDecodeErrorZ.mts +++ b/ts/structs/Result_TxAckRbfDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxAddInputDecodeErrorZ.mts b/ts/structs/Result_TxAddInputDecodeErrorZ.mts index 5d8bdd80..3018003e 100644 --- a/ts/structs/Result_TxAddInputDecodeErrorZ.mts +++ b/ts/structs/Result_TxAddInputDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxAddOutputDecodeErrorZ.mts b/ts/structs/Result_TxAddOutputDecodeErrorZ.mts index d3c890f4..5aea3314 100644 --- a/ts/structs/Result_TxAddOutputDecodeErrorZ.mts +++ b/ts/structs/Result_TxAddOutputDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxCompleteDecodeErrorZ.mts b/ts/structs/Result_TxCompleteDecodeErrorZ.mts index 3408105c..af50fc02 100644 --- a/ts/structs/Result_TxCompleteDecodeErrorZ.mts +++ b/ts/structs/Result_TxCompleteDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxCreationKeysDecodeErrorZ.mts b/ts/structs/Result_TxCreationKeysDecodeErrorZ.mts index 4beb0273..c403f907 100644 --- a/ts/structs/Result_TxCreationKeysDecodeErrorZ.mts +++ b/ts/structs/Result_TxCreationKeysDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxInitRbfDecodeErrorZ.mts b/ts/structs/Result_TxInitRbfDecodeErrorZ.mts index 48ccf228..117c51d4 100644 --- a/ts/structs/Result_TxInitRbfDecodeErrorZ.mts +++ b/ts/structs/Result_TxInitRbfDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxOutUtxoLookupErrorZ.mts b/ts/structs/Result_TxOutUtxoLookupErrorZ.mts index 3f1d7b53..468f5d40 100644 --- a/ts/structs/Result_TxOutUtxoLookupErrorZ.mts +++ b/ts/structs/Result_TxOutUtxoLookupErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxRemoveInputDecodeErrorZ.mts b/ts/structs/Result_TxRemoveInputDecodeErrorZ.mts index 1c15f25c..d922e7fc 100644 --- a/ts/structs/Result_TxRemoveInputDecodeErrorZ.mts +++ b/ts/structs/Result_TxRemoveInputDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxRemoveOutputDecodeErrorZ.mts b/ts/structs/Result_TxRemoveOutputDecodeErrorZ.mts index 1f4c0e99..cb7cb73c 100644 --- a/ts/structs/Result_TxRemoveOutputDecodeErrorZ.mts +++ b/ts/structs/Result_TxRemoveOutputDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_TxSignaturesDecodeErrorZ.mts b/ts/structs/Result_TxSignaturesDecodeErrorZ.mts index 7f3f82ab..469d03a9 100644 --- a/ts/structs/Result_TxSignaturesDecodeErrorZ.mts +++ b/ts/structs/Result_TxSignaturesDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mts b/ts/structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mts index 21e32042..b8bad383 100644 --- a/ts/structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mts b/ts/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mts index a0ab225e..8e0b337b 100644 --- a/ts/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mts +++ b/ts/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.mts b/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.mts index 658d5e89..18893ec0 100644 --- a/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.mts +++ b/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mts b/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mts index 9409b9d1..00867ae5 100644 --- a/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mts +++ b/ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UntrustedStringDecodeErrorZ.mts b/ts/structs/Result_UntrustedStringDecodeErrorZ.mts index 0f84972d..2cd14fd9 100644 --- a/ts/structs/Result_UntrustedStringDecodeErrorZ.mts +++ b/ts/structs/Result_UntrustedStringDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UpdateAddHTLCDecodeErrorZ.mts b/ts/structs/Result_UpdateAddHTLCDecodeErrorZ.mts index d83db3e0..c966a722 100644 --- a/ts/structs/Result_UpdateAddHTLCDecodeErrorZ.mts +++ b/ts/structs/Result_UpdateAddHTLCDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UpdateFailHTLCDecodeErrorZ.mts b/ts/structs/Result_UpdateFailHTLCDecodeErrorZ.mts index c4443162..d04004d8 100644 --- a/ts/structs/Result_UpdateFailHTLCDecodeErrorZ.mts +++ b/ts/structs/Result_UpdateFailHTLCDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mts b/ts/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mts index 47c0b6f8..72ff65cc 100644 --- a/ts/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mts +++ b/ts/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UpdateFeeDecodeErrorZ.mts b/ts/structs/Result_UpdateFeeDecodeErrorZ.mts index f2171526..b75d23f4 100644 --- a/ts/structs/Result_UpdateFeeDecodeErrorZ.mts +++ b/ts/structs/Result_UpdateFeeDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UpdateFulfillHTLCDecodeErrorZ.mts b/ts/structs/Result_UpdateFulfillHTLCDecodeErrorZ.mts index 2b8ebde6..de8ea998 100644 --- a/ts/structs/Result_UpdateFulfillHTLCDecodeErrorZ.mts +++ b/ts/structs/Result_UpdateFulfillHTLCDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mts b/ts/structs/Result_UpdateNameIOErrorZ.mts similarity index 91% rename from ts/structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mts rename to ts/structs/Result_UpdateNameIOErrorZ.mts index c16d8f9f..a117a138 100644 --- a/ts/structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mts +++ b/ts/structs/Result_UpdateNameIOErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,28 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,24 +741,24 @@ import * as bindings from '../bindings.mjs' -export class Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ extends CommonBase { +export class Result_UpdateNameIOErrorZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_free); + super(ptr, bindings.CResult_UpdateNameIOErrorZ_free); } /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - if (bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(ptr)) { - return new Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_OK(null, ptr); + public static constr_from_ptr(ptr: bigint): Result_UpdateNameIOErrorZ { + if (bindings.CResult_UpdateNameIOErrorZ_is_ok(ptr)) { + return new Result_UpdateNameIOErrorZ_OK(null, ptr); } else { - return new Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_Err(null, ptr); + return new Result_UpdateNameIOErrorZ_Err(null, ptr); } } /** - * Creates a new CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ in the success state. + * Creates a new CResult_UpdateNameIOErrorZ in the success state. */ - public static constructor_ok(o: InvoiceRequestWithExplicitPayerIdBuilder): Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_ok(CommonBase.get_ptr_of(o)); - const ret_hu_conv: Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_ok(o: UpdateName): Result_UpdateNameIOErrorZ { + const ret: bigint = bindings.CResult_UpdateNameIOErrorZ_ok(CommonBase.get_ptr_of(o)); + const ret_hu_conv: Result_UpdateNameIOErrorZ = Result_UpdateNameIOErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, o); // Due to rust's strict-ownership memory model, in some cases we need to "move" // an object to pass exclusive ownership to the function being called. @@ -740,11 +772,11 @@ export class Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } /** - * Creates a new CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ in the error state. + * Creates a new CResult_UpdateNameIOErrorZ in the error state. */ - public static constructor_err(e: Bolt12SemanticError): Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - const ret: bigint = bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_err(e); - const ret_hu_conv: Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ = Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.constr_from_ptr(ret); + public static constructor_err(e: IOError): Result_UpdateNameIOErrorZ { + const ret: bigint = bindings.CResult_UpdateNameIOErrorZ_err(e); + const ret_hu_conv: Result_UpdateNameIOErrorZ = Result_UpdateNameIOErrorZ.constr_from_ptr(ret); return ret_hu_conv; } @@ -752,29 +784,29 @@ export class Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ * Checks if the given object is currently in the success state */ public is_ok(): boolean { - const ret: boolean = bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_is_ok(this.ptr); + const ret: boolean = bindings.CResult_UpdateNameIOErrorZ_is_ok(this.ptr); return ret; } } -export class Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_OK extends Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - public res: InvoiceRequestWithExplicitPayerIdBuilder; +export class Result_UpdateNameIOErrorZ_OK extends Result_UpdateNameIOErrorZ { + public res: UpdateName; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - const res: bigint = bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_ok(ptr); - const res_hu_conv: InvoiceRequestWithExplicitPayerIdBuilder = new InvoiceRequestWithExplicitPayerIdBuilder(null, res); + const res: bigint = bindings.CResult_UpdateNameIOErrorZ_get_ok(ptr); + const res_hu_conv: UpdateName = new UpdateName(null, res); CommonBase.add_ref_from(res_hu_conv, this); this.res = res_hu_conv; } } -export class Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_Err extends Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ { - public err: Bolt12SemanticError; +export class Result_UpdateNameIOErrorZ_Err extends Result_UpdateNameIOErrorZ { + public err: IOError; /* @internal */ public constructor(_dummy: null, ptr: bigint) { super(_dummy, ptr); - this.err = bindings.CResult_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ_get_err(ptr); + this.err = bindings.CResult_UpdateNameIOErrorZ_get_err(ptr); } } \ No newline at end of file diff --git a/ts/structs/Result_VerifiedInvoiceRequestNoneZ.mts b/ts/structs/Result_VerifiedInvoiceRequestNoneZ.mts index dc737686..1d066ca0 100644 --- a/ts/structs/Result_VerifiedInvoiceRequestNoneZ.mts +++ b/ts/structs/Result_VerifiedInvoiceRequestNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_WarningMessageDecodeErrorZ.mts b/ts/structs/Result_WarningMessageDecodeErrorZ.mts index 100d3646..7893b9f9 100644 --- a/ts/structs/Result_WarningMessageDecodeErrorZ.mts +++ b/ts/structs/Result_WarningMessageDecodeErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_WitnessNoneZ.mts b/ts/structs/Result_WitnessNoneZ.mts index 333f868c..40c3be40 100644 --- a/ts/structs/Result_WitnessNoneZ.mts +++ b/ts/structs/Result_WitnessNoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result__u832NoneZ.mts b/ts/structs/Result__u832NoneZ.mts index 936f3442..050147f4 100644 --- a/ts/structs/Result__u832NoneZ.mts +++ b/ts/structs/Result__u832NoneZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_boolLightningErrorZ.mts b/ts/structs/Result_boolLightningErrorZ.mts index 0e5be693..c763e986 100644 --- a/ts/structs/Result_boolLightningErrorZ.mts +++ b/ts/structs/Result_boolLightningErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_boolPeerHandleErrorZ.mts b/ts/structs/Result_boolPeerHandleErrorZ.mts index 3cf86651..8733ce7b 100644 --- a/ts/structs/Result_boolPeerHandleErrorZ.mts +++ b/ts/structs/Result_boolPeerHandleErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_u32GraphSyncErrorZ.mts b/ts/structs/Result_u32GraphSyncErrorZ.mts index e64def75..a7ca3aea 100644 --- a/ts/structs/Result_u32GraphSyncErrorZ.mts +++ b/ts/structs/Result_u32GraphSyncErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { GraphSyncError } from '../structs/GraphSyncError.mjs'; import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_u64ShortChannelIdErrorZ.mts b/ts/structs/Result_u64ShortChannelIdErrorZ.mts index 424cb0d7..cfd133a9 100644 --- a/ts/structs/Result_u64ShortChannelIdErrorZ.mts +++ b/ts/structs/Result_u64ShortChannelIdErrorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Retry.mts b/ts/structs/Retry.mts index dbc8f6e4..8cea7295 100644 --- a/ts/structs/Retry.mts +++ b/ts/structs/Retry.mts @@ -39,20 +39,44 @@ import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ. import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RevocationBasepoint.mts b/ts/structs/RevocationBasepoint.mts index fdb065c2..668cd815 100644 --- a/ts/structs/RevocationBasepoint.mts +++ b/ts/structs/RevocationBasepoint.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RevocationKey.mts b/ts/structs/RevocationKey.mts index f4a66dbd..7171b016 100644 --- a/ts/structs/RevocationKey.mts +++ b/ts/structs/RevocationKey.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RevokeAndACK.mts b/ts/structs/RevokeAndACK.mts index 9970d55a..980cab16 100644 --- a/ts/structs/RevokeAndACK.mts +++ b/ts/structs/RevokeAndACK.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Route.mts b/ts/structs/Route.mts index cced9390..f519df1f 100644 --- a/ts/structs/Route.mts +++ b/ts/structs/Route.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RouteHint.mts b/ts/structs/RouteHint.mts index 701d6559..96725925 100644 --- a/ts/structs/RouteHint.mts +++ b/ts/structs/RouteHint.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RouteHintHop.mts b/ts/structs/RouteHintHop.mts index 03190b95..b5f1c579 100644 --- a/ts/structs/RouteHintHop.mts +++ b/ts/structs/RouteHintHop.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RouteHop.mts b/ts/structs/RouteHop.mts index a640cf68..18236cdc 100644 --- a/ts/structs/RouteHop.mts +++ b/ts/structs/RouteHop.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RouteParameters.mts b/ts/structs/RouteParameters.mts index 94aa2a74..71ede89a 100644 --- a/ts/structs/RouteParameters.mts +++ b/ts/structs/RouteParameters.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Router.mts b/ts/structs/Router.mts index add3beb2..db58f6eb 100644 --- a/ts/structs/Router.mts +++ b/ts/structs/Router.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,6 +328,10 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -759,7 +791,7 @@ export class Router extends CommonBase { } /** Creates a new instance of Router from a given implementation */ - public static new_impl(arg: RouterInterface, messageRouter_impl: MessageRouterInterface): Router { + public static new_impl(arg: RouterInterface): Router { const impl_holder: LDKRouterHolder = new LDKRouterHolder(); let structImplementation = { find_route (payer: number, route_params: bigint, first_hops: number, inflight_htlcs: bigint): bigint { @@ -767,7 +799,7 @@ export class Router extends CommonBase { const route_params_hu_conv: RouteParameters = new RouteParameters(null, route_params); const first_hops_conv_16_len: number = bindings.getArrayLength(first_hops); const first_hops_conv_16_arr: ChannelDetails[] = new Array(first_hops_conv_16_len).fill(null); - if (first_hops != null) { + if (first_hops != 0) { for (var q = 0; q < first_hops_conv_16_len; q++) { const first_hops_conv_16: bigint = bindings.getU64ArrayElem(first_hops, q); const first_hops_conv_16_hu_conv: ChannelDetails = new ChannelDetails(null, first_hops_conv_16); @@ -787,7 +819,7 @@ export class Router extends CommonBase { const route_params_hu_conv: RouteParameters = new RouteParameters(null, route_params); const first_hops_conv_16_len: number = bindings.getArrayLength(first_hops); const first_hops_conv_16_arr: ChannelDetails[] = new Array(first_hops_conv_16_len).fill(null); - if (first_hops != null) { + if (first_hops != 0) { for (var q = 0; q < first_hops_conv_16_len; q++) { const first_hops_conv_16: bigint = bindings.getU64ArrayElem(first_hops, q); const first_hops_conv_16_hu_conv: ChannelDetails = new ChannelDetails(null, first_hops_conv_16); @@ -822,13 +854,11 @@ export class Router extends CommonBase { return result; }, } as bindings.LDKRouter; - const messageRouter = MessageRouter.new_impl(messageRouter_impl); - const ptr_idx: [bigint, number] = bindings.LDKRouter_new(structImplementation, messageRouter.instance_idx!); + const ptr_idx: [bigint, number] = bindings.LDKRouter_new(structImplementation); impl_holder.held = new Router(null, ptr_idx[0]); impl_holder.held.instance_idx = ptr_idx[1]; impl_holder.held.bindings_instance = structImplementation; - impl_holder.held.ptrs_to.push(messageRouter); return impl_holder.held!; } diff --git a/ts/structs/RoutingFees.mts b/ts/structs/RoutingFees.mts index 52fb313a..23d513a6 100644 --- a/ts/structs/RoutingFees.mts +++ b/ts/structs/RoutingFees.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/RoutingMessageHandler.mts b/ts/structs/RoutingMessageHandler.mts index cab4d6a1..2fdb0909 100644 --- a/ts/structs/RoutingMessageHandler.mts +++ b/ts/structs/RoutingMessageHandler.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -714,16 +746,28 @@ import * as bindings from '../bindings.mjs' export interface RoutingMessageHandlerInterface { /**Handle an incoming `node_announcement` message, returning `true` if it should be forwarded on, * `false` or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - handle_node_announcement(msg: NodeAnnouncement): Result_boolLightningErrorZ; + handle_node_announcement(their_node_id: Uint8Array, msg: NodeAnnouncement): Result_boolLightningErrorZ; /**Handle a `channel_announcement` message, returning `true` if it should be forwarded on, `false` * or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - handle_channel_announcement(msg: ChannelAnnouncement): Result_boolLightningErrorZ; + handle_channel_announcement(their_node_id: Uint8Array, msg: ChannelAnnouncement): Result_boolLightningErrorZ; /**Handle an incoming `channel_update` message, returning true if it should be forwarded on, * `false` or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - handle_channel_update(msg: ChannelUpdate): Result_boolLightningErrorZ; + handle_channel_update(their_node_id: Uint8Array, msg: ChannelUpdate): Result_boolLightningErrorZ; /**Gets channel announcements and updates required to dump our routing table to a remote node, * starting at the `short_channel_id` indicated by `starting_point` and including announcements * for a single channel. @@ -816,21 +860,24 @@ export class RoutingMessageHandler extends CommonBase { public static new_impl(arg: RoutingMessageHandlerInterface, messageSendEventsProvider_impl: MessageSendEventsProviderInterface): RoutingMessageHandler { const impl_holder: LDKRoutingMessageHandlerHolder = new LDKRoutingMessageHandlerHolder(); let structImplementation = { - handle_node_announcement (msg: bigint): bigint { + handle_node_announcement (their_node_id: number, msg: bigint): bigint { + const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id); const msg_hu_conv: NodeAnnouncement = new NodeAnnouncement(null, msg); - const ret: Result_boolLightningErrorZ = arg.handle_node_announcement(msg_hu_conv); + const ret: Result_boolLightningErrorZ = arg.handle_node_announcement(their_node_id_conv, msg_hu_conv); const result: bigint = ret.clone_ptr(); return result; }, - handle_channel_announcement (msg: bigint): bigint { + handle_channel_announcement (their_node_id: number, msg: bigint): bigint { + const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id); const msg_hu_conv: ChannelAnnouncement = new ChannelAnnouncement(null, msg); - const ret: Result_boolLightningErrorZ = arg.handle_channel_announcement(msg_hu_conv); + const ret: Result_boolLightningErrorZ = arg.handle_channel_announcement(their_node_id_conv, msg_hu_conv); const result: bigint = ret.clone_ptr(); return result; }, - handle_channel_update (msg: bigint): bigint { + handle_channel_update (their_node_id: number, msg: bigint): bigint { + const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id); const msg_hu_conv: ChannelUpdate = new ChannelUpdate(null, msg); - const ret: Result_boolLightningErrorZ = arg.handle_channel_update(msg_hu_conv); + const ret: Result_boolLightningErrorZ = arg.handle_channel_update(their_node_id_conv, msg_hu_conv); const result: bigint = ret.clone_ptr(); return result; }, @@ -914,9 +961,13 @@ export class RoutingMessageHandler extends CommonBase { /** * Handle an incoming `node_announcement` message, returning `true` if it should be forwarded on, * `false` or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public handle_node_announcement(msg: NodeAnnouncement): Result_boolLightningErrorZ { - const ret: bigint = bindings.RoutingMessageHandler_handle_node_announcement(this.ptr, CommonBase.get_ptr_of(msg)); + public handle_node_announcement(their_node_id: Uint8Array|null, msg: NodeAnnouncement): Result_boolLightningErrorZ { + const ret: bigint = bindings.RoutingMessageHandler_handle_node_announcement(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), CommonBase.get_ptr_of(msg)); const ret_hu_conv: Result_boolLightningErrorZ = Result_boolLightningErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(this, msg); return ret_hu_conv; @@ -925,9 +976,13 @@ export class RoutingMessageHandler extends CommonBase { /** * Handle a `channel_announcement` message, returning `true` if it should be forwarded on, `false` * or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public handle_channel_announcement(msg: ChannelAnnouncement): Result_boolLightningErrorZ { - const ret: bigint = bindings.RoutingMessageHandler_handle_channel_announcement(this.ptr, CommonBase.get_ptr_of(msg)); + public handle_channel_announcement(their_node_id: Uint8Array|null, msg: ChannelAnnouncement): Result_boolLightningErrorZ { + const ret: bigint = bindings.RoutingMessageHandler_handle_channel_announcement(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), CommonBase.get_ptr_of(msg)); const ret_hu_conv: Result_boolLightningErrorZ = Result_boolLightningErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(this, msg); return ret_hu_conv; @@ -936,9 +991,13 @@ export class RoutingMessageHandler extends CommonBase { /** * Handle an incoming `channel_update` message, returning true if it should be forwarded on, * `false` or returning an `Err` otherwise. + * + * If `their_node_id` is `None`, the message was generated by our own local node. + * + * Note that their_node_id (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public handle_channel_update(msg: ChannelUpdate): Result_boolLightningErrorZ { - const ret: bigint = bindings.RoutingMessageHandler_handle_channel_update(this.ptr, CommonBase.get_ptr_of(msg)); + public handle_channel_update(their_node_id: Uint8Array|null, msg: ChannelUpdate): Result_boolLightningErrorZ { + const ret: bigint = bindings.RoutingMessageHandler_handle_channel_update(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), CommonBase.get_ptr_of(msg)); const ret_hu_conv: Result_boolLightningErrorZ = Result_boolLightningErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(this, msg); return ret_hu_conv; diff --git a/ts/structs/Score.mts b/ts/structs/Score.mts index 11e0cf68..d553b9ea 100644 --- a/ts/structs/Score.mts +++ b/ts/structs/Score.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ScoreLookUp.mts b/ts/structs/ScoreLookUp.mts index e222f53c..fe88d545 100644 --- a/ts/structs/ScoreLookUp.mts +++ b/ts/structs/ScoreLookUp.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ScoreUpdate.mts b/ts/structs/ScoreUpdate.mts index 6961f533..fabe3b11 100644 --- a/ts/structs/ScoreUpdate.mts +++ b/ts/structs/ScoreUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ScorerAccountingForInFlightHtlcs.mts b/ts/structs/ScorerAccountingForInFlightHtlcs.mts index b6bd123e..720cd260 100644 --- a/ts/structs/ScorerAccountingForInFlightHtlcs.mts +++ b/ts/structs/ScorerAccountingForInFlightHtlcs.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SendError.mts b/ts/structs/SendError.mts index 1d8e6564..8860a7c0 100644 --- a/ts/structs/SendError.mts +++ b/ts/structs/SendError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SendSuccess.mts b/ts/structs/SendSuccess.mts index 527d8994..4b609460 100644 --- a/ts/structs/SendSuccess.mts +++ b/ts/structs/SendSuccess.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs' import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Sha256.mts b/ts/structs/Sha256.mts index 284b94d5..58de8e99 100644 --- a/ts/structs/Sha256.mts +++ b/ts/structs/Sha256.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,19 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,7 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Shutdown.mts b/ts/structs/Shutdown.mts index 5f350a98..0b28c5db 100644 --- a/ts/structs/Shutdown.mts +++ b/ts/structs/Shutdown.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ShutdownScript.mts b/ts/structs/ShutdownScript.mts index 751109ac..0a0326f9 100644 --- a/ts/structs/ShutdownScript.mts +++ b/ts/structs/ShutdownScript.mts @@ -40,19 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignBolt12InvoiceFn.mts b/ts/structs/SignBolt12InvoiceFn.mts index 9183a8bc..b34699a1 100644 --- a/ts/structs/SignBolt12InvoiceFn.mts +++ b/ts/structs/SignBolt12InvoiceFn.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignError.mts b/ts/structs/SignError.mts index 00825da0..66f6592b 100644 --- a/ts/structs/SignError.mts +++ b/ts/structs/SignError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignInvoiceRequestFn.mts b/ts/structs/SignInvoiceRequestFn.mts index 925c4e6c..de3ab75d 100644 --- a/ts/structs/SignInvoiceRequestFn.mts +++ b/ts/structs/SignInvoiceRequestFn.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignOrCreationError.mts b/ts/structs/SignOrCreationError.mts index 8011d47e..dc5b4820 100644 --- a/ts/structs/SignOrCreationError.mts +++ b/ts/structs/SignOrCreationError.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,7 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignedRawBolt11Invoice.mts b/ts/structs/SignedRawBolt11Invoice.mts index 1e8de1f2..ce872598 100644 --- a/ts/structs/SignedRawBolt11Invoice.mts +++ b/ts/structs/SignedRawBolt11Invoice.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SignerProvider.mts b/ts/structs/SignerProvider.mts index 0837023c..7299af7d 100644 --- a/ts/structs/SignerProvider.mts +++ b/ts/structs/SignerProvider.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SocketAddress.mts b/ts/structs/SocketAddress.mts index b19256e5..284ae938 100644 --- a/ts/structs/SocketAddress.mts +++ b/ts/structs/SocketAddress.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SocketDescriptor.mts b/ts/structs/SocketDescriptor.mts index fa85d980..5232cbb1 100644 --- a/ts/structs/SocketDescriptor.mts +++ b/ts/structs/SocketDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; import { MessageHandler } from '../structs/MessageHandler.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SpendableOutputDescriptor.mts b/ts/structs/SpendableOutputDescriptor.mts index 2c6ecc6f..433fd085 100644 --- a/ts/structs/SpendableOutputDescriptor.mts +++ b/ts/structs/SpendableOutputDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SpendingDelay.mts b/ts/structs/SpendingDelay.mts index 84053f0b..1bc64453 100644 --- a/ts/structs/SpendingDelay.mts +++ b/ts/structs/SpendingDelay.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SpliceAck.mts b/ts/structs/SpliceAck.mts index 0f56cbd3..dc8c788f 100644 --- a/ts/structs/SpliceAck.mts +++ b/ts/structs/SpliceAck.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SpliceInit.mts b/ts/structs/SpliceInit.mts index bff0ccd1..24733f8d 100644 --- a/ts/structs/SpliceInit.mts +++ b/ts/structs/SpliceInit.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/SpliceLocked.mts b/ts/structs/SpliceLocked.mts index 5c119aab..42fa05a1 100644 --- a/ts/structs/SpliceLocked.mts +++ b/ts/structs/SpliceLocked.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/StaticPaymentOutputDescriptor.mts b/ts/structs/StaticPaymentOutputDescriptor.mts index f22cb135..d4e663a6 100644 --- a/ts/structs/StaticPaymentOutputDescriptor.mts +++ b/ts/structs/StaticPaymentOutputDescriptor.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Stfu.mts b/ts/structs/Stfu.mts index 2c4ff7ab..9e15c4a2 100644 --- a/ts/structs/Stfu.mts +++ b/ts/structs/Stfu.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TaggedHash.mts b/ts/structs/TaggedHash.mts index 096a8400..925aec34 100644 --- a/ts/structs/TaggedHash.mts +++ b/ts/structs/TaggedHash.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,14 +695,13 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts b/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts index bbb590c2..3c87d4db 100644 --- a/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts +++ b/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mts b/ts/structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mts index deca4290..0832edbf 100644 --- a/ts/structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mts +++ b/ts/structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mts b/ts/structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mts index 19fd4a13..3b432c40 100644 --- a/ts/structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mts +++ b/ts/structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mts b/ts/structs/ThreeTuple_StrStrStrZ.mts similarity index 91% rename from ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mts rename to ts/structs/ThreeTuple_StrStrStrZ.mts index 7b9566c3..cb26c92c 100644 --- a/ts/structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mts +++ b/ts/structs/ThreeTuple_StrStrStrZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,13 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -708,82 +740,66 @@ import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBas import * as bindings from '../bindings.mjs' - -export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ extends CommonBase { - protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_free); - } +/** + * A Tuple + */ +export class ThreeTuple_StrStrStrZ extends CommonBase { /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - if (bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(ptr)) { - return new Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_OK(null, ptr); - } else { - return new Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_Err(null, ptr); - } + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C3Tuple_StrStrStrZ_free); } + /** - * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ in the success state. + * */ - public static constructor_ok(o: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_ok(CommonBase.get_ptr_of(o)); - const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.constr_from_ptr(ret); - return ret_hu_conv; + public get_a(): string { + const ret: number = bindings.C3Tuple_StrStrStrZ_get_a(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; } /** - * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ in the error state. + * */ - public static constructor_err(e: PaymentSendFailure): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_err(CommonBase.get_ptr_of(e)); - const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.constr_from_ptr(ret); - return ret_hu_conv; + public get_b(): string { + const ret: number = bindings.C3Tuple_StrStrStrZ_get_b(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; } /** - * Checks if the given object is currently in the success state + * */ - public is_ok(): boolean { - const ret: boolean = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_is_ok(this.ptr); - return ret; + public get_c(): string { + const ret: number = bindings.C3Tuple_StrStrStrZ_get_c(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; } public clone_ptr(): bigint { - const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone_ptr(this.ptr); + const ret: bigint = bindings.C3Tuple_StrStrStrZ_clone_ptr(this.ptr); return ret; } /** - * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ which has the same data as `orig` + * Creates a new tuple which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ - public clone(): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - const ret: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_clone(this.ptr); - const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ = Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.constr_from_ptr(ret); + public clone(): ThreeTuple_StrStrStrZ { + const ret: bigint = bindings.C3Tuple_StrStrStrZ_clone(this.ptr); + const ret_hu_conv: ThreeTuple_StrStrStrZ = new ThreeTuple_StrStrStrZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } -} -export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_OK extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - public res: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ; - - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); - const res: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_ok(ptr); - const res_hu_conv: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ = new TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ(null, res); - CommonBase.add_ref_from(res_hu_conv, this); - this.res = res_hu_conv; + /** + * Creates a new C3Tuple_StrStrStrZ from the contained elements. + */ + public static constructor_new(a: string, b: string, c: string): ThreeTuple_StrStrStrZ { + const ret: bigint = bindings.C3Tuple_StrStrStrZ_new(bindings.encodeString(a), bindings.encodeString(b), bindings.encodeString(c)); + const ret_hu_conv: ThreeTuple_StrStrStrZ = new ThreeTuple_StrStrStrZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; } -} -export class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_Err extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ { - public err: PaymentSendFailure; - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); - const err: bigint = bindings.CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ_get_err(ptr); - const err_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(err); - CommonBase.add_ref_from(err_hu_conv, this); - this.err = err_hu_conv; - } -} \ No newline at end of file +} diff --git a/ts/structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mts b/ts/structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mts index 58faaffe..89aa46e7 100644 --- a/ts/structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mts +++ b/ts/structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mts b/ts/structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mts index eb7e933f..f63c4c49 100644 --- a/ts/structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mts +++ b/ts/structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TrackedSpendableOutput.mts b/ts/structs/TrackedSpendableOutput.mts index f829bbb6..d1db286b 100644 --- a/ts/structs/TrackedSpendableOutput.mts +++ b/ts/structs/TrackedSpendableOutput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TrampolineOnionPacket.mts b/ts/structs/TrampolineOnionPacket.mts index 902c66af..ef2b6d25 100644 --- a/ts/structs/TrampolineOnionPacket.mts +++ b/ts/structs/TrampolineOnionPacket.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TransactionU16LenLimited.mts b/ts/structs/TransactionU16LenLimited.mts index 39b952a9..5f2d4258 100644 --- a/ts/structs/TransactionU16LenLimited.mts +++ b/ts/structs/TransactionU16LenLimited.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErr import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TrustedClosingTransaction.mts b/ts/structs/TrustedClosingTransaction.mts index 4f73e903..b44987fe 100644 --- a/ts/structs/TrustedClosingTransaction.mts +++ b/ts/structs/TrustedClosingTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TrustedCommitmentTransaction.mts b/ts/structs/TrustedCommitmentTransaction.mts index 7a318c1b..3f23f294 100644 --- a/ts/structs/TrustedCommitmentTransaction.mts +++ b/ts/structs/TrustedCommitmentTransaction.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mts b/ts/structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mts index 10d5d015..444e0867 100644 --- a/ts/structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mts +++ b/ts/structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_BestBlockOutputSweeperZ.mts b/ts/structs/TwoTuple_BestBlockOutputSweeperZ.mts index 742d3695..992c51f8 100644 --- a/ts/structs/TwoTuple_BestBlockOutputSweeperZ.mts +++ b/ts/structs/TwoTuple_BestBlockOutputSweeperZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mts b/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mts new file mode 100644 index 00000000..c7fb88c7 --- /dev/null +++ b/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mts @@ -0,0 +1,805 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_free); + } + + /** + * + */ + public get_a(): TwoTuple_HumanReadableNameThirtyTwoBytesZ[] { + const ret: number = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_a(this.ptr); + const ret_conv_43_len: number = bindings.getArrayLength(ret); + const ret_conv_43_arr: TwoTuple_HumanReadableNameThirtyTwoBytesZ[] = new Array(ret_conv_43_len).fill(null); + for (var r = 0; r < ret_conv_43_len; r++) { + const ret_conv_43: bigint = bindings.getU64ArrayElem(ret, r); + const ret_conv_43_hu_conv: TwoTuple_HumanReadableNameThirtyTwoBytesZ = new TwoTuple_HumanReadableNameThirtyTwoBytesZ(null, ret_conv_43); + CommonBase.add_ref_from(ret_conv_43_hu_conv, this); + ret_conv_43_arr[r] = ret_conv_43_hu_conv; + } + bindings.freeWasmMemory(ret) + return ret_conv_43_arr; + } + + /** + * + */ + public get_b(): Offer { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_get_b(this.ptr); + const ret_hu_conv: Offer = new Offer(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ from the contained elements. + */ + public static constructor_new(a: TwoTuple_HumanReadableNameThirtyTwoBytesZ[], b: Offer): TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ_new(bindings.encodeUint64Array(a.map(a_conv_43 => CommonBase.get_ptr_of(a_conv_43))), CommonBase.get_ptr_of(b)); + const ret_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mts b/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mts new file mode 100644 index 00000000..1c8842bc --- /dev/null +++ b/ts/structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mts @@ -0,0 +1,804 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_free); + } + + /** + * + */ + public get_a(): TwoTuple_HumanReadableNameThirtyTwoBytesZ[] { + const ret: number = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_a(this.ptr); + const ret_conv_43_len: number = bindings.getArrayLength(ret); + const ret_conv_43_arr: TwoTuple_HumanReadableNameThirtyTwoBytesZ[] = new Array(ret_conv_43_len).fill(null); + for (var r = 0; r < ret_conv_43_len; r++) { + const ret_conv_43: bigint = bindings.getU64ArrayElem(ret, r); + const ret_conv_43_hu_conv: TwoTuple_HumanReadableNameThirtyTwoBytesZ = new TwoTuple_HumanReadableNameThirtyTwoBytesZ(null, ret_conv_43); + CommonBase.add_ref_from(ret_conv_43_hu_conv, this); + ret_conv_43_arr[r] = ret_conv_43_hu_conv; + } + bindings.freeWasmMemory(ret) + return ret_conv_43_arr; + } + + /** + * + */ + public get_b(): string { + const ret: number = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_get_b(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ from the contained elements. + */ + public static constructor_new(a: TwoTuple_HumanReadableNameThirtyTwoBytesZ[], b: string): TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ { + const ret: bigint = bindings.C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ_new(bindings.encodeUint64Array(a.map(a_conv_43 => CommonBase.get_ptr_of(a_conv_43))), bindings.encodeString(b)); + const ret_hu_conv: TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ = new TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_CVec_u8Zu64Z.mts b/ts/structs/TwoTuple_CVec_u8Zu64Z.mts index 8be1c86b..eb5e4499 100644 --- a/ts/structs/TwoTuple_CVec_u8Zu64Z.mts +++ b/ts/structs/TwoTuple_CVec_u8Zu64Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ChannelIdPublicKeyZ.mts b/ts/structs/TwoTuple_ChannelIdPublicKeyZ.mts index 7fa27143..6e9afeab 100644 --- a/ts/structs/TwoTuple_ChannelIdPublicKeyZ.mts +++ b/ts/structs/TwoTuple_ChannelIdPublicKeyZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mts b/ts/structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mts new file mode 100644 index 00000000..74a7cf04 --- /dev/null +++ b/ts/structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mts @@ -0,0 +1,798 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_DNSResolverMessageMessageSendInstructionsZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_free); + } + + /** + * + */ + public get_a(): DNSResolverMessage { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_a(this.ptr); + const ret_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * + */ + public get_b(): MessageSendInstructions { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_get_b(this.ptr); + const ret_hu_conv: MessageSendInstructions = MessageSendInstructions.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_DNSResolverMessageMessageSendInstructionsZ { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_DNSResolverMessageMessageSendInstructionsZ = new TwoTuple_DNSResolverMessageMessageSendInstructionsZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_DNSResolverMessageMessageSendInstructionsZ from the contained elements. + */ + public static constructor_new(a: DNSResolverMessage, b: MessageSendInstructions): TwoTuple_DNSResolverMessageMessageSendInstructionsZ { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageMessageSendInstructionsZ_new(CommonBase.get_ptr_of(a), CommonBase.get_ptr_of(b)); + const ret_hu_conv: TwoTuple_DNSResolverMessageMessageSendInstructionsZ = new TwoTuple_DNSResolverMessageMessageSendInstructionsZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mts b/ts/structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mts new file mode 100644 index 00000000..2c7cb092 --- /dev/null +++ b/ts/structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mts @@ -0,0 +1,798 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_DNSResolverMessageResponseInstructionZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_free); + } + + /** + * + */ + public get_a(): DNSResolverMessage { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_get_a(this.ptr); + const ret_hu_conv: DNSResolverMessage = DNSResolverMessage.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * + */ + public get_b(): ResponseInstruction { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_get_b(this.ptr); + const ret_hu_conv: ResponseInstruction = new ResponseInstruction(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_DNSResolverMessageResponseInstructionZ { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_DNSResolverMessageResponseInstructionZ = new TwoTuple_DNSResolverMessageResponseInstructionZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_DNSResolverMessageResponseInstructionZ from the contained elements. + */ + public static constructor_new(a: DNSResolverMessage, b: ResponseInstruction): TwoTuple_DNSResolverMessageResponseInstructionZ { + const ret: bigint = bindings.C2Tuple_DNSResolverMessageResponseInstructionZ_new(CommonBase.get_ptr_of(a), CommonBase.get_ptr_of(b)); + const ret_hu_conv: TwoTuple_DNSResolverMessageResponseInstructionZ = new TwoTuple_DNSResolverMessageResponseInstructionZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mts b/ts/structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mts new file mode 100644 index 00000000..a47d5c05 --- /dev/null +++ b/ts/structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mts @@ -0,0 +1,798 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_DNSSECQueryDNSResolverContextZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_free); + } + + /** + * + */ + public get_a(): DNSSECQuery { + const ret: bigint = bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_get_a(this.ptr); + const ret_hu_conv: DNSSECQuery = new DNSSECQuery(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * + */ + public get_b(): DNSResolverContext { + const ret: bigint = bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_get_b(this.ptr); + const ret_hu_conv: DNSResolverContext = new DNSResolverContext(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_DNSSECQueryDNSResolverContextZ { + const ret: bigint = bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_DNSSECQueryDNSResolverContextZ = new TwoTuple_DNSSECQueryDNSResolverContextZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_DNSSECQueryDNSResolverContextZ from the contained elements. + */ + public static constructor_new(a: DNSSECQuery, b: DNSResolverContext): TwoTuple_DNSSECQueryDNSResolverContextZ { + const ret: bigint = bindings.C2Tuple_DNSSECQueryDNSResolverContextZ_new(CommonBase.get_ptr_of(a), CommonBase.get_ptr_of(b)); + const ret_hu_conv: TwoTuple_DNSSECQueryDNSResolverContextZ = new TwoTuple_DNSSECQueryDNSResolverContextZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mts b/ts/structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mts index adb979b2..c087983c 100644 --- a/ts/structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mts +++ b/ts/structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mts b/ts/structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mts new file mode 100644 index 00000000..a931ec52 --- /dev/null +++ b/ts/structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mts @@ -0,0 +1,797 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A Tuple + */ +export class TwoTuple_HumanReadableNameThirtyTwoBytesZ extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_free); + } + + /** + * + */ + public get_a(): HumanReadableName { + const ret: bigint = bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_a(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * + */ + public get_b(): Uint8Array { + const ret: number = bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_get_b(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ + public clone(): TwoTuple_HumanReadableNameThirtyTwoBytesZ { + const ret: bigint = bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_HumanReadableNameThirtyTwoBytesZ = new TwoTuple_HumanReadableNameThirtyTwoBytesZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates a new C2Tuple_HumanReadableNameThirtyTwoBytesZ from the contained elements. + */ + public static constructor_new(a: HumanReadableName, b: Uint8Array): TwoTuple_HumanReadableNameThirtyTwoBytesZ { + const ret: bigint = bindings.C2Tuple_HumanReadableNameThirtyTwoBytesZ_new(CommonBase.get_ptr_of(a), bindings.encodeUint8Array(bindings.check_arr_len(b, 32))); + const ret_hu_conv: TwoTuple_HumanReadableNameThirtyTwoBytesZ = new TwoTuple_HumanReadableNameThirtyTwoBytesZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + +} diff --git a/ts/structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mts b/ts/structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mts index ebe82a45..cb0e8f24 100644 --- a/ts/structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mts +++ b/ts/structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OffersMessageResponseInstructionZ.mts b/ts/structs/TwoTuple_OffersMessageResponseInstructionZ.mts index 4e201846..54cfab20 100644 --- a/ts/structs/TwoTuple_OffersMessageResponseInstructionZ.mts +++ b/ts/structs/TwoTuple_OffersMessageResponseInstructionZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mts b/ts/structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mts index df600225..eab83e67 100644 --- a/ts/structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mts +++ b/ts/structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mts b/ts/structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mts index 79146f5d..70380276 100644 --- a/ts/structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mts +++ b/ts/structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OutPointCVec_u64ZZ.mts b/ts/structs/TwoTuple_OutPointCVec_u64ZZ.mts index 2f49581d..1e061908 100644 --- a/ts/structs/TwoTuple_OutPointCVec_u64ZZ.mts +++ b/ts/structs/TwoTuple_OutPointCVec_u64ZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OutPointCVec_u8ZZ.mts b/ts/structs/TwoTuple_OutPointCVec_u8ZZ.mts index c139ae12..e8dac9ce 100644 --- a/ts/structs/TwoTuple_OutPointCVec_u8ZZ.mts +++ b/ts/structs/TwoTuple_OutPointCVec_u8ZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_OutPointChannelIdZ.mts b/ts/structs/TwoTuple_OutPointChannelIdZ.mts index 8f1368a5..fba94243 100644 --- a/ts/structs/TwoTuple_OutPointChannelIdZ.mts +++ b/ts/structs/TwoTuple_OutPointChannelIdZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_NonePaymentSendFailureZ.mts b/ts/structs/TwoTuple_PublicKeyChannelIdZ.mts similarity index 91% rename from ts/structs/Result_NonePaymentSendFailureZ.mts rename to ts/structs/TwoTuple_PublicKeyChannelIdZ.mts index 34135865..f5fed70b 100644 --- a/ts/structs/Result_NonePaymentSendFailureZ.mts +++ b/ts/structs/TwoTuple_PublicKeyChannelIdZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -708,77 +740,58 @@ import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBas import * as bindings from '../bindings.mjs' - -export class Result_NonePaymentSendFailureZ extends CommonBase { - protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_NonePaymentSendFailureZ_free); - } +/** + * A Tuple + */ +export class TwoTuple_PublicKeyChannelIdZ extends CommonBase { /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_NonePaymentSendFailureZ { - if (bindings.CResult_NonePaymentSendFailureZ_is_ok(ptr)) { - return new Result_NonePaymentSendFailureZ_OK(null, ptr); - } else { - return new Result_NonePaymentSendFailureZ_Err(null, ptr); - } - } - /** - * Creates a new CResult_NonePaymentSendFailureZ in the success state. - */ - public static constructor_ok(): Result_NonePaymentSendFailureZ { - const ret: bigint = bindings.CResult_NonePaymentSendFailureZ_ok(); - const ret_hu_conv: Result_NonePaymentSendFailureZ = Result_NonePaymentSendFailureZ.constr_from_ptr(ret); - return ret_hu_conv; + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_PublicKeyChannelIdZ_free); } /** - * Creates a new CResult_NonePaymentSendFailureZ in the error state. + * */ - public static constructor_err(e: PaymentSendFailure): Result_NonePaymentSendFailureZ { - const ret: bigint = bindings.CResult_NonePaymentSendFailureZ_err(CommonBase.get_ptr_of(e)); - const ret_hu_conv: Result_NonePaymentSendFailureZ = Result_NonePaymentSendFailureZ.constr_from_ptr(ret); - return ret_hu_conv; + public get_a(): Uint8Array { + const ret: number = bindings.C2Tuple_PublicKeyChannelIdZ_get_a(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; } /** - * Checks if the given object is currently in the success state + * */ - public is_ok(): boolean { - const ret: boolean = bindings.CResult_NonePaymentSendFailureZ_is_ok(this.ptr); - return ret; + public get_b(): ChannelId { + const ret: bigint = bindings.C2Tuple_PublicKeyChannelIdZ_get_b(this.ptr); + const ret_hu_conv: ChannelId = new ChannelId(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; } public clone_ptr(): bigint { - const ret: bigint = bindings.CResult_NonePaymentSendFailureZ_clone_ptr(this.ptr); + const ret: bigint = bindings.C2Tuple_PublicKeyChannelIdZ_clone_ptr(this.ptr); return ret; } /** - * Creates a new CResult_NonePaymentSendFailureZ which has the same data as `orig` + * Creates a new tuple which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ - public clone(): Result_NonePaymentSendFailureZ { - const ret: bigint = bindings.CResult_NonePaymentSendFailureZ_clone(this.ptr); - const ret_hu_conv: Result_NonePaymentSendFailureZ = Result_NonePaymentSendFailureZ.constr_from_ptr(ret); + public clone(): TwoTuple_PublicKeyChannelIdZ { + const ret: bigint = bindings.C2Tuple_PublicKeyChannelIdZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_PublicKeyChannelIdZ = new TwoTuple_PublicKeyChannelIdZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } -} -export class Result_NonePaymentSendFailureZ_OK extends Result_NonePaymentSendFailureZ { - - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); + /** + * Creates a new C2Tuple_PublicKeyChannelIdZ from the contained elements. + */ + public static constructor_new(a: Uint8Array, b: ChannelId): TwoTuple_PublicKeyChannelIdZ { + const ret: bigint = bindings.C2Tuple_PublicKeyChannelIdZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 33)), CommonBase.get_ptr_of(b)); + const ret_hu_conv: TwoTuple_PublicKeyChannelIdZ = new TwoTuple_PublicKeyChannelIdZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; } -} -export class Result_NonePaymentSendFailureZ_Err extends Result_NonePaymentSendFailureZ { - public err: PaymentSendFailure; - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); - const err: bigint = bindings.CResult_NonePaymentSendFailureZ_get_err(ptr); - const err_hu_conv: PaymentSendFailure = PaymentSendFailure.constr_from_ptr(err); - CommonBase.add_ref_from(err_hu_conv, this); - this.err = err_hu_conv; - } -} \ No newline at end of file +} diff --git a/ts/structs/TwoTuple_PublicKeyTypeZ.mts b/ts/structs/TwoTuple_PublicKeyTypeZ.mts index e13201d9..ec98d902 100644 --- a/ts/structs/TwoTuple_PublicKeyTypeZ.mts +++ b/ts/structs/TwoTuple_PublicKeyTypeZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mts b/ts/structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mts index 53436bad..ec84e8e0 100644 --- a/ts/structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mts +++ b/ts/structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mts b/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mts index fd87c180..f66818a9 100644 --- a/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mts +++ b/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mts b/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mts index d3ee8cd2..7e1a14d4 100644 --- a/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mts +++ b/ts/structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/T import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mts b/ts/structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mts index 7a87b376..05d608e8 100644 --- a/ts/structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mts +++ b/ts/structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -739,14 +771,15 @@ export class TwoTuple_ThirtyTwoBytesChannelManagerZ extends CommonBase { /** * Creates a new C2Tuple_ThirtyTwoBytesChannelManagerZ from the contained elements. */ - public static constructor_new(a: Uint8Array, b_fee_est: FeeEstimator, b_chain_monitor: Watch, b_tx_broadcaster: BroadcasterInterface, b_router: Router, b_logger: Logger, b_entropy_source: EntropySource, b_node_signer: NodeSigner, b_signer_provider: SignerProvider, b_config: UserConfig, b_params: ChainParameters, b_current_timestamp: number): TwoTuple_ThirtyTwoBytesChannelManagerZ { - const ret: bigint = bindings.C2Tuple_ThirtyTwoBytesChannelManagerZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 32)), bindings.ChannelManager_new(CommonBase.get_ptr_of(b_fee_est), CommonBase.get_ptr_of(b_chain_monitor), CommonBase.get_ptr_of(b_tx_broadcaster), CommonBase.get_ptr_of(b_router), CommonBase.get_ptr_of(b_logger), CommonBase.get_ptr_of(b_entropy_source), CommonBase.get_ptr_of(b_node_signer), CommonBase.get_ptr_of(b_signer_provider), CommonBase.get_ptr_of(b_config), CommonBase.get_ptr_of(b_params), b_current_timestamp)); + public static constructor_new(a: Uint8Array, b_fee_est: FeeEstimator, b_chain_monitor: Watch, b_tx_broadcaster: BroadcasterInterface, b_router: Router, b_message_router: MessageRouter, b_logger: Logger, b_entropy_source: EntropySource, b_node_signer: NodeSigner, b_signer_provider: SignerProvider, b_config: UserConfig, b_params: ChainParameters, b_current_timestamp: number): TwoTuple_ThirtyTwoBytesChannelManagerZ { + const ret: bigint = bindings.C2Tuple_ThirtyTwoBytesChannelManagerZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 32)), bindings.ChannelManager_new(CommonBase.get_ptr_of(b_fee_est), CommonBase.get_ptr_of(b_chain_monitor), CommonBase.get_ptr_of(b_tx_broadcaster), CommonBase.get_ptr_of(b_router), CommonBase.get_ptr_of(b_message_router), CommonBase.get_ptr_of(b_logger), CommonBase.get_ptr_of(b_entropy_source), CommonBase.get_ptr_of(b_node_signer), CommonBase.get_ptr_of(b_signer_provider), CommonBase.get_ptr_of(b_config), CommonBase.get_ptr_of(b_params), b_current_timestamp)); const ret_hu_conv: TwoTuple_ThirtyTwoBytesChannelManagerZ = new TwoTuple_ThirtyTwoBytesChannelManagerZ(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); CommonBase.add_ref_from(ret_hu_conv, b_fee_est); CommonBase.add_ref_from(ret_hu_conv, b_chain_monitor); CommonBase.add_ref_from(ret_hu_conv, b_tx_broadcaster); CommonBase.add_ref_from(ret_hu_conv, b_router); + CommonBase.add_ref_from(ret_hu_conv, b_message_router); CommonBase.add_ref_from(ret_hu_conv, b_logger); CommonBase.add_ref_from(ret_hu_conv, b_entropy_source); CommonBase.add_ref_from(ret_hu_conv, b_node_signer); diff --git a/ts/structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mts b/ts/structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mts index 4b35d944..bdcdf824 100644 --- a/ts/structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mts +++ b/ts/structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; import { Type, TypeInterface } from '../structs/Type.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mts b/ts/structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mts index a4a72ab4..9a1659ea 100644 --- a/ts/structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mts +++ b/ts/structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_Z.mts b/ts/structs/TwoTuple_Z.mts index 28ff6c53..a3ac02d0 100644 --- a/ts/structs/TwoTuple_Z.mts +++ b/ts/structs/TwoTuple_Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple__u1632_u1632Z.mts b/ts/structs/TwoTuple__u1632_u1632Z.mts index cfbc99e8..67de0b0d 100644 --- a/ts/structs/TwoTuple__u1632_u1632Z.mts +++ b/ts/structs/TwoTuple__u1632_u1632Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple__u832u16Z.mts b/ts/structs/TwoTuple__u832u16Z.mts index 0a3102ec..430e40f4 100644 --- a/ts/structs/TwoTuple__u832u16Z.mts +++ b/ts/structs/TwoTuple__u832u16Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Result_UnknownPaymentContextDecodeErrorZ.mts b/ts/structs/TwoTuple_boolboolZ.mts similarity index 91% rename from ts/structs/Result_UnknownPaymentContextDecodeErrorZ.mts rename to ts/structs/TwoTuple_boolboolZ.mts index c522aba1..96a601c0 100644 --- a/ts/structs/Result_UnknownPaymentContextDecodeErrorZ.mts +++ b/ts/structs/TwoTuple_boolboolZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -373,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -708,82 +740,55 @@ import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBas import * as bindings from '../bindings.mjs' - -export class Result_UnknownPaymentContextDecodeErrorZ extends CommonBase { - protected constructor(_dummy: null, ptr: bigint) { - super(ptr, bindings.CResult_UnknownPaymentContextDecodeErrorZ_free); - } +/** + * A Tuple + */ +export class TwoTuple_boolboolZ extends CommonBase { /* @internal */ - public static constr_from_ptr(ptr: bigint): Result_UnknownPaymentContextDecodeErrorZ { - if (bindings.CResult_UnknownPaymentContextDecodeErrorZ_is_ok(ptr)) { - return new Result_UnknownPaymentContextDecodeErrorZ_OK(null, ptr); - } else { - return new Result_UnknownPaymentContextDecodeErrorZ_Err(null, ptr); - } - } - /** - * Creates a new CResult_UnknownPaymentContextDecodeErrorZ in the success state. - */ - public static constructor_ok(o: UnknownPaymentContext): Result_UnknownPaymentContextDecodeErrorZ { - const ret: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); - const ret_hu_conv: Result_UnknownPaymentContextDecodeErrorZ = Result_UnknownPaymentContextDecodeErrorZ.constr_from_ptr(ret); - return ret_hu_conv; + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.C2Tuple_boolboolZ_free); } /** - * Creates a new CResult_UnknownPaymentContextDecodeErrorZ in the error state. + * */ - public static constructor_err(e: DecodeError): Result_UnknownPaymentContextDecodeErrorZ { - const ret: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_err(CommonBase.get_ptr_of(e)); - const ret_hu_conv: Result_UnknownPaymentContextDecodeErrorZ = Result_UnknownPaymentContextDecodeErrorZ.constr_from_ptr(ret); - return ret_hu_conv; + public get_a(): boolean { + const ret: boolean = bindings.C2Tuple_boolboolZ_get_a(this.ptr); + return ret; } /** - * Checks if the given object is currently in the success state + * */ - public is_ok(): boolean { - const ret: boolean = bindings.CResult_UnknownPaymentContextDecodeErrorZ_is_ok(this.ptr); + public get_b(): boolean { + const ret: boolean = bindings.C2Tuple_boolboolZ_get_b(this.ptr); return ret; } public clone_ptr(): bigint { - const ret: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_clone_ptr(this.ptr); + const ret: bigint = bindings.C2Tuple_boolboolZ_clone_ptr(this.ptr); return ret; } /** - * Creates a new CResult_UnknownPaymentContextDecodeErrorZ which has the same data as `orig` + * Creates a new tuple which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ - public clone(): Result_UnknownPaymentContextDecodeErrorZ { - const ret: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_clone(this.ptr); - const ret_hu_conv: Result_UnknownPaymentContextDecodeErrorZ = Result_UnknownPaymentContextDecodeErrorZ.constr_from_ptr(ret); + public clone(): TwoTuple_boolboolZ { + const ret: bigint = bindings.C2Tuple_boolboolZ_clone(this.ptr); + const ret_hu_conv: TwoTuple_boolboolZ = new TwoTuple_boolboolZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; } -} -export class Result_UnknownPaymentContextDecodeErrorZ_OK extends Result_UnknownPaymentContextDecodeErrorZ { - public res: UnknownPaymentContext; - - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); - const res: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_get_ok(ptr); - const res_hu_conv: UnknownPaymentContext = new UnknownPaymentContext(null, res); - CommonBase.add_ref_from(res_hu_conv, this); - this.res = res_hu_conv; + /** + * Creates a new C2Tuple_boolboolZ from the contained elements. + */ + public static constructor_new(a: boolean, b: boolean): TwoTuple_boolboolZ { + const ret: bigint = bindings.C2Tuple_boolboolZ_new(a, b); + const ret_hu_conv: TwoTuple_boolboolZ = new TwoTuple_boolboolZ(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; } -} -export class Result_UnknownPaymentContextDecodeErrorZ_Err extends Result_UnknownPaymentContextDecodeErrorZ { - public err: DecodeError; - /* @internal */ - public constructor(_dummy: null, ptr: bigint) { - super(_dummy, ptr); - const err: bigint = bindings.CResult_UnknownPaymentContextDecodeErrorZ_get_err(ptr); - const err_hu_conv: DecodeError = DecodeError.constr_from_ptr(err); - CommonBase.add_ref_from(err_hu_conv, this); - this.err = err_hu_conv; - } -} \ No newline at end of file +} diff --git a/ts/structs/TwoTuple_u32CVec_u8ZZ.mts b/ts/structs/TwoTuple_u32CVec_u8ZZ.mts index 6be73cca..eb3269e8 100644 --- a/ts/structs/TwoTuple_u32CVec_u8ZZ.mts +++ b/ts/structs/TwoTuple_u32CVec_u8ZZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_u32TxOutZ.mts b/ts/structs/TwoTuple_u32TxOutZ.mts index f6049ab9..6f39f51e 100644 --- a/ts/structs/TwoTuple_u32TxOutZ.mts +++ b/ts/structs/TwoTuple_u32TxOutZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/T import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_u64CVec_u8ZZ.mts b/ts/structs/TwoTuple_u64CVec_u8ZZ.mts index 863a4b56..dba30984 100644 --- a/ts/structs/TwoTuple_u64CVec_u8ZZ.mts +++ b/ts/structs/TwoTuple_u64CVec_u8ZZ.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_u64u16Z.mts b/ts/structs/TwoTuple_u64u16Z.mts index f0d056aa..3870a2d6 100644 --- a/ts/structs/TwoTuple_u64u16Z.mts +++ b/ts/structs/TwoTuple_u64u16Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,41 +262,40 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_u64u64Z.mts b/ts/structs/TwoTuple_u64u64Z.mts index 1ed6231e..f3fd4b83 100644 --- a/ts/structs/TwoTuple_u64u64Z.mts +++ b/ts/structs/TwoTuple_u64u64Z.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TwoTuple_usizeTransactionZ.mts b/ts/structs/TwoTuple_usizeTransactionZ.mts index 9b22500a..f8fbfab0 100644 --- a/ts/structs/TwoTuple_usizeTransactionZ.mts +++ b/ts/structs/TwoTuple_usizeTransactionZ.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TxAbort.mts b/ts/structs/TxAbort.mts index dec1f74c..2ea48710 100644 --- a/ts/structs/TxAbort.mts +++ b/ts/structs/TxAbort.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,7 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A tx_abort message which signals the cancellation of an in-progress transaction negotiation. + * A [`tx_abort`] message which signals the cancellation of an in-progress transaction negotiation. + * + * [`tx_abort`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_abort-message */ export class TxAbort extends CommonBase { /* @internal */ diff --git a/ts/structs/TxAckRbf.mts b/ts/structs/TxAckRbf.mts index 348b92b6..eae81d6c 100644 --- a/ts/structs/TxAckRbf.mts +++ b/ts/structs/TxAckRbf.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,8 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * A tx_ack_rbf message which acknowledges replacement of the transaction after it's been + * A [`tx_ack_rbf`] message which acknowledges replacement of the transaction after it's been * completed. + * + * [`tx_ack_rbf`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_ack_rbf-message */ export class TxAckRbf extends CommonBase { /* @internal */ diff --git a/ts/structs/TxAddInput.mts b/ts/structs/TxAddInput.mts index 12e2d1f3..1b91ee11 100644 --- a/ts/structs/TxAddInput.mts +++ b/ts/structs/TxAddInput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,7 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A tx_add_input message for adding an input during interactive transaction construction + * A [`tx_add_input`] message for adding an input during interactive transaction construction + * + * [`tx_add_input`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_add_input-message */ export class TxAddInput extends CommonBase { /* @internal */ diff --git a/ts/structs/TxAddOutput.mts b/ts/structs/TxAddOutput.mts index 384e0678..07d3af61 100644 --- a/ts/structs/TxAddOutput.mts +++ b/ts/structs/TxAddOutput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,7 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A tx_add_output message for adding an output during interactive transaction construction. + * A [`tx_add_output`] message for adding an output during interactive transaction construction. + * + * [`tx_add_output`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_add_output-message */ export class TxAddOutput extends CommonBase { /* @internal */ diff --git a/ts/structs/TxComplete.mts b/ts/structs/TxComplete.mts index 6a202758..6d75dffa 100644 --- a/ts/structs/TxComplete.mts +++ b/ts/structs/TxComplete.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,8 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * A tx_complete message signalling the conclusion of a peer's transaction contributions during + * [`A tx_complete`] message signalling the conclusion of a peer's transaction contributions during * interactive transaction construction. + * + * [`tx_complete`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_complete-message */ export class TxComplete extends CommonBase { /* @internal */ diff --git a/ts/structs/TxCreationKeys.mts b/ts/structs/TxCreationKeys.mts index e8d6bef6..ef30f5a1 100644 --- a/ts/structs/TxCreationKeys.mts +++ b/ts/structs/TxCreationKeys.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TxIn.mts b/ts/structs/TxIn.mts index 02f16d7d..0b69ec84 100644 --- a/ts/structs/TxIn.mts +++ b/ts/structs/TxIn.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TxInitRbf.mts b/ts/structs/TxInitRbf.mts index d1540dcb..86eb3e14 100644 --- a/ts/structs/TxInitRbf.mts +++ b/ts/structs/TxInitRbf.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,8 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * A tx_init_rbf message which initiates a replacement of the transaction after it's been + * A [`tx_init_rbf`] message which initiates a replacement of the transaction after it's been * completed. + * + * [`tx_init_rbf`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_init_rbf-message */ export class TxInitRbf extends CommonBase { /* @internal */ diff --git a/ts/structs/TxOut.mts b/ts/structs/TxOut.mts index 157ba76f..dd6115df 100644 --- a/ts/structs/TxOut.mts +++ b/ts/structs/TxOut.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/TxRemoveInput.mts b/ts/structs/TxRemoveInput.mts index 4c9d36d4..ef65e95f 100644 --- a/ts/structs/TxRemoveInput.mts +++ b/ts/structs/TxRemoveInput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,7 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A tx_remove_input message for removing an input during interactive transaction construction. + * A [`tx_remove_input`] message for removing an input during interactive transaction construction. + * + * [`tx_remove_input`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_remove_input-and-tx_remove_output-messages */ export class TxRemoveInput extends CommonBase { /* @internal */ diff --git a/ts/structs/TxRemoveOutput.mts b/ts/structs/TxRemoveOutput.mts index 04ae9e2d..189f6fa7 100644 --- a/ts/structs/TxRemoveOutput.mts +++ b/ts/structs/TxRemoveOutput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,7 +741,9 @@ import * as bindings from '../bindings.mjs' /** - * A tx_remove_output message for removing an output during interactive transaction construction. + * A [`tx_remove_output`] message for removing an output during interactive transaction construction. + * + * [`tx_remove_output`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_remove_input-and-tx_remove_output-messages */ export class TxRemoveOutput extends CommonBase { /* @internal */ diff --git a/ts/structs/TxSignatures.mts b/ts/structs/TxSignatures.mts index 5191c92f..45fea6fd 100644 --- a/ts/structs/TxSignatures.mts +++ b/ts/structs/TxSignatures.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -709,8 +741,10 @@ import * as bindings from '../bindings.mjs' /** - * A tx_signatures message containing the sender's signatures for a transaction constructed with + * A [`tx_signatures`] message containing the sender's signatures for a transaction constructed with * interactive transaction construction. + * + * [`tx_signatures`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-tx_signatures-message */ export class TxSignatures extends CommonBase { /* @internal */ diff --git a/ts/structs/Type.mts b/ts/structs/Type.mts index 5b80006b..32ad70ce 100644 --- a/ts/structs/Type.mts +++ b/ts/structs/Type.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UnauthenticatedReceiveTlvs.mts b/ts/structs/UnauthenticatedReceiveTlvs.mts new file mode 100644 index 00000000..363c89d7 --- /dev/null +++ b/ts/structs/UnauthenticatedReceiveTlvs.mts @@ -0,0 +1,859 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * An unauthenticated [`ReceiveTlvs`]. + */ +export class UnauthenticatedReceiveTlvs extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.UnauthenticatedReceiveTlvs_free); + } + + /** + * Constructs a new Verification which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned Verification must be freed before this_arg is + */ + public as_Verification(): Verification { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_as_Verification(this.ptr); + const ret_hu_conv: Verification = new Verification(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Used to authenticate the sender of a payment to the receiver and tie MPP HTLCs together. + */ + public get_payment_secret(): Uint8Array { + const ret: number = bindings.UnauthenticatedReceiveTlvs_get_payment_secret(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + + /** + * Used to authenticate the sender of a payment to the receiver and tie MPP HTLCs together. + */ + public set_payment_secret(val: Uint8Array): void { + bindings.UnauthenticatedReceiveTlvs_set_payment_secret(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 32))); + } + + /** + * Constraints for the receiver of this payment. + */ + public get_payment_constraints(): PaymentConstraints { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_get_payment_constraints(this.ptr); + const ret_hu_conv: PaymentConstraints = new PaymentConstraints(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Constraints for the receiver of this payment. + */ + public set_payment_constraints(val: PaymentConstraints): void { + bindings.UnauthenticatedReceiveTlvs_set_payment_constraints(this.ptr, CommonBase.get_ptr_of(val)); + } + + /** + * Context for the receiver of this payment. + */ + public get_payment_context(): PaymentContext { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_get_payment_context(this.ptr); + const ret_hu_conv: PaymentContext = PaymentContext.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Context for the receiver of this payment. + */ + public set_payment_context(val: PaymentContext): void { + bindings.UnauthenticatedReceiveTlvs_set_payment_context(this.ptr, CommonBase.get_ptr_of(val)); + } + + /** + * Constructs a new UnauthenticatedReceiveTlvs given each field + */ + public static constructor_new(payment_secret_arg: Uint8Array, payment_constraints_arg: PaymentConstraints, payment_context_arg: PaymentContext): UnauthenticatedReceiveTlvs { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_new(bindings.encodeUint8Array(bindings.check_arr_len(payment_secret_arg, 32)), CommonBase.get_ptr_of(payment_constraints_arg), CommonBase.get_ptr_of(payment_context_arg)); + const ret_hu_conv: UnauthenticatedReceiveTlvs = new UnauthenticatedReceiveTlvs(null, ret); + CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); + return ret_hu_conv; + } + + public clone_ptr(): bigint { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_clone_ptr(this.ptr); + return ret; + } + + /** + * Creates a copy of the UnauthenticatedReceiveTlvs + */ + public clone(): UnauthenticatedReceiveTlvs { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_clone(this.ptr); + const ret_hu_conv: UnauthenticatedReceiveTlvs = new UnauthenticatedReceiveTlvs(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + + /** + * Creates an authenticated [`ReceiveTlvs`], which includes an HMAC and the provide [`Nonce`] + * that can be use later to verify it authenticity. + */ + public authenticate(nonce: Nonce, expanded_key: ExpandedKey): ReceiveTlvs { + const ret: bigint = bindings.UnauthenticatedReceiveTlvs_authenticate(this.ptr, CommonBase.get_ptr_of(nonce), CommonBase.get_ptr_of(expanded_key)); + const ret_hu_conv: ReceiveTlvs = new ReceiveTlvs(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + CommonBase.add_ref_from(this, expanded_key); + return ret_hu_conv; + } + + /** + * Serialize the UnauthenticatedReceiveTlvs object into a byte array which can be read by UnauthenticatedReceiveTlvs_read + */ + public write(): Uint8Array { + const ret: number = bindings.UnauthenticatedReceiveTlvs_write(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + +} diff --git a/ts/structs/UnsignedBolt12Invoice.mts b/ts/structs/UnsignedBolt12Invoice.mts index 6b75b6e0..59a04b87 100644 --- a/ts/structs/UnsignedBolt12Invoice.mts +++ b/ts/structs/UnsignedBolt12Invoice.mts @@ -40,19 +40,43 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -747,6 +779,28 @@ export class UnsignedBolt12Invoice extends CommonBase { return ret_hu_conv; } + /** + * Paths to the recipient originating from publicly reachable nodes, including information + * needed for routing payments across them. + * + * Blinded paths provide recipient privacy by obfuscating its node id. Note, however, that this + * privacy is lost if a public node id is used for + * [`UnsignedBolt12Invoice::signing_pubkey`]. + */ + public payment_paths(): BlindedPaymentPath[] { + const ret: number = bindings.UnsignedBolt12Invoice_payment_paths(this.ptr); + const ret_conv_20_len: number = bindings.getArrayLength(ret); + const ret_conv_20_arr: BlindedPaymentPath[] = new Array(ret_conv_20_len).fill(null); + for (var u = 0; u < ret_conv_20_len; u++) { + const ret_conv_20: bigint = bindings.getU64ArrayElem(ret, u); + const ret_conv_20_hu_conv: BlindedPaymentPath = new BlindedPaymentPath(null, ret_conv_20); + CommonBase.add_ref_from(ret_conv_20_hu_conv, this); + ret_conv_20_arr[u] = ret_conv_20_hu_conv; + } + bindings.freeWasmMemory(ret) + return ret_conv_20_arr; + } + /** * Duration since the Unix epoch when the invoice was created. */ @@ -757,7 +811,7 @@ export class UnsignedBolt12Invoice extends CommonBase { /** * Duration since - * [`Bolt12Invoice::created_at`] + * [`UnsignedBolt12Invoice::created_at`] * when the invoice has expired and therefore should no longer be paid. */ public relative_expiry(): bigint { @@ -793,7 +847,19 @@ export class UnsignedBolt12Invoice extends CommonBase { } /** - * The public key corresponding to the key used to sign the invoice. + * A typically transient public key corresponding to the key used to sign the invoice. + * + * If the invoices was created in response to an [`Offer`], then this will be: + * - [`Offer::issuer_signing_pubkey`] if it's `Some`, otherwise + * - the final blinded node id from a [`BlindedMessagePath`] in [`Offer::paths`] if `None`. + * + * If the invoice was created in response to a [`Refund`], then it is a valid pubkey chosen by + * the recipient. + * + * [`Offer`]: crate::offers::offer::Offer + * [`Offer::issuer_signing_pubkey`]: crate::offers::offer::Offer::issuer_signing_pubkey + * [`Offer::paths`]: crate::offers::offer::Offer::paths + * [`Refund`]: crate::offers::refund::Refund */ public signing_pubkey(): Uint8Array { const ret: number = bindings.UnsignedBolt12Invoice_signing_pubkey(this.ptr); @@ -962,6 +1028,22 @@ export class UnsignedBolt12Invoice extends CommonBase { return ret_hu_conv; } + /** + * The public key used by the recipient to sign invoices. + * + * From [`Offer::issuer_signing_pubkey`] and may be `None`; also `None` if the invoice was + * created in response to a [`Refund`]. + * + * [`Offer::issuer_signing_pubkey`]: crate::offers::offer::Offer::issuer_signing_pubkey + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.UnsignedBolt12Invoice_issuer_signing_pubkey(this.ptr); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + return ret_conv; + } + /** * An unpredictable series of bytes from the payer. * @@ -1003,8 +1085,8 @@ export class UnsignedBolt12Invoice extends CommonBase { * * [`message_paths`]: Self::message_paths */ - public payer_id(): Uint8Array { - const ret: number = bindings.UnsignedBolt12Invoice_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.UnsignedBolt12Invoice_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } diff --git a/ts/structs/UnsignedChannelAnnouncement.mts b/ts/structs/UnsignedChannelAnnouncement.mts index 03ccf844..89e92fc2 100644 --- a/ts/structs/UnsignedChannelAnnouncement.mts +++ b/ts/structs/UnsignedChannelAnnouncement.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UnsignedChannelUpdate.mts b/ts/structs/UnsignedChannelUpdate.mts index 87cf045a..1c39770e 100644 --- a/ts/structs/UnsignedChannelUpdate.mts +++ b/ts/structs/UnsignedChannelUpdate.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UnsignedGossipMessage.mts b/ts/structs/UnsignedGossipMessage.mts index 843d4878..69064659 100644 --- a/ts/structs/UnsignedGossipMessage.mts +++ b/ts/structs/UnsignedGossipMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UnsignedInvoiceRequest.mts b/ts/structs/UnsignedInvoiceRequest.mts index 1035e01c..3336b27e 100644 --- a/ts/structs/UnsignedInvoiceRequest.mts +++ b/ts/structs/UnsignedInvoiceRequest.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,6 +319,7 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; @@ -325,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -863,21 +895,31 @@ export class UnsignedInvoiceRequest extends CommonBase { } /** - * The public key used by the recipient to sign invoices. + * The public key corresponding to the key used by the recipient to sign invoices. + * - If [`Offer::paths`] is empty, MUST be `Some` and contain the recipient's node id for + * sending an [`InvoiceRequest`]. + * - If [`Offer::paths`] is not empty, MAY be `Some` and contain a transient id. + * - If `None`, the signing pubkey will be the final blinded node id from the + * [`BlindedMessagePath`] in [`Offer::paths`] used to send the [`InvoiceRequest`]. + * + * See also [`Bolt12Invoice::signing_pubkey`]. + * + * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest + * [`Bolt12Invoice::signing_pubkey`]: crate::offers::invoice::Bolt12Invoice::signing_pubkey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public signing_pubkey(): Uint8Array { - const ret: number = bindings.UnsignedInvoiceRequest_signing_pubkey(this.ptr); + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.UnsignedInvoiceRequest_issuer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } /** * An unpredictable series of bytes, typically containing information about the derivation of - * [`payer_id`]. + * [`payer_signing_pubkey`]. * - * [`payer_id`]: Self::payer_id + * [`payer_signing_pubkey`]: Self::payer_signing_pubkey */ public payer_metadata(): Uint8Array { const ret: number = bindings.UnsignedInvoiceRequest_payer_metadata(this.ptr); @@ -907,6 +949,18 @@ export class UnsignedInvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * Returns whether an amount was set in the request; otherwise, if [`amount_msats`] is `Some` + * then it was inferred from the [`Offer::amount`] and [`quantity`]. + * + * [`amount_msats`]: Self::amount_msats + * [`quantity`]: Self::quantity + */ + public has_amount_msats(): boolean { + const ret: boolean = bindings.UnsignedInvoiceRequest_has_amount_msats(this.ptr); + return ret; + } + /** * Features pertaining to requesting an invoice. */ @@ -930,8 +984,8 @@ export class UnsignedInvoiceRequest extends CommonBase { /** * A possibly transient pubkey used to sign the invoice request. */ - public payer_id(): Uint8Array { - const ret: number = bindings.UnsignedInvoiceRequest_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.UnsignedInvoiceRequest_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } @@ -949,6 +1003,19 @@ export class UnsignedInvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * If the [`Offer`] was sourced from a BIP 353 Human Readable Name, this should be set by the + * builder to indicate the original [`HumanReadableName`] which was resolved. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public offer_from_hrn(): HumanReadableName { + const ret: bigint = bindings.UnsignedInvoiceRequest_offer_from_hrn(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Serialize the UnsignedInvoiceRequest object into a byte array which can be read by UnsignedInvoiceRequest_read */ diff --git a/ts/structs/UnsignedNodeAnnouncement.mts b/ts/structs/UnsignedNodeAnnouncement.mts index 7b0e5d34..9c3190a5 100644 --- a/ts/structs/UnsignedNodeAnnouncement.mts +++ b/ts/structs/UnsignedNodeAnnouncement.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,16 +319,20 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UntrustedString.mts b/ts/structs/UntrustedString.mts index df0234d7..bbe26ba8 100644 --- a/ts/structs/UntrustedString.mts +++ b/ts/structs/UntrustedString.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateAddHTLC.mts b/ts/structs/UpdateAddHTLC.mts index bb9fb9a2..1c111cea 100644 --- a/ts/structs/UpdateAddHTLC.mts +++ b/ts/structs/UpdateAddHTLC.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateFailHTLC.mts b/ts/structs/UpdateFailHTLC.mts index 258e9bdd..ef71c6e4 100644 --- a/ts/structs/UpdateFailHTLC.mts +++ b/ts/structs/UpdateFailHTLC.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateFailMalformedHTLC.mts b/ts/structs/UpdateFailMalformedHTLC.mts index 2c7db3b9..670b0525 100644 --- a/ts/structs/UpdateFailMalformedHTLC.mts +++ b/ts/structs/UpdateFailMalformedHTLC.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateFee.mts b/ts/structs/UpdateFee.mts index 8d1d8e7e..7a2b8ad9 100644 --- a/ts/structs/UpdateFee.mts +++ b/ts/structs/UpdateFee.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateFulfillHTLC.mts b/ts/structs/UpdateFulfillHTLC.mts index 643d3008..ec69d01a 100644 --- a/ts/structs/UpdateFulfillHTLC.mts +++ b/ts/structs/UpdateFulfillHTLC.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UpdateName.mts b/ts/structs/UpdateName.mts new file mode 100644 index 00000000..6ed1c780 --- /dev/null +++ b/ts/structs/UpdateName.mts @@ -0,0 +1,824 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + +/** + * A struct representing a name for a channel monitor update. + * + * [`UpdateName`] is primarily used within the [`MonitorUpdatingPersister`] in + * functions that store or retrieve partial updates to channel monitors. It + * provides a consistent way to generate and parse unique identifiers for + * monitor updates based on their sequence number. + * + * The name is derived from the update's sequence ID, which is a monotonically + * increasing u64 value. This format allows for easy ordering of updates and + * efficient storage and retrieval in key-value stores. + * + * # Usage + * + * While users of the Lightning Dev Kit library generally won't need to + * interact with `UpdateName` directly, it still can be useful for custom + * persistence implementations. The u64 value is the update_id that can be + * compared with [ChannelMonitor::get_latest_update_id] to check if this update + * has been applied to the channel monitor or not, which is useful for pruning + * stale channel monitor updates off persistence. + * + * # Examples + * + * ``` + * use lightning::util::persist::UpdateName; + * + * let update_id: u64 = 42; + * let update_name = UpdateName::from(update_id); + * assert_eq!(update_name.as_str(), \"42\"); + * + * Using UpdateName to generate a storage key + * let monitor_name = \"some_monitor_name\"; + * let storage_key = format!(\"channel_monitor_updates/{}/{}\", monitor_name, update_name.as_str()); + * ``` + */ +export class UpdateName extends CommonBase { + /* @internal */ + public constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.UpdateName_free); + } + + public get_a(): bigint { + const ret: bigint = bindings.UpdateName_get_a(this.ptr); + return ret; + } + + public set_a(val: bigint): void { + bindings.UpdateName_set_a(this.ptr, val); + } + + /** + * Constructs an [`UpdateName`], after verifying that an update sequence ID + * can be derived from the given `name`. + */ + public static constructor_new(name: string): Result_UpdateNameIOErrorZ { + const ret: bigint = bindings.UpdateName_new(bindings.encodeString(name)); + const ret_hu_conv: Result_UpdateNameIOErrorZ = Result_UpdateNameIOErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + + /** + * Convert this update name to a string slice. + * + * This method is particularly useful when you need to use the update name + * as part of a key in a key-value store or when logging. + * + * # Examples + * + * ``` + * use lightning::util::persist::UpdateName; + * + * let update_name = UpdateName::from(42); + * assert_eq!(update_name.as_str(), \"42\"); + * ``` + */ + public as_str(): string { + const ret: number = bindings.UpdateName_as_str(this.ptr); + const ret_conv: string = bindings.decodeString(ret); + return ret_conv; + } + +} diff --git a/ts/structs/UserConfig.mts b/ts/structs/UserConfig.mts index 3d393fb5..0594a8f6 100644 --- a/ts/structs/UserConfig.mts +++ b/ts/structs/UserConfig.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -907,39 +939,6 @@ export class UserConfig extends CommonBase { bindings.UserConfig_set_accept_intercept_htlcs(this.ptr, val); } - /** - * If this is set to `false`, when receiving a keysend payment we'll fail it if it has multiple - * parts. If this is set to `true`, we'll accept the payment. - * - * Setting this to `true` will break backwards compatibility upon downgrading to an LDK - * version prior to 0.0.116 while receiving an MPP keysend. If we have already received an MPP - * keysend, downgrading will cause us to fail to deserialize [`ChannelManager`]. - * - * Default value: `false` - * - * [`ChannelManager`]: crate::ln::channelmanager::ChannelManager - */ - public get_accept_mpp_keysend(): boolean { - const ret: boolean = bindings.UserConfig_get_accept_mpp_keysend(this.ptr); - return ret; - } - - /** - * If this is set to `false`, when receiving a keysend payment we'll fail it if it has multiple - * parts. If this is set to `true`, we'll accept the payment. - * - * Setting this to `true` will break backwards compatibility upon downgrading to an LDK - * version prior to 0.0.116 while receiving an MPP keysend. If we have already received an MPP - * keysend, downgrading will cause us to fail to deserialize [`ChannelManager`]. - * - * Default value: `false` - * - * [`ChannelManager`]: crate::ln::channelmanager::ChannelManager - */ - public set_accept_mpp_keysend(val: boolean): void { - bindings.UserConfig_set_accept_mpp_keysend(this.ptr, val); - } - /** * If this is set to `true`, the user needs to manually pay [`Bolt12Invoice`]s when received. * @@ -982,8 +981,8 @@ export class UserConfig extends CommonBase { /** * Constructs a new UserConfig given each field */ - public static constructor_new(channel_handshake_config_arg: ChannelHandshakeConfig, channel_handshake_limits_arg: ChannelHandshakeLimits, channel_config_arg: ChannelConfig, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean, accept_intercept_htlcs_arg: boolean, accept_mpp_keysend_arg: boolean, manually_handle_bolt12_invoices_arg: boolean): UserConfig { - const ret: bigint = bindings.UserConfig_new(CommonBase.get_ptr_of(channel_handshake_config_arg), CommonBase.get_ptr_of(channel_handshake_limits_arg), CommonBase.get_ptr_of(channel_config_arg), accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, accept_mpp_keysend_arg, manually_handle_bolt12_invoices_arg); + public static constructor_new(channel_handshake_config_arg: ChannelHandshakeConfig, channel_handshake_limits_arg: ChannelHandshakeLimits, channel_config_arg: ChannelConfig, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean, accept_intercept_htlcs_arg: boolean, manually_handle_bolt12_invoices_arg: boolean): UserConfig { + const ret: bigint = bindings.UserConfig_new(CommonBase.get_ptr_of(channel_handshake_config_arg), CommonBase.get_ptr_of(channel_handshake_limits_arg), CommonBase.get_ptr_of(channel_config_arg), accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg, accept_intercept_htlcs_arg, manually_handle_bolt12_invoices_arg); const ret_hu_conv: UserConfig = new UserConfig(null, ret); CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv); return ret_hu_conv; diff --git a/ts/structs/UtilMethods.mts b/ts/structs/UtilMethods.mts index dcccb8b1..39745809 100644 --- a/ts/structs/UtilMethods.mts +++ b/ts/structs/UtilMethods.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -782,6 +814,24 @@ export class UtilMethods extends CommonBase { return ret; } + /** + * Migrates all data from one store to another. + * + * This operation assumes that `target_store` is empty, i.e., any data present under copied keys + * might get overriden. User must ensure `source_store` is not modified during operation, + * otherwise no consistency guarantees can be given. + * + * Will abort and return an error if any IO operation fails. Note that in this case the + * `target_store` might get left in an intermediate state. + */ + public static constructor_migrate_kv_store_data(source_store: MigratableKVStore, target_store: MigratableKVStore): Result_NoneIOErrorZ { + const ret: bigint = bindings.migrate_kv_store_data(CommonBase.get_ptr_of(source_store), CommonBase.get_ptr_of(target_store)); + const ret_hu_conv: Result_NoneIOErrorZ = Result_NoneIOErrorZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, source_store); + CommonBase.add_ref_from(ret_hu_conv, target_store); + return ret_hu_conv; + } + /** * Read previously persisted [`ChannelMonitor`]s from the store. */ @@ -875,8 +925,8 @@ export class UtilMethods extends CommonBase { * * [`Event::PaymentClaimable`]: crate::events::Event::PaymentClaimable */ - public static constructor_peel_payment_onion(msg: UpdateAddHTLC, node_signer: NodeSigner, logger: Logger, cur_height: number, accept_mpp_keysend: boolean, allow_skimmed_fees: boolean): Result_PendingHTLCInfoInboundHTLCErrZ { - const ret: bigint = bindings.peel_payment_onion(CommonBase.get_ptr_of(msg), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), cur_height, accept_mpp_keysend, allow_skimmed_fees); + public static constructor_peel_payment_onion(msg: UpdateAddHTLC, node_signer: NodeSigner, logger: Logger, cur_height: number, allow_skimmed_fees: boolean): Result_PendingHTLCInfoInboundHTLCErrZ { + const ret: bigint = bindings.peel_payment_onion(CommonBase.get_ptr_of(msg), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), cur_height, allow_skimmed_fees); const ret_hu_conv: Result_PendingHTLCInfoInboundHTLCErrZ = Result_PendingHTLCInfoInboundHTLCErrZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, msg); CommonBase.add_ref_from(ret_hu_conv, node_signer); @@ -899,8 +949,8 @@ export class UtilMethods extends CommonBase { /** * Read a C2Tuple_ThirtyTwoBytesChannelManagerZ from a byte array, created by C2Tuple_ThirtyTwoBytesChannelManagerZ_write */ - public static constructor_C2Tuple_ThirtyTwoBytesChannelManagerZ_read(ser: Uint8Array, arg_entropy_source: EntropySource, arg_node_signer: NodeSigner, arg_signer_provider: SignerProvider, arg_fee_estimator: FeeEstimator, arg_chain_monitor: Watch, arg_tx_broadcaster: BroadcasterInterface, arg_router: Router, arg_logger: Logger, arg_default_config: UserConfig, arg_channel_monitors: ChannelMonitor[]): Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ { - const ret: bigint = bindings.C2Tuple_ThirtyTwoBytesChannelManagerZ_read(bindings.encodeUint8Array(ser), bindings.ChannelManagerReadArgs_new(CommonBase.get_ptr_of(arg_entropy_source), CommonBase.get_ptr_of(arg_node_signer), CommonBase.get_ptr_of(arg_signer_provider), CommonBase.get_ptr_of(arg_fee_estimator), CommonBase.get_ptr_of(arg_chain_monitor), CommonBase.get_ptr_of(arg_tx_broadcaster), CommonBase.get_ptr_of(arg_router), CommonBase.get_ptr_of(arg_logger), CommonBase.get_ptr_of(arg_default_config), bindings.encodeUint64Array(arg_channel_monitors.map(arg_channel_monitors_conv_16 => CommonBase.get_ptr_of(arg_channel_monitors_conv_16))))); + public static constructor_C2Tuple_ThirtyTwoBytesChannelManagerZ_read(ser: Uint8Array, arg_entropy_source: EntropySource, arg_node_signer: NodeSigner, arg_signer_provider: SignerProvider, arg_fee_estimator: FeeEstimator, arg_chain_monitor: Watch, arg_tx_broadcaster: BroadcasterInterface, arg_router: Router, arg_message_router: MessageRouter, arg_logger: Logger, arg_default_config: UserConfig, arg_channel_monitors: ChannelMonitor[]): Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ { + const ret: bigint = bindings.C2Tuple_ThirtyTwoBytesChannelManagerZ_read(bindings.encodeUint8Array(ser), bindings.ChannelManagerReadArgs_new(CommonBase.get_ptr_of(arg_entropy_source), CommonBase.get_ptr_of(arg_node_signer), CommonBase.get_ptr_of(arg_signer_provider), CommonBase.get_ptr_of(arg_fee_estimator), CommonBase.get_ptr_of(arg_chain_monitor), CommonBase.get_ptr_of(arg_tx_broadcaster), CommonBase.get_ptr_of(arg_router), CommonBase.get_ptr_of(arg_message_router), CommonBase.get_ptr_of(arg_logger), CommonBase.get_ptr_of(arg_default_config), bindings.encodeUint64Array(arg_channel_monitors.map(arg_channel_monitors_conv_16 => CommonBase.get_ptr_of(arg_channel_monitors_conv_16))))); const ret_hu_conv: Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ = Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, arg_entropy_source); CommonBase.add_ref_from(ret_hu_conv, arg_node_signer); @@ -909,6 +959,7 @@ export class UtilMethods extends CommonBase { CommonBase.add_ref_from(ret_hu_conv, arg_chain_monitor); CommonBase.add_ref_from(ret_hu_conv, arg_tx_broadcaster); CommonBase.add_ref_from(ret_hu_conv, arg_router); + CommonBase.add_ref_from(ret_hu_conv, arg_message_router); CommonBase.add_ref_from(ret_hu_conv, arg_logger); ; arg_channel_monitors.forEach((arg_channel_monitors_conv_16: ChannelMonitor) => { CommonBase.add_ref_from(ret_hu_conv, arg_channel_monitors_conv_16); }); @@ -949,9 +1000,8 @@ export class UtilMethods extends CommonBase { * `ChannelManager` is required. Useful for generating invoices for [phantom node payments] without * a `ChannelManager`. * - * `keys` is generated by calling [`NodeSigner::get_inbound_payment_key_material`] and then - * calling [`ExpandedKey::new`] with its result. It is recommended to cache this value and not - * regenerate it for each new inbound payment. + * `keys` is generated by calling [`NodeSigner::get_inbound_payment_key`]. It is recommended to + * cache this value and not regenerate it for each new inbound payment. * * `current_time` is a Unix timestamp representing the current time. * @@ -959,7 +1009,7 @@ export class UtilMethods extends CommonBase { * on versions of LDK prior to 0.0.114. * * [phantom node payments]: crate::sign::PhantomKeysManager - * [`NodeSigner::get_inbound_payment_key_material`]: crate::sign::NodeSigner::get_inbound_payment_key_material + * [`NodeSigner::get_inbound_payment_key`]: crate::sign::NodeSigner::get_inbound_payment_key */ public static constructor_create(keys: ExpandedKey, min_value_msat: Option_u64Z, invoice_expiry_delta_secs: number, entropy_source: EntropySource, current_time: bigint, min_final_cltv_expiry_delta: Option_u16Z): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ { const ret: bigint = bindings.create(CommonBase.get_ptr_of(keys), CommonBase.get_ptr_of(min_value_msat), invoice_expiry_delta_secs, CommonBase.get_ptr_of(entropy_source), current_time, CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); @@ -1215,9 +1265,6 @@ export class UtilMethods extends CommonBase { * [`ChannelManager::create_inbound_payment_for_hash`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment_for_hash * [`PhantomRouteHints::channels`]: crate::ln::channelmanager::PhantomRouteHints::channels * [`MIN_FINAL_CLTV_EXPIRY_DETLA`]: crate::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA - * - * This can be used in a `no_std` environment, where [`std::time::SystemTime`] is not - * available and the current time is supplied by the caller. */ public static constructor_create_phantom_invoice(amt_msat: Option_u64Z, payment_hash: Option_ThirtyTwoBytesZ, description: string, invoice_expiry_delta_secs: number, phantom_route_hints: PhantomRouteHints[], entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, network: Currency, min_final_cltv_expiry_delta: Option_u16Z, duration_since_epoch: bigint): Result_Bolt11InvoiceSignOrCreationErrorZ { const ret: bigint = bindings.create_phantom_invoice(CommonBase.get_ptr_of(amt_msat), CommonBase.get_ptr_of(payment_hash), bindings.encodeString(description), invoice_expiry_delta_secs, bindings.encodeUint64Array(phantom_route_hints.map(phantom_route_hints_conv_19 => CommonBase.get_ptr_of(phantom_route_hints_conv_19))), CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), network, CommonBase.get_ptr_of(min_final_cltv_expiry_delta), duration_since_epoch); @@ -1264,9 +1311,6 @@ export class UtilMethods extends CommonBase { * [`ChannelManager::create_inbound_payment`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment * [`ChannelManager::create_inbound_payment_for_hash`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment_for_hash * [`PhantomRouteHints::channels`]: crate::ln::channelmanager::PhantomRouteHints::channels - * - * This can be used in a `no_std` environment, where [`std::time::SystemTime`] is not - * available and the current time is supplied by the caller. */ public static constructor_create_phantom_invoice_with_description_hash(amt_msat: Option_u64Z, payment_hash: Option_ThirtyTwoBytesZ, invoice_expiry_delta_secs: number, description_hash: Sha256, phantom_route_hints: PhantomRouteHints[], entropy_source: EntropySource, node_signer: NodeSigner, logger: Logger, network: Currency, min_final_cltv_expiry_delta: Option_u16Z, duration_since_epoch: bigint): Result_Bolt11InvoiceSignOrCreationErrorZ { const ret: bigint = bindings.create_phantom_invoice_with_description_hash(CommonBase.get_ptr_of(amt_msat), CommonBase.get_ptr_of(payment_hash), invoice_expiry_delta_secs, CommonBase.get_ptr_of(description_hash), bindings.encodeUint64Array(phantom_route_hints.map(phantom_route_hints_conv_19 => CommonBase.get_ptr_of(phantom_route_hints_conv_19))), CommonBase.get_ptr_of(entropy_source), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), network, CommonBase.get_ptr_of(min_final_cltv_expiry_delta), duration_since_epoch); @@ -1278,52 +1322,88 @@ export class UtilMethods extends CommonBase { } /** - * See [`create_invoice_from_channelmanager_with_description_hash`] - * This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not - * available and the current time is supplied by the caller. + * Utility to construct an invoice. Generally, unless you want to do something like a custom + * cltv_expiry, this is what you should be using to create an invoice. The reason being, this + * method stores the invoice's payment secret and preimage in `ChannelManager`, so (a) the user + * doesn't have to store preimage/payment secret information and (b) `ChannelManager` can verify + * that the payment secret is valid when the invoice is paid. + * + * `invoice_expiry_delta_secs` describes the number of seconds that the invoice is valid for + * in excess of the current time. + * + * You can specify a custom `min_final_cltv_expiry_delta`, or let LDK default it to + * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. The provided expiry must be at least [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. + * Note that LDK will add a buffer of 3 blocks to the delta to allow for up to a few new block + * confirmations during routing. + * + * [`MIN_FINAL_CLTV_EXPIRY_DETLA`]: crate::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA */ - public static constructor_create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(channelmanager: ChannelManager, node_signer: NodeSigner, logger: Logger, network: Currency, amt_msat: Option_u64Z, description_hash: Sha256, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { - const ret: bigint = bindings.create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), network, CommonBase.get_ptr_of(amt_msat), CommonBase.get_ptr_of(description_hash), duration_since_epoch, invoice_expiry_delta_secs, CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); + public static constructor_create_invoice_from_channelmanager(channelmanager: ChannelManager, amt_msat: Option_u64Z, description: string, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { + const ret: bigint = bindings.create_invoice_from_channelmanager(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(amt_msat), bindings.encodeString(description), invoice_expiry_delta_secs, CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); const ret_hu_conv: Result_Bolt11InvoiceSignOrCreationErrorZ = Result_Bolt11InvoiceSignOrCreationErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, channelmanager); - CommonBase.add_ref_from(ret_hu_conv, node_signer); - CommonBase.add_ref_from(ret_hu_conv, logger); return ret_hu_conv; } /** - * See [`create_invoice_from_channelmanager`] - * This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not - * available and the current time is supplied by the caller. + * Utility to construct an invoice. Generally, unless you want to do something like a custom + * cltv_expiry, this is what you should be using to create an invoice. The reason being, this + * method stores the invoice's payment secret and preimage in `ChannelManager`, so (a) the user + * doesn't have to store preimage/payment secret information and (b) `ChannelManager` can verify + * that the payment secret is valid when the invoice is paid. + * Use this variant if you want to pass the `description_hash` to the invoice. + * + * `invoice_expiry_delta_secs` describes the number of seconds that the invoice is valid for + * in excess of the current time. + * + * You can specify a custom `min_final_cltv_expiry_delta`, or let LDK default it to + * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. The provided expiry must be at least [`MIN_FINAL_CLTV_EXPIRY_DELTA`]. + * Note that LDK will add a buffer of 3 blocks to the delta to allow for up to a few new block + * confirmations during routing. + * + * [`MIN_FINAL_CLTV_EXPIRY_DETLA`]: crate::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA */ - public static constructor_create_invoice_from_channelmanager_and_duration_since_epoch(channelmanager: ChannelManager, node_signer: NodeSigner, logger: Logger, network: Currency, amt_msat: Option_u64Z, description: string, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { - const ret: bigint = bindings.create_invoice_from_channelmanager_and_duration_since_epoch(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), network, CommonBase.get_ptr_of(amt_msat), bindings.encodeString(description), duration_since_epoch, invoice_expiry_delta_secs, CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); + public static constructor_create_invoice_from_channelmanager_with_description_hash(channelmanager: ChannelManager, amt_msat: Option_u64Z, description_hash: Sha256, invoice_expiry_delta_secs: number, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { + const ret: bigint = bindings.create_invoice_from_channelmanager_with_description_hash(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(amt_msat), CommonBase.get_ptr_of(description_hash), invoice_expiry_delta_secs, CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); const ret_hu_conv: Result_Bolt11InvoiceSignOrCreationErrorZ = Result_Bolt11InvoiceSignOrCreationErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, channelmanager); - CommonBase.add_ref_from(ret_hu_conv, node_signer); - CommonBase.add_ref_from(ret_hu_conv, logger); return ret_hu_conv; } /** - * See [`create_invoice_from_channelmanager_and_duration_since_epoch`] + * See [`create_invoice_from_channelmanager`]. + * + * This version allows for providing custom [`PaymentHash`] and description hash for the invoice. + * + * This may be useful if you're building an on-chain swap or involving another protocol where + * the payment hash is also involved outside the scope of lightning and want to set the + * description hash. + */ + public static constructor_create_invoice_from_channelmanager_with_description_hash_and_payment_hash(channelmanager: ChannelManager, amt_msat: Option_u64Z, description_hash: Sha256, invoice_expiry_delta_secs: number, payment_hash: Uint8Array, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { + const ret: bigint = bindings.create_invoice_from_channelmanager_with_description_hash_and_payment_hash(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(amt_msat), CommonBase.get_ptr_of(description_hash), invoice_expiry_delta_secs, bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); + const ret_hu_conv: Result_Bolt11InvoiceSignOrCreationErrorZ = Result_Bolt11InvoiceSignOrCreationErrorZ.constr_from_ptr(ret); + CommonBase.add_ref_from(ret_hu_conv, channelmanager); + return ret_hu_conv; + } + + /** + * See [`create_invoice_from_channelmanager`]. + * * This version allows for providing a custom [`PaymentHash`] for the invoice. * This may be useful if you're building an on-chain swap or involving another protocol where * the payment hash is also involved outside the scope of lightning. */ - public static constructor_create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(channelmanager: ChannelManager, node_signer: NodeSigner, logger: Logger, network: Currency, amt_msat: Option_u64Z, description: string, duration_since_epoch: bigint, invoice_expiry_delta_secs: number, payment_hash: Uint8Array, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { - const ret: bigint = bindings.create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(node_signer), CommonBase.get_ptr_of(logger), network, CommonBase.get_ptr_of(amt_msat), bindings.encodeString(description), duration_since_epoch, invoice_expiry_delta_secs, bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); + public static constructor_create_invoice_from_channelmanager_with_payment_hash(channelmanager: ChannelManager, amt_msat: Option_u64Z, description: string, invoice_expiry_delta_secs: number, payment_hash: Uint8Array, min_final_cltv_expiry_delta: Option_u16Z): Result_Bolt11InvoiceSignOrCreationErrorZ { + const ret: bigint = bindings.create_invoice_from_channelmanager_with_payment_hash(CommonBase.get_ptr_of(channelmanager), CommonBase.get_ptr_of(amt_msat), bindings.encodeString(description), invoice_expiry_delta_secs, bindings.encodeUint8Array(bindings.check_arr_len(payment_hash, 32)), CommonBase.get_ptr_of(min_final_cltv_expiry_delta)); const ret_hu_conv: Result_Bolt11InvoiceSignOrCreationErrorZ = Result_Bolt11InvoiceSignOrCreationErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, channelmanager); - CommonBase.add_ref_from(ret_hu_conv, node_signer); - CommonBase.add_ref_from(ret_hu_conv, logger); return ret_hu_conv; } /** - * Builds the necessary parameters to pay or pre-flight probe the given zero-amount - * [`Bolt11Invoice`] using [`ChannelManager::send_payment`] or - * [`ChannelManager::send_preflight_probes`]. + * Builds the necessary parameters to pay or pre-flight probe the given variable-amount + * (also known as 'zero-amount') [`Bolt11Invoice`] using + * [`ChannelManager::send_payment`] or [`ChannelManager::send_preflight_probes`]. * * Prior to paying, you must ensure that the [`Bolt11Invoice::payment_hash`] is unique and the * same [`PaymentHash`] has never been paid before. @@ -1334,8 +1414,8 @@ export class UtilMethods extends CommonBase { * [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment * [`ChannelManager::send_preflight_probes`]: crate::ln::channelmanager::ChannelManager::send_preflight_probes */ - public static constructor_payment_parameters_from_zero_amount_invoice(invoice: Bolt11Invoice, amount_msat: bigint): Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ { - const ret: bigint = bindings.payment_parameters_from_zero_amount_invoice(CommonBase.get_ptr_of(invoice), amount_msat); + public static constructor_payment_parameters_from_variable_amount_invoice(invoice: Bolt11Invoice, amount_msat: bigint): Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ { + const ret: bigint = bindings.payment_parameters_from_variable_amount_invoice(CommonBase.get_ptr_of(invoice), amount_msat); const ret_hu_conv: Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ = Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, invoice); return ret_hu_conv; @@ -1349,7 +1429,7 @@ export class UtilMethods extends CommonBase { * same [`PaymentHash`] has never been paid before. * * Will always succeed unless the invoice has no amount specified, in which case - * [`payment_parameters_from_zero_amount_invoice`] should be used. + * [`payment_parameters_from_variable_amount_invoice`] should be used. * * [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment * [`ChannelManager::send_preflight_probes`]: crate::ln::channelmanager::ChannelManager::send_preflight_probes @@ -1482,6 +1562,14 @@ export class UtilMethods extends CommonBase { return ret; } + /** + * Returns whether `tlv_type` corresponds to a TLV record for DNS Resolvers. + */ + public static constructor_DNSResolverMessage_is_known_type(tlv_type: bigint): boolean { + const ret: boolean = bindings.DNSResolverMessage_is_known_type(tlv_type); + return ret; + } + /** * Creates an [`OnionMessage`] with the given `contents` for sending to the destination of * `path`, first calling [`Destination::resolve`] on `path.destination` with the given diff --git a/ts/structs/Utxo.mts b/ts/structs/Utxo.mts index c68a6d84..08860340 100644 --- a/ts/structs/Utxo.mts +++ b/ts/structs/Utxo.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UtxoFuture.mts b/ts/structs/UtxoFuture.mts index 44c9e876..35ddbf68 100644 --- a/ts/structs/UtxoFuture.mts +++ b/ts/structs/UtxoFuture.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UtxoLookup.mts b/ts/structs/UtxoLookup.mts index fa90eec7..0479e1a6 100644 --- a/ts/structs/UtxoLookup.mts +++ b/ts/structs/UtxoLookup.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/UtxoResult.mts b/ts/structs/UtxoResult.mts index e420af04..285aedbd 100644 --- a/ts/structs/UtxoResult.mts +++ b/ts/structs/UtxoResult.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Verification.mts b/ts/structs/Verification.mts new file mode 100644 index 00000000..586abb3c --- /dev/null +++ b/ts/structs/Verification.mts @@ -0,0 +1,827 @@ +import { TxOut } from '../structs/TxOut.mjs'; +import { TxIn } from '../structs/TxIn.mjs'; +import { BigEndianScalar } from '../structs/BigEndianScalar.mjs'; +import { WitnessProgram } from '../structs/WitnessProgram.mjs'; +import { BalanceSource } from '../enums/BalanceSource.mjs'; +import { BlindedFailure } from '../enums/BlindedFailure.mjs'; +import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs'; +import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs'; +import { COption_NoneZ } from '../enums/COption_NoneZ.mjs'; +import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs'; +import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs'; +import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs'; +import { CreationError } from '../enums/CreationError.mjs'; +import { Currency } from '../enums/Currency.mjs'; +import { Direction } from '../enums/Direction.mjs'; +import { HTLCClaim } from '../enums/HTLCClaim.mjs'; +import { IOError } from '../enums/IOError.mjs'; +import { InboundHTLCStateDetails } from '../enums/InboundHTLCStateDetails.mjs'; +import { Level } from '../enums/Level.mjs'; +import { Network } from '../enums/Network.mjs'; +import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs'; +import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs'; +import { Recipient } from '../enums/Recipient.mjs'; +import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; +import { Secp256k1Error } from '../enums/Secp256k1Error.mjs'; +import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs'; +import { SiPrefix } from '../enums/SiPrefix.mjs'; +import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs'; +import { UtxoLookupError } from '../enums/UtxoLookupError.mjs'; +import { Bech32Error } from '../structs/Bech32Error.mjs'; +import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs'; +import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Refund } from '../structs/Refund.mjs'; +import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs'; +import { Option_u64Z } from '../structs/Option_u64Z.mjs'; +import { BlindedMessagePath } from '../structs/BlindedMessagePath.mjs'; +import { DecodeError } from '../structs/DecodeError.mjs'; +import { Result_RefundDecodeErrorZ } from '../structs/Result_RefundDecodeErrorZ.mjs'; +import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; +import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; +import { Retry } from '../structs/Retry.mjs'; +import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; +import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; +import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; +import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; +import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; +import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; +import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; +import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; +import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; +import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; +import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; +import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; +import { Amount } from '../structs/Amount.mjs'; +import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; +import { Quantity } from '../structs/Quantity.mjs'; +import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs'; +import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs'; +import { Result_Bolt12InvoiceDecodeErrorZ } from '../structs/Result_Bolt12InvoiceDecodeErrorZ.mjs'; +import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs'; +import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs'; +import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs'; +import { OutPoint } from '../structs/OutPoint.mjs'; +import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs'; +import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs'; +import { Option_u32Z } from '../structs/Option_u32Z.mjs'; +import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs'; +import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs'; +import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs'; +import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs'; +import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs'; +import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs'; +import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs'; +import { Result__u832NoneZ } from '../structs/Result__u832NoneZ.mjs'; +import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs'; +import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs'; +import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs'; +import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs'; +import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs'; +import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs'; +import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs'; +import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs'; +import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs'; +import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs'; +import { ClosingTransaction } from '../structs/ClosingTransaction.mjs'; +import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs'; +import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs'; +import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs'; +import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs'; +import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; +import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; +import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; +import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; +import { Option_u16Z } from '../structs/Option_u16Z.mjs'; +import { Option_boolZ } from '../structs/Option_boolZ.mjs'; +import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs'; +import { InMemorySigner } from '../structs/InMemorySigner.mjs'; +import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs'; +import { RouteParameters } from '../structs/RouteParameters.mjs'; +import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs'; +import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs'; +import { ChannelDetails } from '../structs/ChannelDetails.mjs'; +import { Route } from '../structs/Route.mjs'; +import { LightningError } from '../structs/LightningError.mjs'; +import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; +import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; +import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; +import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; +import { RouteHop } from '../structs/RouteHop.mjs'; +import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs'; +import { BlindedHop } from '../structs/BlindedHop.mjs'; +import { BlindedTail } from '../structs/BlindedTail.mjs'; +import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs'; +import { Path } from '../structs/Path.mjs'; +import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs'; +import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs'; +import { PaymentParameters } from '../structs/PaymentParameters.mjs'; +import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs'; +import { RouteHint } from '../structs/RouteHint.mjs'; +import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs'; +import { RouteHintHop } from '../structs/RouteHintHop.mjs'; +import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs'; +import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs'; +import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs'; +import { NodeId } from '../structs/NodeId.mjs'; +import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs'; +import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs'; +import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs'; +import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs'; +import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs'; +import { Option_f64Z } from '../structs/Option_f64Z.mjs'; +import { Record } from '../structs/Record.mjs'; +import { Logger, LoggerInterface } from '../structs/Logger.mjs'; +import { NetworkGraph } from '../structs/NetworkGraph.mjs'; +import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs'; +import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs'; +import { BestBlock } from '../structs/BestBlock.mjs'; +import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs'; +import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs'; +import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs'; +import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs'; +import { HTLCUpdate } from '../structs/HTLCUpdate.mjs'; +import { UntrustedString } from '../structs/UntrustedString.mjs'; +import { ClosureReason } from '../structs/ClosureReason.mjs'; +import { ChannelId } from '../structs/ChannelId.mjs'; +import { MonitorEvent } from '../structs/MonitorEvent.mjs'; +import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; +import { OfferId } from '../structs/OfferId.mjs'; +import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; +import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; +import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; +import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; +import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; +import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs'; +import { NetworkUpdate } from '../structs/NetworkUpdate.mjs'; +import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs'; +import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs'; +import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs'; +import { UtxoFuture } from '../structs/UtxoFuture.mjs'; +import { UtxoResult } from '../structs/UtxoResult.mjs'; +import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs'; +import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs'; +import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs'; +import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs'; +import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs'; +import { ChannelUpdate } from '../structs/ChannelUpdate.mjs'; +import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs'; +import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs'; +import { AcceptChannel } from '../structs/AcceptChannel.mjs'; +import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs'; +import { OpenChannel } from '../structs/OpenChannel.mjs'; +import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs'; +import { FundingCreated } from '../structs/FundingCreated.mjs'; +import { FundingSigned } from '../structs/FundingSigned.mjs'; +import { Stfu } from '../structs/Stfu.mjs'; +import { SpliceInit } from '../structs/SpliceInit.mjs'; +import { SpliceAck } from '../structs/SpliceAck.mjs'; +import { SpliceLocked } from '../structs/SpliceLocked.mjs'; +import { TxAddInput } from '../structs/TxAddInput.mjs'; +import { TxAddOutput } from '../structs/TxAddOutput.mjs'; +import { TxRemoveInput } from '../structs/TxRemoveInput.mjs'; +import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs'; +import { TxComplete } from '../structs/TxComplete.mjs'; +import { TxSignatures } from '../structs/TxSignatures.mjs'; +import { TxInitRbf } from '../structs/TxInitRbf.mjs'; +import { TxAckRbf } from '../structs/TxAckRbf.mjs'; +import { TxAbort } from '../structs/TxAbort.mjs'; +import { ChannelReady } from '../structs/ChannelReady.mjs'; +import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs'; +import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs'; +import { RevokeAndACK } from '../structs/RevokeAndACK.mjs'; +import { ClosingSigned } from '../structs/ClosingSigned.mjs'; +import { Shutdown } from '../structs/Shutdown.mjs'; +import { ChannelReestablish } from '../structs/ChannelReestablish.mjs'; +import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs'; +import { ErrorMessage } from '../structs/ErrorMessage.mjs'; +import { WarningMessage } from '../structs/WarningMessage.mjs'; +import { ErrorAction } from '../structs/ErrorAction.mjs'; +import { QueryChannelRange } from '../structs/QueryChannelRange.mjs'; +import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs'; +import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs'; +import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs'; +import { MessageSendEvent } from '../structs/MessageSendEvent.mjs'; +import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs'; +import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs'; +import { ChannelInfo } from '../structs/ChannelInfo.mjs'; +import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs'; +import { RoutingFees } from '../structs/RoutingFees.mjs'; +import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs'; +import { Hostname } from '../structs/Hostname.mjs'; +import { SocketAddress } from '../structs/SocketAddress.mjs'; +import { NodeAnnouncementDetails } from '../structs/NodeAnnouncementDetails.mjs'; +import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs'; +import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs'; +import { NodeAlias } from '../structs/NodeAlias.mjs'; +import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs'; +import { Option_NodeAnnouncementInfoZ } from '../structs/Option_NodeAnnouncementInfoZ.mjs'; +import { NodeInfo } from '../structs/NodeInfo.mjs'; +import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs'; +import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs'; +import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs'; +import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs'; +import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs'; +import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs'; +import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs'; +import { Utxo } from '../structs/Utxo.mjs'; +import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs'; +import { Input } from '../structs/Input.mjs'; +import { CoinSelection } from '../structs/CoinSelection.mjs'; +import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; +import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; +import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; +import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; +import { PaymentContext } from '../structs/PaymentContext.mjs'; +import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; +import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; +import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; +import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; +import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; +import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; +import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; +import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; +import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; +import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; +import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; +import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; +import { Option_StrZ } from '../structs/Option_StrZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; +import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; +import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; +import { InvoiceError } from '../structs/InvoiceError.mjs'; +import { OffersMessage } from '../structs/OffersMessage.mjs'; +import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; +import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; +import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; +import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; +import { Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ } from '../structs/Option_C2Tuple_ReleaseHeldHtlcResponseInstructionZZ.mjs'; +import { HeldHtlcAvailable } from '../structs/HeldHtlcAvailable.mjs'; +import { AsyncPaymentsMessage } from '../structs/AsyncPaymentsMessage.mjs'; +import { TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ } from '../structs/TwoTuple_AsyncPaymentsMessageMessageSendInstructionsZ.mjs'; +import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs'; +import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs'; +import { BlindedForward } from '../structs/BlindedForward.mjs'; +import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs'; +import { OnionPacket } from '../structs/OnionPacket.mjs'; +import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs'; +import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs'; +import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs'; +import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs'; +import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs'; +import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; +import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; +import { Watch, WatchInterface } from '../structs/Watch.mjs'; +import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; +import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; +import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; +import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; +import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; +import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; +import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; +import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; +import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; +import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; +import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; +import { ChannelManager } from '../structs/ChannelManager.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; +import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs'; +import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs'; +import { ChannelConfig } from '../structs/ChannelConfig.mjs'; +import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs'; +import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs'; +import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs'; +import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs'; +import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs'; +import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs'; +import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs'; +import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs'; +import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs'; +import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs'; +import { ReplayEvent } from '../structs/ReplayEvent.mjs'; +import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; +import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; +import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; +import { Balance } from '../structs/Balance.mjs'; +import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; +import { Type, TypeInterface } from '../structs/Type.mjs'; +import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs'; +import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs'; +import { TwoTuple_OnionMessageContentsResponseInstructionZ } from '../structs/TwoTuple_OnionMessageContentsResponseInstructionZ.mjs'; +import { Option_C2Tuple_OnionMessageContentsResponseInstructionZZ } from '../structs/Option_C2Tuple_OnionMessageContentsResponseInstructionZZ.mjs'; +import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs'; +import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs'; +import { TwoTuple_OnionMessageContentsMessageSendInstructionsZ } from '../structs/TwoTuple_OnionMessageContentsMessageSendInstructionsZ.mjs'; +import { Option_TypeZ } from '../structs/Option_TypeZ.mjs'; +import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs'; +import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs'; +import { PeerDetails } from '../structs/PeerDetails.mjs'; +import { PeerHandleError } from '../structs/PeerHandleError.mjs'; +import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs'; +import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs'; +import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs'; +import { GraphSyncError } from '../structs/GraphSyncError.mjs'; +import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs'; +import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; +import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; +import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; +import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; +import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; +import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; +import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; +import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; +import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; +import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; +import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; +import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; +import { Option_i64Z } from '../structs/Option_i64Z.mjs'; +import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs'; +import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs'; +import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs'; +import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs'; +import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs'; +import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs'; +import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs'; +import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs'; +import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs'; +import { Result_SpliceInitDecodeErrorZ } from '../structs/Result_SpliceInitDecodeErrorZ.mjs'; +import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs'; +import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs'; +import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs'; +import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs'; +import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs'; +import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs'; +import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs'; +import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs'; +import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs'; +import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs'; +import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs'; +import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs'; +import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs'; +import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs'; +import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs'; +import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs'; +import { CommitmentSignedBatch } from '../structs/CommitmentSignedBatch.mjs'; +import { Result_CommitmentSignedBatchDecodeErrorZ } from '../structs/Result_CommitmentSignedBatchDecodeErrorZ.mjs'; +import { CommitmentSigned } from '../structs/CommitmentSigned.mjs'; +import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs'; +import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs'; +import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs'; +import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs'; +import { Init } from '../structs/Init.mjs'; +import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs'; +import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs'; +import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs'; +import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs'; +import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs'; +import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs'; +import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs'; +import { UpdateFee } from '../structs/UpdateFee.mjs'; +import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs'; +import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs'; +import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs'; +import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs'; +import { OnionMessage } from '../structs/OnionMessage.mjs'; +import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs'; +import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs'; +import { Ping } from '../structs/Ping.mjs'; +import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs'; +import { Pong } from '../structs/Pong.mjs'; +import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs'; +import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs'; +import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs'; +import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs'; +import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs'; +import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs'; +import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs'; +import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs'; +import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs'; +import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs'; +import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs'; +import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs'; +import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs'; +import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs'; +import { Option_InboundHTLCStateDetailsZ } from '../structs/Option_InboundHTLCStateDetailsZ.mjs'; +import { Result_COption_InboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_InboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { InboundHTLCDetails } from '../structs/InboundHTLCDetails.mjs'; +import { Result_InboundHTLCDetailsDecodeErrorZ } from '../structs/Result_InboundHTLCDetailsDecodeErrorZ.mjs'; +import { Option_OutboundHTLCStateDetailsZ } from '../structs/Option_OutboundHTLCStateDetailsZ.mjs'; +import { Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ } from '../structs/Result_COption_OutboundHTLCStateDetailsZDecodeErrorZ.mjs'; +import { OutboundHTLCDetails } from '../structs/OutboundHTLCDetails.mjs'; +import { Result_OutboundHTLCDetailsDecodeErrorZ } from '../structs/Result_OutboundHTLCDetailsDecodeErrorZ.mjs'; +import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs'; +import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs'; +import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs'; +import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs'; +import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs'; +import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs'; +import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs'; +import { Result_HeldHtlcAvailableDecodeErrorZ } from '../structs/Result_HeldHtlcAvailableDecodeErrorZ.mjs'; +import { Result_ReleaseHeldHtlcDecodeErrorZ } from '../structs/Result_ReleaseHeldHtlcDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsMessageDecodeErrorZ } from '../structs/Result_AsyncPaymentsMessageDecodeErrorZ.mjs'; +import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs'; +import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs'; +import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs'; +import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs'; +import { TxCreationKeys } from '../structs/TxCreationKeys.mjs'; +import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs'; +import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs'; +import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs'; +import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs'; +import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs'; +import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs'; +import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs'; +import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs'; +import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs'; +import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs'; +import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs'; +import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs'; +import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs'; +import { Option_usizeZ } from '../structs/Option_usizeZ.mjs'; +import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs'; +import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs'; +import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs'; +import { FundingInfo } from '../structs/FundingInfo.mjs'; +import { Result_FundingInfoDecodeErrorZ } from '../structs/Result_FundingInfoDecodeErrorZ.mjs'; +import { PaymentPurpose } from '../structs/PaymentPurpose.mjs'; +import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs'; +import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs'; +import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs'; +import { PathFailure } from '../structs/PathFailure.mjs'; +import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs'; +import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs'; +import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs'; +import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs'; +import { HTLCDestination } from '../structs/HTLCDestination.mjs'; +import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs'; +import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs'; +import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs'; +import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; +import { Option_U128Z } from '../structs/Option_U128Z.mjs'; +import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; +import { ChannelParameters } from '../structs/ChannelParameters.mjs'; +import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; +import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; +import { Event } from '../structs/Event.mjs'; +import { Option_EventZ } from '../structs/Option_EventZ.mjs'; +import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs'; +import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; +import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; +import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; +import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; +import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; +import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; +import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs'; +import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs'; +import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs'; +import { PayeePubKey } from '../structs/PayeePubKey.mjs'; +import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs'; +import { PrivateRoute } from '../structs/PrivateRoute.mjs'; +import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs'; +import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs'; +import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs'; +import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs'; +import { Description } from '../structs/Description.mjs'; +import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs'; +import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs'; +import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs'; +import { BigSize } from '../structs/BigSize.mjs'; +import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs'; +import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs'; +import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs'; +import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs'; +import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; +import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; +import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; +import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; +import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; +import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; +import { Result_BlindedPaymentPathNoneZ } from '../structs/Result_BlindedPaymentPathNoneZ.mjs'; +import { PaymentForwardNode } from '../structs/PaymentForwardNode.mjs'; +import { PaymentRelay } from '../structs/PaymentRelay.mjs'; +import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs'; +import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; +import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; +import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; +import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; +import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; +import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; +import { Option_MessageContextZ } from '../structs/Option_MessageContextZ.mjs'; +import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs'; +import { SendError } from '../structs/SendError.mjs'; +import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs'; +import { NextMessageHop } from '../structs/NextMessageHop.mjs'; +import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs'; +import { PeeledOnion } from '../structs/PeeledOnion.mjs'; +import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs'; +import { SendSuccess } from '../structs/SendSuccess.mjs'; +import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; +import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; +import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; +import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; +import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; +import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; +import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs'; +import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs'; +import { WatchedOutput } from '../structs/WatchedOutput.mjs'; +import { Filter, FilterInterface } from '../structs/Filter.mjs'; +import { Option_FilterZ } from '../structs/Option_FilterZ.mjs'; +import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs'; +import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs'; +import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs'; +import { OutputSweeper } from '../structs/OutputSweeper.mjs'; +import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs'; +import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs'; +import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs'; +import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs'; +import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs'; +import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs'; +import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs'; +import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs'; +import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs'; +import { HtlcKey } from '../structs/HtlcKey.mjs'; +import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs'; +import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs'; +import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs'; +import { RevocationKey } from '../structs/RevocationKey.mjs'; +import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs'; +import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs'; +import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs'; +import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs'; +import { TwoTuple_OutPointCVec_u64ZZ } from '../structs/TwoTuple_OutPointCVec_u64ZZ.mjs'; +import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_BlindedMessagePathDecodeErrorZ.mjs'; +import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; +import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; +import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; +import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; +import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; +import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; +import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs'; +import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs'; +import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs'; +import { ChannelUsage } from '../structs/ChannelUsage.mjs'; +import { ProbabilisticScoringFeeParameters } from '../structs/ProbabilisticScoringFeeParameters.mjs'; +import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs'; +import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs'; +import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs'; +import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs'; +import { Persister, PersisterInterface } from '../structs/Persister.mjs'; +import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs'; +import { Persist, PersistInterface } from '../structs/Persist.mjs'; +import { Listen, ListenInterface } from '../structs/Listen.mjs'; +import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs'; +import { SpendingDelay } from '../structs/SpendingDelay.mjs'; +import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs'; +import { Future } from '../structs/Future.mjs'; +import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs'; +import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs'; +import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs'; +import { UserConfig } from '../structs/UserConfig.mjs'; +import { ChainMonitor } from '../structs/ChainMonitor.mjs'; +import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; +import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; +import { FailureCode } from '../structs/FailureCode.mjs'; +import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; +import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; +import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; +import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; +import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; +import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; +import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; +import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; +import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; +import { Packet } from '../structs/Packet.mjs'; +import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs'; +import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs'; +import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs'; +import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs'; +import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs'; +import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs'; +import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs'; +import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs'; +import { MessageHandler } from '../structs/MessageHandler.mjs'; +import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; +import { PeerManager } from '../structs/PeerManager.mjs'; +import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; +import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; +import { PrintableString } from '../structs/PrintableString.mjs'; +import { OfferFeatures } from '../structs/OfferFeatures.mjs'; +import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs'; +import { TaggedHash } from '../structs/TaggedHash.mjs'; +import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; +import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; +import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; +import { SignError } from '../structs/SignError.mjs'; +import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; +import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs'; +import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs'; +import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs'; +import { DefaultRouter } from '../structs/DefaultRouter.mjs'; +import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs'; +import { Payee } from '../structs/Payee.mjs'; +import { Score, ScoreInterface } from '../structs/Score.mjs'; +import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs'; +import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs'; +import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs'; +import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs'; +import { KeysManager } from '../structs/KeysManager.mjs'; +import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; +import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; +import { OnionMessenger } from '../structs/OnionMessenger.mjs'; +import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; +import { IntroductionNode } from '../structs/IntroductionNode.mjs'; +import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs'; +import { ForwardTlvs } from '../structs/ForwardTlvs.mjs'; +import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs'; +import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs'; +import { Wallet } from '../structs/Wallet.mjs'; +import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs'; +import { RapidGossipSync } from '../structs/RapidGossipSync.mjs'; +import { GossipSync } from '../structs/GossipSync.mjs'; +import { RawDataPart } from '../structs/RawDataPart.mjs'; +import { ExpiryTime } from '../structs/ExpiryTime.mjs'; +import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs'; +import { Fallback } from '../structs/Fallback.mjs'; + + +import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs'; +import * as bindings from '../bindings.mjs' + + + +/** An implementation of Verification */ +export interface VerificationInterface { + /**Constructs an HMAC to include in [`OffersContext`] for the data along with the given + * [`Nonce`]. + */ + hmac_for_offer_payment(nonce: Nonce, expanded_key: ExpandedKey): Uint8Array; + /**Authenticates the data using an HMAC and a [`Nonce`] taken from an [`OffersContext`]. + */ + verify_for_offer_payment(hmac: Uint8Array, nonce: Nonce, expanded_key: ExpandedKey): Result_NoneNoneZ; +} + +class LDKVerificationHolder { + held: Verification|null = null; +} + +/** + * A trait defining behavior for creating and verifing the HMAC for authenticating a given data. + */ +export class Verification extends CommonBase { + /* @internal */ + public bindings_instance: bindings.LDKVerification|null; + + /* @internal */ + public instance_idx?: number; + + /* @internal */ + constructor(_dummy: null, ptr: bigint) { + super(ptr, bindings.Verification_free); + this.bindings_instance = null; + } + + /** Creates a new instance of Verification from a given implementation */ + public static new_impl(arg: VerificationInterface): Verification { + const impl_holder: LDKVerificationHolder = new LDKVerificationHolder(); + let structImplementation = { + hmac_for_offer_payment (nonce: bigint, expanded_key: bigint): number { + const nonce_hu_conv: Nonce = new Nonce(null, nonce); + CommonBase.add_ref_from(nonce_hu_conv, this); + const expanded_key_hu_conv: ExpandedKey = new ExpandedKey(null, expanded_key); + const ret: Uint8Array = arg.hmac_for_offer_payment(nonce_hu_conv, expanded_key_hu_conv); + const result: number = bindings.encodeUint8Array(bindings.check_arr_len(ret, 32)); + return result; + }, + verify_for_offer_payment (hmac: number, nonce: bigint, expanded_key: bigint): bigint { + const hmac_conv: Uint8Array = bindings.decodeUint8Array(hmac); + const nonce_hu_conv: Nonce = new Nonce(null, nonce); + CommonBase.add_ref_from(nonce_hu_conv, this); + const expanded_key_hu_conv: ExpandedKey = new ExpandedKey(null, expanded_key); + const ret: Result_NoneNoneZ = arg.verify_for_offer_payment(hmac_conv, nonce_hu_conv, expanded_key_hu_conv); + const result: bigint = ret.clone_ptr(); + return result; + }, + } as bindings.LDKVerification; + const ptr_idx: [bigint, number] = bindings.LDKVerification_new(structImplementation); + + impl_holder.held = new Verification(null, ptr_idx[0]); + impl_holder.held.instance_idx = ptr_idx[1]; + impl_holder.held.bindings_instance = structImplementation; + return impl_holder.held!; + } + + /** + * Constructs an HMAC to include in [`OffersContext`] for the data along with the given + * [`Nonce`]. + */ + public hmac_for_offer_payment(nonce: Nonce, expanded_key: ExpandedKey): Uint8Array { + const ret: number = bindings.Verification_hmac_for_offer_payment(this.ptr, CommonBase.get_ptr_of(nonce), CommonBase.get_ptr_of(expanded_key)); + const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); + CommonBase.add_ref_from(this, expanded_key); + return ret_conv; + } + + /** + * Authenticates the data using an HMAC and a [`Nonce`] taken from an [`OffersContext`]. + */ + public verify_for_offer_payment(hmac: Uint8Array, nonce: Nonce, expanded_key: ExpandedKey): Result_NoneNoneZ { + const ret: bigint = bindings.Verification_verify_for_offer_payment(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(hmac, 32)), CommonBase.get_ptr_of(nonce), CommonBase.get_ptr_of(expanded_key)); + const ret_hu_conv: Result_NoneNoneZ = Result_NoneNoneZ.constr_from_ptr(ret); + CommonBase.add_ref_from(this, expanded_key); + return ret_hu_conv; + } + +} diff --git a/ts/structs/VerifiedInvoiceRequest.mts b/ts/structs/VerifiedInvoiceRequest.mts index 2a694c3e..9bff609f 100644 --- a/ts/structs/VerifiedInvoiceRequest.mts +++ b/ts/structs/VerifiedInvoiceRequest.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,15 +380,21 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; @@ -867,21 +899,31 @@ export class VerifiedInvoiceRequest extends CommonBase { } /** - * The public key used by the recipient to sign invoices. + * The public key corresponding to the key used by the recipient to sign invoices. + * - If [`Offer::paths`] is empty, MUST be `Some` and contain the recipient's node id for + * sending an [`InvoiceRequest`]. + * - If [`Offer::paths`] is not empty, MAY be `Some` and contain a transient id. + * - If `None`, the signing pubkey will be the final blinded node id from the + * [`BlindedMessagePath`] in [`Offer::paths`] used to send the [`InvoiceRequest`]. + * + * See also [`Bolt12Invoice::signing_pubkey`]. + * + * [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest + * [`Bolt12Invoice::signing_pubkey`]: crate::offers::invoice::Bolt12Invoice::signing_pubkey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ - public signing_pubkey(): Uint8Array { - const ret: number = bindings.VerifiedInvoiceRequest_signing_pubkey(this.ptr); + public issuer_signing_pubkey(): Uint8Array { + const ret: number = bindings.VerifiedInvoiceRequest_issuer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } /** * An unpredictable series of bytes, typically containing information about the derivation of - * [`payer_id`]. + * [`payer_signing_pubkey`]. * - * [`payer_id`]: Self::payer_id + * [`payer_signing_pubkey`]: Self::payer_signing_pubkey */ public payer_metadata(): Uint8Array { const ret: number = bindings.VerifiedInvoiceRequest_payer_metadata(this.ptr); @@ -911,6 +953,18 @@ export class VerifiedInvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * Returns whether an amount was set in the request; otherwise, if [`amount_msats`] is `Some` + * then it was inferred from the [`Offer::amount`] and [`quantity`]. + * + * [`amount_msats`]: Self::amount_msats + * [`quantity`]: Self::quantity + */ + public has_amount_msats(): boolean { + const ret: boolean = bindings.VerifiedInvoiceRequest_has_amount_msats(this.ptr); + return ret; + } + /** * Features pertaining to requesting an invoice. */ @@ -934,8 +988,8 @@ export class VerifiedInvoiceRequest extends CommonBase { /** * A possibly transient pubkey used to sign the invoice request. */ - public payer_id(): Uint8Array { - const ret: number = bindings.VerifiedInvoiceRequest_payer_id(this.ptr); + public payer_signing_pubkey(): Uint8Array { + const ret: number = bindings.VerifiedInvoiceRequest_payer_signing_pubkey(this.ptr); const ret_conv: Uint8Array = bindings.decodeUint8Array(ret); return ret_conv; } @@ -953,12 +1007,24 @@ export class VerifiedInvoiceRequest extends CommonBase { return ret_hu_conv; } + /** + * If the [`Offer`] was sourced from a BIP 353 Human Readable Name, this should be set by the + * builder to indicate the original [`HumanReadableName`] which was resolved. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ + public offer_from_hrn(): HumanReadableName { + const ret: bigint = bindings.VerifiedInvoiceRequest_offer_from_hrn(this.ptr); + const ret_hu_conv: HumanReadableName = new HumanReadableName(null, ret); + CommonBase.add_ref_from(ret_hu_conv, this); + return ret_hu_conv; + } + /** * Creates an [`InvoiceBuilder`] for the request with the given required fields. * * Unless [`InvoiceBuilder::relative_expiry`] is set, the invoice will expire two hours after - * `created_at`, which is used to set [`Bolt12Invoice::created_at`]. Useful for `no-std` builds - * where [`std::time::SystemTime`] is not available. + * `created_at`, which is used to set [`Bolt12Invoice::created_at`]. * * The caller is expected to remember the preimage of `payment_hash` in order to claim a payment * for the invoice. @@ -966,7 +1032,7 @@ export class VerifiedInvoiceRequest extends CommonBase { * The `payment_paths` parameter is useful for maintaining the payment recipient's privacy. It * must contain one or more elements ordered from most-preferred to least-preferred, if there's * a preference. Note, however, that any privacy is lost if a public node id was used for - * [`Offer::signing_pubkey`]. + * [`Offer::issuer_signing_pubkey`]. * * Errors if the request contains unknown required features. * diff --git a/ts/structs/Wallet.mts b/ts/structs/Wallet.mts index 233b1656..4c065306 100644 --- a/ts/structs/Wallet.mts +++ b/ts/structs/Wallet.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/WalletSource.mts b/ts/structs/WalletSource.mts index af3705b1..0bbef106 100644 --- a/ts/structs/WalletSource.mts +++ b/ts/structs/WalletSource.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -639,15 +666,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -663,8 +695,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -672,6 +702,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -689,6 +720,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/WarningMessage.mts b/ts/structs/WarningMessage.mts index 14ab6ad6..6b91f0a8 100644 --- a/ts/structs/WarningMessage.mts +++ b/ts/structs/WarningMessage.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/Watch.mts b/ts/structs/Watch.mts index bf617eb7..e4fd0551 100644 --- a/ts/structs/Watch.mts +++ b/ts/structs/Watch.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitor } from '../structs/ChannelMonitor.mjs'; import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/WatchedOutput.mts b/ts/structs/WatchedOutput.mts index 704b089e..dd3c495a 100644 --- a/ts/structs/WatchedOutput.mts +++ b/ts/structs/WatchedOutput.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/WitnessProgram.mts b/ts/structs/WitnessProgram.mts index 2b99e065..331f9a98 100644 --- a/ts/structs/WitnessProgram.mts +++ b/ts/structs/WitnessProgram.mts @@ -39,20 +39,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -94,6 +118,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -107,12 +132,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -154,29 +174,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -258,42 +261,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -316,8 +318,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -325,8 +327,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -348,6 +354,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -372,9 +379,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -382,6 +394,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -513,6 +526,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -522,7 +537,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -548,6 +562,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -558,7 +585,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -574,8 +600,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -611,6 +635,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; diff --git a/ts/structs/WriteableScore.mts b/ts/structs/WriteableScore.mts index dcd3e9a9..237a9234 100644 --- a/ts/structs/WriteableScore.mts +++ b/ts/structs/WriteableScore.mts @@ -40,20 +40,44 @@ import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs'; import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs'; import { Retry } from '../structs/Retry.mjs'; import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs'; -import { ShutdownScript } from '../structs/ShutdownScript.mjs'; -import { APIError } from '../structs/APIError.mjs'; -import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs'; import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs'; import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs'; import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs'; import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs'; import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs'; +import { DNSSECQuery } from '../structs/DNSSECQuery.mjs'; +import { DNSSECProof } from '../structs/DNSSECProof.mjs'; +import { DNSResolverMessage } from '../structs/DNSResolverMessage.mjs'; +import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; +import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; +import { Option_C2Tuple_DNSResolverMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_DNSResolverMessageResponseInstructionZZ.mjs'; +import { Destination } from '../structs/Destination.mjs'; +import { Nonce } from '../structs/Nonce.mjs'; +import { OffersContext } from '../structs/OffersContext.mjs'; +import { AsyncPaymentsContext } from '../structs/AsyncPaymentsContext.mjs'; +import { DNSResolverContext } from '../structs/DNSResolverContext.mjs'; +import { MessageContext } from '../structs/MessageContext.mjs'; +import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; +import { TwoTuple_DNSResolverMessageMessageSendInstructionsZ } from '../structs/TwoTuple_DNSResolverMessageMessageSendInstructionsZ.mjs'; +import { Result_DNSResolverMessageDecodeErrorZ } from '../structs/Result_DNSResolverMessageDecodeErrorZ.mjs'; +import { HumanReadableName } from '../structs/HumanReadableName.mjs'; +import { Result_HumanReadableNameNoneZ } from '../structs/Result_HumanReadableNameNoneZ.mjs'; +import { Result_HumanReadableNameDecodeErrorZ } from '../structs/Result_HumanReadableNameDecodeErrorZ.mjs'; +import { TwoTuple_DNSSECQueryDNSResolverContextZ } from '../structs/TwoTuple_DNSSECQueryDNSResolverContextZ.mjs'; +import { Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ } from '../structs/Result_C2Tuple_DNSSECQueryDNSResolverContextZNoneZ.mjs'; +import { TwoTuple_HumanReadableNameThirtyTwoBytesZ } from '../structs/TwoTuple_HumanReadableNameThirtyTwoBytesZ.mjs'; +import { Offer } from '../structs/Offer.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZOfferZZ.mjs'; +import { TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ } from '../structs/TwoTuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZ.mjs'; +import { Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ } from '../structs/Option_C2Tuple_CVec_C2Tuple_HumanReadableNameThirtyTwoBytesZZStrZZ.mjs'; import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs'; import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs'; import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs'; import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs'; +import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs'; import { Amount } from '../structs/Amount.mjs'; import { Option_AmountZ } from '../structs/Option_AmountZ.mjs'; @@ -95,6 +119,7 @@ import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner. import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs'; import { Result_EcdsaChannelSignerDecodeErrorZ } from '../structs/Result_EcdsaChannelSignerDecodeErrorZ.mjs'; import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs'; +import { ShutdownScript } from '../structs/ShutdownScript.mjs'; import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs'; import { Option_u16Z } from '../structs/Option_u16Z.mjs'; import { Option_boolZ } from '../structs/Option_boolZ.mjs'; @@ -108,12 +133,7 @@ import { ChannelDetails } from '../structs/ChannelDetails.mjs'; import { Route } from '../structs/Route.mjs'; import { LightningError } from '../structs/LightningError.mjs'; import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs'; -import { BlindedPaymentPath } from '../structs/BlindedPaymentPath.mjs'; import { Result_CVec_BlindedPaymentPathZNoneZ } from '../structs/Result_CVec_BlindedPaymentPathZNoneZ.mjs'; -import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; -import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; -import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; -import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs'; import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs'; import { RouteHop } from '../structs/RouteHop.mjs'; @@ -155,29 +175,12 @@ import { ClosureReason } from '../structs/ClosureReason.mjs'; import { ChannelId } from '../structs/ChannelId.mjs'; import { MonitorEvent } from '../structs/MonitorEvent.mjs'; import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs'; -import { InitFeatures } from '../structs/InitFeatures.mjs'; -import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; -import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; -import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; -import { NodeFeatures } from '../structs/NodeFeatures.mjs'; -import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; -import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; -import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; -import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; -import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; -import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; -import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; -import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; -import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { OfferId } from '../structs/OfferId.mjs'; import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs'; import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs'; -import { Offer } from '../structs/Offer.mjs'; import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs'; -import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs'; -import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs'; +import { InvoiceRequestWithDerivedPayerSigningPubkeyBuilder } from '../structs/InvoiceRequestWithDerivedPayerSigningPubkeyBuilder.mjs'; +import { Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; import { Result_OfferDecodeErrorZ } from '../structs/Result_OfferDecodeErrorZ.mjs'; import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs'; import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs'; @@ -259,42 +262,41 @@ import { Input } from '../structs/Input.mjs'; import { CoinSelection } from '../structs/CoinSelection.mjs'; import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs'; import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs'; -import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs'; import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs'; import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs'; import { PaymentContext } from '../structs/PaymentContext.mjs'; import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs'; import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs'; import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs'; +import { APIError } from '../structs/APIError.mjs'; import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs'; import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs'; -import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs'; -import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs'; +import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs'; import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs'; -import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs'; +import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; +import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; +import { Result_NoneBolt12PaymentErrorZ } from '../structs/Result_NoneBolt12PaymentErrorZ.mjs'; import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs'; import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; -import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; +import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs'; import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs'; +import { TwoTuple_PublicKeyChannelIdZ } from '../structs/TwoTuple_PublicKeyChannelIdZ.mjs'; +import { Option_C2Tuple_PublicKeyChannelIdZZ } from '../structs/Option_C2Tuple_PublicKeyChannelIdZZ.mjs'; +import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; +import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; +import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs'; import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs'; import { Option_StrZ } from '../structs/Option_StrZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs'; import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs'; -import { Nonce } from '../structs/Nonce.mjs'; -import { OffersContext } from '../structs/OffersContext.mjs'; -import { Option_OffersContextZ } from '../structs/Option_OffersContextZ.mjs'; import { InvoiceRequest } from '../structs/InvoiceRequest.mjs'; import { InvoiceError } from '../structs/InvoiceError.mjs'; import { OffersMessage } from '../structs/OffersMessage.mjs'; -import { ResponseInstruction } from '../structs/ResponseInstruction.mjs'; import { TwoTuple_OffersMessageResponseInstructionZ } from '../structs/TwoTuple_OffersMessageResponseInstructionZ.mjs'; import { Option_C2Tuple_OffersMessageResponseInstructionZZ } from '../structs/Option_C2Tuple_OffersMessageResponseInstructionZZ.mjs'; -import { Destination } from '../structs/Destination.mjs'; -import { MessageContext } from '../structs/MessageContext.mjs'; -import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { TwoTuple_OffersMessageMessageSendInstructionsZ } from '../structs/TwoTuple_OffersMessageMessageSendInstructionsZ.mjs'; import { ReleaseHeldHtlc } from '../structs/ReleaseHeldHtlc.mjs'; import { TwoTuple_ReleaseHeldHtlcResponseInstructionZ } from '../structs/TwoTuple_ReleaseHeldHtlcResponseInstructionZ.mjs'; @@ -317,8 +319,8 @@ import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs'; import { Watch, WatchInterface } from '../structs/Watch.mjs'; import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs'; import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs'; +import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs'; -import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs'; import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs'; import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs'; @@ -326,8 +328,12 @@ import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs'; import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs'; import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs'; import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs'; -import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { Router, RouterInterface } from '../structs/Router.mjs'; +import { OnionMessagePath } from '../structs/OnionMessagePath.mjs'; +import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs'; +import { Result_CVec_BlindedMessagePathZNoneZ } from '../structs/Result_CVec_BlindedMessagePathZNoneZ.mjs'; +import { MessageForwardNode } from '../structs/MessageForwardNode.mjs'; +import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs'; import { ChannelManager } from '../structs/ChannelManager.mjs'; import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs'; @@ -349,6 +355,7 @@ import { ReplayEvent } from '../structs/ReplayEvent.mjs'; import { Result_NoneReplayEventZ } from '../structs/Result_NoneReplayEventZ.mjs'; import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs'; import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs'; +import { TwoTuple_boolboolZ } from '../structs/TwoTuple_boolboolZ.mjs'; import { Balance } from '../structs/Balance.mjs'; import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs'; @@ -373,9 +380,14 @@ import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ. import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs'; import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs'; import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs'; +import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs'; +import { Result_CVec_C3Tuple_StrStrStrZZIOErrorZ } from '../structs/Result_CVec_C3Tuple_StrStrStrZZIOErrorZ.mjs'; import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs'; import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs'; -import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs'; +import { MonitorName } from '../structs/MonitorName.mjs'; +import { Result_MonitorNameIOErrorZ } from '../structs/Result_MonitorNameIOErrorZ.mjs'; +import { UpdateName } from '../structs/UpdateName.mjs'; +import { Result_UpdateNameIOErrorZ } from '../structs/Result_UpdateNameIOErrorZ.mjs'; import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs'; import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; @@ -383,6 +395,7 @@ import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs'; import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs'; import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs'; import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs'; +import { Result_InvoiceRequestDecodeErrorZ } from '../structs/Result_InvoiceRequestDecodeErrorZ.mjs'; import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs'; import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs'; import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs'; @@ -514,6 +527,8 @@ import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureRe import { Result_COption_PaymentFailureReasonZDecodeErrorZ } from '../structs/Result_COption_PaymentFailureReasonZDecodeErrorZ.mjs'; import { Option_U128Z } from '../structs/Option_U128Z.mjs'; import { Responder } from '../structs/Responder.mjs'; +import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs'; +import { InboundChannelFunds } from '../structs/InboundChannelFunds.mjs'; import { ChannelParameters } from '../structs/ChannelParameters.mjs'; import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs'; import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs'; @@ -523,7 +538,6 @@ import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_Eve import { Result_NonceDecodeErrorZ } from '../structs/Result_NonceDecodeErrorZ.mjs'; import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs'; import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs'; -import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs'; import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs'; import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs'; import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs'; @@ -549,6 +563,19 @@ import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mj import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs'; import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs'; import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs'; +import { InitFeatures } from '../structs/InitFeatures.mjs'; +import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs'; +import { ChannelFeatures } from '../structs/ChannelFeatures.mjs'; +import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs'; +import { NodeFeatures } from '../structs/NodeFeatures.mjs'; +import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs'; +import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs'; +import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs'; +import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs'; +import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs'; +import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs'; +import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs'; +import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs'; import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs'; import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs'; import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs'; @@ -559,7 +586,6 @@ import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayD import { PaymentConstraints } from '../structs/PaymentConstraints.mjs'; import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs'; import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs'; -import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs'; import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs'; import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs'; import { Result_ResponderDecodeErrorZ } from '../structs/Result_ResponderDecodeErrorZ.mjs'; @@ -575,8 +601,6 @@ import { SendSuccess } from '../structs/SendSuccess.mjs'; import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs'; import { Result_NoneSendErrorZ } from '../structs/Result_NoneSendErrorZ.mjs'; import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs'; -import { SignOrCreationError } from '../structs/SignOrCreationError.mjs'; -import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs'; import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs'; import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs'; import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs'; @@ -612,6 +636,9 @@ import { Result_BlindedMessagePathDecodeErrorZ } from '../structs/Result_Blinded import { Result_BlindedMessagePathNoneZ } from '../structs/Result_BlindedMessagePathNoneZ.mjs'; import { Result_MessageContextDecodeErrorZ } from '../structs/Result_MessageContextDecodeErrorZ.mjs'; import { Result_OffersContextDecodeErrorZ } from '../structs/Result_OffersContextDecodeErrorZ.mjs'; +import { Result_AsyncPaymentsContextDecodeErrorZ } from '../structs/Result_AsyncPaymentsContextDecodeErrorZ.mjs'; +import { Result_DNSResolverContextDecodeErrorZ } from '../structs/Result_DNSResolverContextDecodeErrorZ.mjs'; +import { MigratableKVStore, MigratableKVStoreInterface } from '../structs/MigratableKVStore.mjs'; import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs'; import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs'; import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs'; @@ -638,15 +665,20 @@ import { UserConfig } from '../structs/UserConfig.mjs'; import { ChainMonitor } from '../structs/ChainMonitor.mjs'; import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs'; import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs'; +import { Verification, VerificationInterface } from '../structs/Verification.mjs'; +import { UnauthenticatedReceiveTlvs } from '../structs/UnauthenticatedReceiveTlvs.mjs'; import { FailureCode } from '../structs/FailureCode.mjs'; import { ChainParameters } from '../structs/ChainParameters.mjs'; +import { Bolt11InvoiceParameters } from '../structs/Bolt11InvoiceParameters.mjs'; +import { Sha256 } from '../structs/Sha256.mjs'; +import { Bolt11InvoiceDescription } from '../structs/Bolt11InvoiceDescription.mjs'; import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs'; import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs'; import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs'; import { AsyncPaymentsMessageHandler, AsyncPaymentsMessageHandlerInterface } from '../structs/AsyncPaymentsMessageHandler.mjs'; +import { DNSResolverMessageHandler, DNSResolverMessageHandlerInterface } from '../structs/DNSResolverMessageHandler.mjs'; import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs'; import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs'; -import { ExpandedKey } from '../structs/ExpandedKey.mjs'; import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs'; import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs'; import { Packet } from '../structs/Packet.mjs'; @@ -662,8 +694,6 @@ import { MessageHandler } from '../structs/MessageHandler.mjs'; import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs'; import { PeerManager } from '../structs/PeerManager.mjs'; import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs'; -import { Sha256 } from '../structs/Sha256.mjs'; -import { Bolt12PaymentError } from '../structs/Bolt12PaymentError.mjs'; import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs'; import { PrintableString } from '../structs/PrintableString.mjs'; import { OfferFeatures } from '../structs/OfferFeatures.mjs'; @@ -671,6 +701,7 @@ import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/Si import { TaggedHash } from '../structs/TaggedHash.mjs'; import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs'; import { ErroneousField } from '../structs/ErroneousField.mjs'; +import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs'; import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs'; import { SignError } from '../structs/SignError.mjs'; import { P2PGossipSync } from '../structs/P2PGossipSync.mjs'; @@ -688,6 +719,7 @@ import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticSco import { KeysManager } from '../structs/KeysManager.mjs'; import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs'; import { RandomBytes } from '../structs/RandomBytes.mjs'; +import { OMNameResolver } from '../structs/OMNameResolver.mjs'; import { OnionMessenger } from '../structs/OnionMessenger.mjs'; import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs'; import { IntroductionNode } from '../structs/IntroductionNode.mjs'; -- 2.39.5